1 Zebra label printer ZPL interpreter and rasterizator
4 Convert pbm image file to ZPL:
6 pbm2ZPL.pl print.pnm > print.zpl
8 Convert ZPL back into pbm image:
10 ZPL2pbm.pl dump.zpl > dump.pbm
14 This is my attempt to document various quirks using Zebra printers
15 attached to Windows machines using USB:
18 Windows printer driver doesn't seem to support ZPL when shared over CIFS.
20 There is option to check pass-through, but then you have to wrap ZPL in
21 start/end markers which cups printer driver doesn't do.
23 Easier solution is to install port as Generic/Text printer under Windows
24 and share printer using lpd which is available in Windows XP and newer.
26 Install "zpl" printer with Generic / Text driver on Windows:
28 Start > Printers and Faxes
29 Add a printer > Next >
30 Local printer attached to this computer >
31 Use port: USB001 (Virtual printer port for USB) > Next >
32 Generic > Generic / Text Only > Next >
33 Printer name: zpl > default printer ? > No > Next >
34 Do not share this printer > Next >
35 Do you want to print a test page? > No > Next > Finish
37 Install lpd server on Windows:
40 Add or Remove programs > Add/Remove Windows Components >
41 Other Network File and Print Services > Details >
42 Print Services for Unix > OK > Next > Finish
44 [ Restart Windows to complete install ]
46 Allow connections from local subnet to port 515:
48 Network Connections > Local Area Connection > Properties >
49 Advanced - Windows Firewal > Settings >
50 Exceptions > File and Printer Sharing > Add Port >
51 Name: printer Port Number: 515 > TCP > Change scope >
52 Ny network (subnet) only > OK > OK > OK ...
56 Control Panel > Administrative Tools > Services >
57 TCP/IP Print Server > Startup type: Automatic > Apply >
60 Verify that lpd and firewall settings are correct:
62 dpavlin@t61p:~$ rlpq -H 10.60.1.30 -P zpl
63 rlpq: warning: cannot bind to privileged port: lpd may reject
66 Printer \\10.60.1.30\zpl