Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emulate Zebra printer [duplicate]

Possible Duplicate:
Print preview ZPL II commands using .NET WinForm before sending it to Zebra printer

I am working on a Java app that prints tickets to a Zebra printer.

The problem is that I am working remotely and don't have access to the Zebra printer (or any other printer actually).

I would like to know if there is a way to emulate the Zebra printer so that I can visualize the result of the print jobs generated by my app (to PDF, bitmap image etc.).

As I understand (I am fairly new to this) Zebra printers use ZPL commands.

Is there any software printer emulator for Windows (7) that accepts ZPL commands and outputs PDF/bitmap/... ?

like image 915
Pierre Henry Avatar asked Dec 16 '11 21:12

Pierre Henry


People also ask

How do I print a .ZPL file?

After downloading, open Zdesigner software and click on the Open Communication with Printer button. Click the Open File icon and select a ZPL label file from your computer. Click the Send to Printer button.


3 Answers

Take a look at ZPLViewer - it works relatively well for rendering simple ZPL code but seems to fail on anything complex.

Best bet is just to purchase a printer. You can get a ZP-450 for $200. Get one with Ethernet ($100 more) and you can use the printer admin page to upload ZPL and render on-screen so you don't have to spew labels.

like image 54
andyknas Avatar answered Sep 19 '22 13:09

andyknas


Here is a link to software that Zebra created: ZebraDesigner. It does not actually visualize ZPL or take ZPL as input. But it can help you design your ticket and then export it to ZPL for further processing.

like image 33
Ethan Avatar answered Sep 18 '22 13:09

Ethan


I wrote https://github.com/dpavlin/Printer-Zebra a few days ago which converts ZPL ~DG (download graphics) commands and converts it back to PBM image file.

This is not full ZPL interpreter (since it only implements one command :-) but does work for cups generated ZPL files which is handy to find out if your printer output includes anti-aliased barcodes which are always bad...

like image 23
dpavlin Avatar answered Sep 19 '22 13:09

dpavlin