About   -   Contact   -   Purchase   -   Search   -   What's New

Send Hex to a Printer
When dealing with specialized printers you quite often need to send hex codes to the printer to control it directly and bypass the printer driver. To send printer codes with PB you need to open a PrintJob then using the PrintText command you can send printer controls to the printer.
int li_job

li_job = PrintOpen()
// Print mode
PrintText( li_job, "~h1B~h21~001", 0, 0)
// Spacing
PrintText( li_job, "~h1B~h33~001", 0, 0)
PrintClose( li_job )


Top of Page

Legal Notice

Ken Howe 2011