Print .lbl file from code.

Hi all,

Some background:

We have two Zebra ZP 505's provided to us by FedEx. But we want to use them to print labels for another need at our company. I have installed the ZebraDesigner (free version) and every time I try to print a sample label I get the totally helpful message: "'SAMPLE.LBL' not printed. Error encountered during print."  If I try to feed one label via the Tools->Printer Tools->Print->Feed One Label I get the following message "Call to Windows StartDocPrinter has failed!" My assumption is that the ZebraDesigner software read the printer as a GX 420d not a ZP 505 and is sending the wrong printer name to Windows.

We use Fedex and UPS apps but we are developing our own proprietary app (WPF/C#) to print labels for another need. What I would like to do is design the .lbl file, add the file to my project and print directly to the printer with the .lbl file - I wouldn't export (or preload) it to the printer (because the software can't access the printer - see above).

Are there any samples that would show how to do this?

Dmitry Prokhorov
Hello Ed,Zebra ZP505 is FedEx

Hello Ed,

Zebra ZP505 is FedEx branded printer. It is intended to work with FedEx software.

Unsure it could work with ZebraDesigner.

However in a following ZPL manual you can see ZPL commands that printer is able to understand:

https://www.zebra.com/content/dam/zebra/manuals/printers/common/programming/zpl-zbi2-pm-en.pdf

Dmitry Prokhorov

Software Engineer, Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Dmitry Prokhorov
Hello Ed,Would like to add

Hello Ed,

Would like to add two cents to be more precise. ZP505 is not just "intended to work" with FedEx software. Definitely it will work only with a FedEx software.

Dmitry Prokhorov

Software Engineer, Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments