Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Direct To LPT1 using Win32API
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00121276
Message ID:
00121280
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform