Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set printer to command
Message
 
À
20/10/1997 13:50:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00055572
Message ID:
00055670
Vues:
35
>I have an old fox pro (dos) program that prints to two separate printers. During each data entry line information is printed to LPT1 then to LPT2,it is constant switching process. Under DOS I utilized the set printer to LPT1 or set printer to LPT2. These are not common printers. They are used for roll (similar to calulator tape) and slip (slide a document into printer and header is imprinted at the top). Under foxpro 2.x,3.0, and 5.0 for windows the "set printer to" commands is shipping some printer codes with this statement and causing one printer to print an extra line between print statements. It would appear to me that is windows that is causing the problem and not foxpro. Under windows the print commands are not written directly to the printer port, they are sent throught the windows software device driver. I am using the GENERICE windows print driver. Is their a way to bypass the windows printer software device driver or any other solutions?

Michael, if you are sending the printer codes yourself, be sure you preface each one with ??? (3 question marks). VFP will interpret this as a printer code and will bypass some of the Win95 interference.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform