VB PrintDocument and Portable Receipt Printer : need help, please ...

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi there everybody.
Ive got problems with VB NET PrintDocument and a portable receipt printer.
This is the printer Im using :
ZEBRA MZ 220 : a portable receipt bluetooth printer.
http://www.zebra.com/us/en/products-services/printers/printer-type/mobile/mz-series.html
Printing is fine with simple PrintDocument Text commands like DrawString().

The problems come out with "graphical" commands, like .DrawLine().
If I put just one .DrawLine() command in the PrintPage() Event routine, the printer simply doesnt print anything. The documents paper comes out blank. Nothing is printed, neither the strings.
I need to use a PrintDocument object, and to put some simple black-white graphics on the receipts. I know it is possible with my printer because Ive got some test receipts from it, printed from another application ( developed in other language... not .NET ) , and they have black-white logos and barcodes on.

This is the first time I use PrintDocument with this kind of portable printers.
Many thanks to everyone able to suggest good solutions ...

View the full article
 
Back
Top