Print Barcode Using .net Printing Class And Seagull Drivers
Hello,
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.
Thank you.
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.
Thank you.
0
-
Shotaro Ito
★ BarTender Hero ★
[quote name='DanB' timestamp='1333441153' post='2127']
Hello,
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.
[/quote]
Hi Dan,
As a Seagull Scientific's support, I strongly recommend to use BarTender Automation Edition for automated Barcode printing.
With BarTender and Seagull driver, you can use printer's barcode object.
By control BarTender from ActiveX COM or .net SDK, you can print barcode labels from your custom application.
See [url="http://www.seagullscientific.com/aspx/white-papers.aspx#tbl-WP_Cat_04_Integration"]White papers about integration[/url] for detail.
Please try with [url="http://www.seagullscientific.com/aspx/free-bar-code-label-printing-software-download.aspx"]BarTender trial edition[/url] - which allows full function of BarTender including automation features for 30 days.0
Please sign in to leave a comment.
Comments
1 comment