Link to home
Start Free TrialLog in
Avatar of JBM2015
JBM2015

asked on

Emulator Print Driver to test Zebra labels from C# app

I need to test label formatting (getting the margins correct is my last issue) in my test environment, but I do not have this model printer.

I'm hoping there is a print driver that will allow me to view the labels, similar to setting PDFCreator as my selected printer to view output without going to a printer.

Here's my code to print:

CrystalDecisions.CrystalReports.Engine.ReportDocument

rptAnalyse theReport = new rptAnalyse();
theReport.Database.Tables[0].SetDataSource((DataTable)_labelTable);
theReport.PrintOptions.PrinterName = _printerName;
theReport.PrintOptions.ApplyPageMargins(new CrystalDecisions.Shared.PageMargins(540, 720, 0, 0));


Printer Model:
Zebra ZDesigner ZT220-200dpi ZPL
Avatar of hdhondt
hdhondt
Flag of Australia image

There are ZPL file viewers available, for example:

http://sourceforge.net/projects/zplviewer/
http://www.softpedia.com/get/Programming/Other-Programming-Files/Zebra-ZPL-II-Utility.shtml

A Google search for "zpl file viewer" will show these and others. Note that I do not have any experience with any of them, and the user reviews don't look all that good. Do your own testing!
Avatar of JBM2015
JBM2015

ASKER

I was hoping to use my own code and not have to create ZPL commands.

I'm not sure what you mean by do my own testing.


Thanks
ASKER CERTIFIED SOLUTION
Avatar of hdhondt
hdhondt
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial