Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with com port, FPD2.6 and XP Pro
Message
De
22/06/2004 12:54:31
Peter Heinicke
Precision Computer Methods Inc
West Chicago, Illinois, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problems with com port, FPD2.6 and XP Pro
Divers
Thread ID:
00916109
Message ID:
00916109
Vues:
34
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform