Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send characters to printer
Message
From
22/02/2005 13:05:18
 
 
To
All
General information
Forum:
Visual Basic
Category:
Access
Title:
Send characters to printer
Miscellaneous
Thread ID:
00989327
Message ID:
00989327
Views:
52
I'm creating an Access application which must send a character string directly to a label printer. I saw some sample VB code in the printer documentation to "Send RAW Data via a Windows Printer Driver" which includes functions like OpenPrinter*, StartPagePrinter, and WritePrinter, but I don't see how to make these work. Is it something that VB can do that VBA (Access) can't?
How can I do this from Access, please?

*sample code: "Private Declare Function OpenPrinter& Lib "winspool.drv" (ByVal pPrintername as string, phPrinter as long, ByVal pDefault as Long)
Reply
Map
View

Click here to load this message in the networking platform