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
JBM2015Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hdhondtCommented:
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!
0
JBM2015Author Commented:
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
0
hdhondtCommented:
These are ZPL Viewers. They attempt to show what the output of your code will look like on a real printer. I do not know your code, but somehow it will have to end up sending ZPL commands to a printer - or a viewer.

As for doing your own testing: as I have not used them I do not know how good they are. As I pointed out, the reviews do not look that good. Among other things, they may have problems with barcodes. However, they should be good enough to let you check at least the main layout of the label. Beyond that, you are on your own.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.