Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send characters to printer
Message
De
22/02/2005 13:05:18
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Access
Titre:
Send characters to printer
Divers
Thread ID:
00989327
Message ID:
00989327
Vues:
51
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)
Répondre
Fil
Voir

Click here to load this message in the networking platform