Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with com port, FPD2.6 and XP Pro
Message
From
22/06/2004 12:54:31
Peter Heinicke
Precision Computer Methods Inc
West Chicago, Illinois, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problems with com port, FPD2.6 and XP Pro
Miscellaneous
Thread ID:
00916109
Message ID:
00916109
Views:
35
I have a FPD2.6 program which prints labels out to a dymo SE300 serial labelwriter. It uses a language called ZPL to communicate with this printer over the serial port. The program works fine from Windows 98, but when I try it in windows XP Pro, it hangs when the first character is sent out to the com port. The code fragment is

SET PRINTER OFF
SET PRINTER TO COM1,9600,N,8,1,S && Need for DOS
!MODE COM1 BAUD=9600 PARITY=N DATA=8 STOP=1 XON=ON
SET PRINTER ON

? "^027*^029t^040^029V1"



The stuff after the ? is ZPL. The progran hangs on the output to the com port with
"PRINTER NOT READY" retry or cancel.

I am stuck here. I know the cables and hardware and baud rates are correct because I can

COPY FILE.TXT COM1:

from a command window within XP Pro and it prints fine.
What is wrong/what would you suggest to make it work?

Thanks in advance
Peter Heinicke
Next
Reply
Map
View

Click here to load this message in the networking platform