Home » Developer & Programmer » Forms » HOST COMMAND (D2K6I ON WINDOWS XP PROFESSIONAL)
HOST COMMAND [message #408124] Sun, 14 June 2009 08:33 Go to next message
Messages: 3
Registered: April 2005
Location: Dubai
Junior Member

I have developed a retail software in developer 2000 6i and using COM1 and COM2 ports for receipt printing and Pole display.
I am seding command to com ports using HOST command. Example:
comm := 'echo '||chr(31)||chr(17)||'xxxxxxxxxxx'||' > com2';

This is working in windows98 perfectly but on windows Xp it is not printing. It is going to command prompt and saying Write Fault error writing to COM1.

Have any one got this error or have any solution please help me.

Re: HOST COMMAND [message #408164 is a reply to message #408124] Mon, 15 June 2009 00:17 Go to previous message
Messages: 20847
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Did you ask for help on one of MS Windows forums? To me, it seems to be more Windows than Forms problem (but I might be wrong).
Previous Topic: Cursor
Next Topic: webutil doesn't works on pc 3
Goto Forum:

Current Time: Fri Oct 28 03:47:38 CDT 2016

Total time taken to generate the page: 0.14808 seconds