Print Barcode Using .net Printing Class And Seagull Drivers Follow
I'm trying to build a .Net application for printing on a thermal printer (Zebra ZM600 - installed using Seagull Drivers) using GDI and System.Drawing.Printing class.
I want to print a barcode and I'm using a free 39 barcode font that I found on the internet and the method Graphics.DrawString using the barcode font as the font parameter in the method.
I've managed to print it to a file but after I've inspected the ZPL 2 code generated I realized that the driver interpreted the barcode as a graphic object (ZPL2: ~DGR -Download Graphics) and not as a barcode object(ZPL2: ^B3 - Barcode39).
I want to find out if there is a possibility, by using Graphics.DrawString(or other method) and System.Drawing.Printing class to build and send to the printer driver a document which contains a barcode, to obtain in the output ZPL2 commands the barcode as a ZPL2 barcode object and not as a graphic object.
Please sign in to leave a comment.