18614080b1da387134227e023f80a1d1cec561fe
[Printer-Zebra.git] / README
1 Zebra label printer ZPL interpreter and rasterizator
2
3
4 Convert pbm image file to ZPL:
5
6         pbm2ZPL.pl print.pnm > print.zpl
7
8 Convert ZPL back into pbm image:
9
10         ZPL2pbm.pl dump.zpl > dump.pbm
11
12
13
14 This is my attempt to document various quirks using Zebra printers
15 attached to Windows machines using USB:
16
17
18 Windows printer driver doesn't seem to support ZPL when shared over CIFS.
19
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.
22
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.
25
26 Install "zpl" printer with Generic / Text driver on Windows:
27
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
36
37 Install lpd server on Windows:
38
39         Start > Control Panel
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
43
44         [ Restart Windows to complete install ]
45
46 Allow connections from local subnet to port 515:
47
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 ...
53
54 Enable lpd service:
55
56         Control Panel > Administrative Tools > Services >
57         TCP/IP Print Server > Startup type: Automatic > Apply >
58         Start > OK
59
60 Verify that lpd and firewall settings are correct:
61
62         dpavlin@t61p:~$ rlpq -H 10.60.1.30 -P zpl
63         rlpq: warning: cannot bind to privileged port: lpd may reject
64
65                 Windows XP LPD Server
66                 Printer \\10.60.1.30\zpl
67