General information
Title:
Send characters to printer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only