Operating System - HP-UX
1832984 Members
2718 Online
110048 Solutions
New Discussion

trying to setup a Zebra 320QL printer from HPUX 11i

 
Jamal Asi
Advisor

trying to setup a Zebra 320QL printer from HPUX 11i

I'm trying to print to a Zebra 320 QL printer. Has anybody done this? How did you setup the printer on the HPUX 11i? Any info is highly appreciated.
15 REPLIES 15
Paul Sperry
Honored Contributor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

Jamal

I had several networked Zebra printers set up on HPUX 11i. I used Hp's JetDirect Printer Installer (freely downloadable at hp.com).

I used the dumbplot model script for the printers. These printers were in a production enviroment and I never had a problem with them.
Jamal Asi
Advisor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

Isn't that sinmilar to hppi? I tried using hppi, but nothing printed!!!
Paul Sperry
Honored Contributor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

yes hppi and JetDirect are the same. Can you ping the printer. If not add the printer in your /etc/hiosts file. Then try printing again.
Paul Sperry
Honored Contributor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

thats /etc/hosts file
Jamal Asi
Advisor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

I have it in my /etc/hosts and I can ping it. I have configured it using hppi, but when I try to print to it, the request stays in the queue. It does not print! If I try to tolnet to the printer, I get:
telnet zebra
Trying...
Connected to zebra.
Escape character is '^]'.
Local flow control off


Paul Sperry
Honored Contributor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

have you tried restarting the spooler

lpshut
lpsched
Jamal Asi
Advisor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

Paul,
I have tried lpshut/lpsched, disable,enable and reject/accept, but nothing happens.
Paul Sperry
Honored Contributor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

when you set up the printer in hppi did you choose

dumbplot model script for printer

for the supported printer types
Jamal Asi
Advisor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

I just tried configuring it again using the dumbplot model script for printer, and it is still not printing! I should have added that this is a wireless printer, but as long as I can ping it, it really shouldn't matter!
Paul Sperry
Honored Contributor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

Also are you up on patches, PHCO_33401 in particular. (be sure to do a lpshut before installing this patch. This patch does not require a re-boot.)
Jamal Asi
Advisor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

I checked, and I have that installed.
Bill Hassell
Honored Contributor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

Bypass the spooler and use hpnpadmin and hpnpf. hpnpadmin is the status checker, use it like this:

hpnpadmin -v 12.34.56.78

Note: you can use either IP or hostname for setting up a network printer--I prefer IP address since getting printers into DNS can sometimes get too political. If hpnpadmin shows good stats, print a file with hpnpf (that's how the spooler does it):

hpnpf -N -x 12.34.56.78 /etc/hosts

If that works, the spooler is having problems, almost always due to changed permissions.


Bill Hassell, sysadmin
Jamal Asi
Advisor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

Bill,
This is what I got:

hpnpadmin -v 10.98.4.243
*** Receive NO snmp response!
*** (printer down, cable off, or wrong Get community name?)


I can ping the printer. SNMP is showing "on"
on the printer configuration menu!
Bill Hassell
Honored Contributor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

The response indicates that the LAN card is not an HP JetDirect card, or the card is located on another subnet where the connecting router does not allow port 9100 (and others) needed for JetDirect protocol. Use the same command (hpnpadmin) to point to an HP printer with a JetDirect card to see the normal output.


Bill Hassell, sysadmin
clive musgrove_2
Occasional Advisor

Re: trying to setup a Zebra 320QL printer from HPUX 11i

I know this thread is quite old but I think I know the problem. Zebra printers use ZPL, and each print request needs to be fully formed with ZPL start(^XA) and end (^XZ) control characters, otherwise the printer will discard the print request.
Use the following to set up the printer:
lpadmin -v/dev/null -mrmodel -p -orm -orp -ob3 where is the name of the printer and is in the /etc/hosts file.
accept and enable the printer.
Try printing something to it (lp -d /etc/hosts.
Does the data light flash ?
If so it is working.
If you want to actually print something put the following (from ^XA to ^XZ) into a file and print it instead of /etc/hosts (include the control characters):

^XA^PRE^LH10,10^FO25,25^GB780,780,5,B^FS^FO305,40^GB215,750,5,B^FS^CF0,30,30^FWR^FO755,50^FDTag ID:^FS^FO555,60^BY4,2.0,^B3R,N,200,N^FD111^FS^CF0,30,30^FWR^FO520,50^FD111^FS^CF0,30,30^FWR^FO470,50^FDSuggested Zone:^FS^CF0,30,30^FWR^FO470,300^FDAZNE^FS^CF0,30,30^FWR^FO430,50^FDQty:^FS^CF0,30,30^FWR^FO430,300^FD100.000000^FS^CF0,30,30^FWR^FO390,50^FDExpiry Date:^FS^CF0,30,30^FWR^FO390,300^FD12/AUG/2000^FS^CF0,30,30^FWR^FO350,50^FDReceipt Date:^FS^CF0,30,30^FWR^FO350,300^FD01/AUG/2000^FS^CF0,30,30^FWR^FO310,50^FDBatch ID:^FS^CF0,30,30^FWR^FO310,300^FD^FS^CF0,30,30^FWR^FO270,50^FDSKU ID:^FS^FO70,50^BY3,2.0,^B3R,N,200,N^FDASKU001^FS^CF0,30,30^FWR^FO35,50^FDASKU001^FS^XZ