I've recently received a Z6Mplus.
I try to print on it, with java, but it does not work. I have no driver for linux and I can not comm. through minicom.
Can you give me some information about how you managed to use Zebra priner under linux?
Thanks in advance
I try to print on it, with java, but it does not work. I have no driver for linux and I can not comm. through minicom.
Can you give me some information about how you managed to use Zebra priner under linux?
Thanks in advance
I simply wrote a small C program that formatted data in the Zebra
"language". It uses lots of weird tokens to set things up, select
type of barcode, etc. But once you get this figured out, you simply
bracket the data with this stuff and you're done. I'm not sure this
consititutes a driver as it runs in userland and is Bonehead C (tm.)
But you can't simply send it numbers, it doesn't know what you want
done with them. Buy, beg, borrow or steal a Zebra manual and all is
somewhat cryptically revealed.
Regards
cww
"language". It uses lots of weird tokens to set things up, select
type of barcode, etc. But once you get this figured out, you simply
bracket the data with this stuff and you're done. I'm not sure this
consititutes a driver as it runs in userland and is Bonehead C (tm.)
But you can't simply send it numbers, it doesn't know what you want
done with them. Buy, beg, borrow or steal a Zebra manual and all is
somewhat cryptically revealed.
Regards
cww
Have you tried Kbarcode label design software? I believe this program has Zebra support now.
I'm not familiar with a Z6Mplus, but you don't typically use a printer "driver" to talk to a ZPL printer. The printer requires a series of ASCII commands in the ZPL printer language. Label design software can create these
commands for you, or you can create these manually if you don't mind a bit of work with the manuals. For test purposes, it is best to create a simple text file and send this to the printer repeatedly.
To print, you want to print as a simple ASCII plain text printer. I don't know what sort of connection you are using. If you are using a parallel printer port, make sure you don't already have the port configured for some other
type of printer (e.g an ink jet). Make sure that you have permission to access whatever port it is you are using. If you are using a serial port, make sure that the port parameters match those for the printer.
The above is true regardless of the operating system you happen to be using.
--
************************
Michael Griffin
London, Ont. Canada
************************
I'm not familiar with a Z6Mplus, but you don't typically use a printer "driver" to talk to a ZPL printer. The printer requires a series of ASCII commands in the ZPL printer language. Label design software can create these
commands for you, or you can create these manually if you don't mind a bit of work with the manuals. For test purposes, it is best to create a simple text file and send this to the printer repeatedly.
To print, you want to print as a simple ASCII plain text printer. I don't know what sort of connection you are using. If you are using a parallel printer port, make sure you don't already have the port configured for some other
type of printer (e.g an ink jet). Make sure that you have permission to access whatever port it is you are using. If you are using a serial port, make sure that the port parameters match those for the printer.
The above is true regardless of the operating system you happen to be using.
--
************************
Michael Griffin
London, Ont. Canada
************************
Setting up Remote Printers on LINUX OS:
Setting up the client to print to the print server's lp queues involves configuring the etc/printcap file on the client machines to point to the print server.
The easiest way to generate the printcap file is by using the printtool.
This is what the dialog entries should look like in printtool for the remote printer:
Names: lp0
Spool Directory: /var/spool/lpd/lp0
File limit in Kb: use default value of (0)
Remote Host: enter the IP address of the print server(10.0.0.200)
(You can obtain this information by printing the print
server's configuration file)
Remote Queue: /var/spool/lpd/lp0
Input Filter Select: *auto *- TextPrinter
Suppress Headers: enabled
If you have a local printer connected also, the printtool entry should look like this:
Names: lp1
Spool Directory: /var/spool/lpd/lp1
File Limit in Kb: use default value of (0)
Printer Device: /dev/lp0
Input Filter Select: *auto* - TextPrinter
Suppress Headers: enabled
After all this is configured, using a text editor, put your printer in "dump mode" and send the
printtool's test page (ASCII) to a printer. You should have a printout!
Create a file using either programming languages (EPL or ZPL) and send the file to the printer.
Select file "Print" and enter the following command in the dialog box:
lpr -Plp0 (or -Plp1) %s (depending on which printer you want to send your printout to).
Sometimes a job will get hung and either the lpd deamon or the spooler will need to be reset.
To restart lpd use the command:
/etc/rc.d/init.d/lpd restart
To restart the spooler you can run the command:
lpc up all
To check the status of a print job, use:
lpc status
lpq -Plp0 (or -Plp1)
Setting up the client to print to the print server's lp queues involves configuring the etc/printcap file on the client machines to point to the print server.
The easiest way to generate the printcap file is by using the printtool.
This is what the dialog entries should look like in printtool for the remote printer:
Names: lp0
Spool Directory: /var/spool/lpd/lp0
File limit in Kb: use default value of (0)
Remote Host: enter the IP address of the print server(10.0.0.200)
(You can obtain this information by printing the print
server's configuration file)
Remote Queue: /var/spool/lpd/lp0
Input Filter Select: *auto *- TextPrinter
Suppress Headers: enabled
If you have a local printer connected also, the printtool entry should look like this:
Names: lp1
Spool Directory: /var/spool/lpd/lp1
File Limit in Kb: use default value of (0)
Printer Device: /dev/lp0
Input Filter Select: *auto* - TextPrinter
Suppress Headers: enabled
After all this is configured, using a text editor, put your printer in "dump mode" and send the
printtool's test page (ASCII) to a printer. You should have a printout!
Create a file using either programming languages (EPL or ZPL) and send the file to the printer.
Select file "Print" and enter the following command in the dialog box:
lpr -Plp0 (or -Plp1) %s (depending on which printer you want to send your printout to).
Sometimes a job will get hung and either the lpd deamon or the spooler will need to be reset.
To restart lpd use the command:
/etc/rc.d/init.d/lpd restart
To restart the spooler you can run the command:
lpc up all
To check the status of a print job, use:
lpc status
lpq -Plp0 (or -Plp1)
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2010 Nerds in Control, LLC. All rights reserved.
Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.
Fortune
"Life is like a bowl of soup with hairs floating on it. You have to
eat it nevertheless."
-- Flaubert







