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
sant_kh
Messages: 3
Registered: April 2005
Location: Dubai
Junior Member
Hi,
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';
Host(comm,no_screen);

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.

Regards,
Santhosh
Re: HOST COMMAND [message #408164 is a reply to message #408124] Mon, 15 June 2009 00:17 Go to previous message
Littlefoot
Messages: 21823
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: Thu Feb 06 23:16:43 CST 2025