Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Direct To LPT1 using Win32API
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00121276
Message ID:
00121280
Vues:
16
>Hi all
>I need to print to the Printer on LPT directly by passing the Drivers. Is there any API function I could use to print directly to the LPT. I use MSCOMM for the Serial connections but i am lost regarding LPT.
>
>Thank You

You could setup a new Windows printer with the Generic / Text Only driver. This will allow you to send straight ASCII characters to LPT1:. I used this technique to interface with a Zebra bar code printer. I did a SET PRINTER to select it and used ? and ?? to send the data to the printer.
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform