<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>29 Aug 2019 13:34:46 Z</lastBuildDate><pubDate>28 Aug 2019 17:29:08 Z</pubDate><description>Hello,&#13;
I have to send a command chain to the printer to clear the printer buffer.&#13;
Here is the script:&#13;
&#13;
	IF SocketConnect("PrinterEimer", 9100, "192.168.10.52") = True THEN&#13;
		SocketWrite("PrinterEimer", "&lt;STX&gt;041C1??&lt;CR&gt;" )&#13;
		SocketClose("PrinterEimer")&#13;
		Info("Stopsignal übertragen")&#13;
	END&#13;
&#13;
But unfortunately that does not work. &#13;
When I test the command: &lt;STX&gt;041C1??&lt;CR&gt; with Hercules terminal it works.&#13;
&#13;
What am I doing wrong?&#13;
Please help.&#13;
&#13;
Thank you for that.&#13;
&#13;
KR michael</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67224-sockertwrite/read.awp</link><title>SockertWrite</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>angeles.fuent.exp</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67224-sockertwrite-67227/read.awp</comments><pubDate>29 Aug 2019 13:34:46 Z</pubDate><description>Hi!&#13;
Check if the socked exists using&#13;
IF SocketExist("PrinterEimer") = False THEN&#13;
or block your code until&#13;
&#13;
WHILE SocketExis…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67224-sockertwrite-67227/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67224-sockertwrite-67227/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67224-sockertwrite/read.awp">SockertWrite</source><title>Re: SockertWrite</title></item></channel></rss>
