Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing using vfp in NT giving problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00339663
Message ID:
00339730
Vues:
16
Hi
Why do you send a chr(17) in the end of your string?? This will have the printer waiting for an Escape sequence.
Also, try to use ??? to send stuff straight to the printer port.

HTH
Jaime
>Hi,
>
>My application require the use of Star Thermal receipt printer for
>printing. However, when I issue the command below, the printer
>does not print at all. I can see only the queue in the printer spooler. Next, NT4( with service pack 6a) will prompt of error writing to this device.
>
>" Error writing to LPT1: for Document Visual Foxpro: The device is not ready. Do you wish to retry or cancel the job".
>
>I am using the generic text printer driver that come with NT4 workstation.
>
>
>SET PRINTER TO LPT1
>SET DEVICE TO PRINTER
>SET PRINT ON
>
>?? 'Testing'+chr(27)
>
>SET PRINT OFF
>SET PRINTER TO
>
>Please advise me. Thank you
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform