Operating System - HP-UX
1837788 Members
3743 Online
110120 Solutions
New Discussion

Re: Print jobs not printing.

 
Jagadesh_2
Regular Advisor

Print jobs not printing.

Dear All,
I had created a print queue 6601 on remote printserver 6601-JET-laser yesterday.

When i see the status using lpstat -t, iam getting "unknown host 0655-JET-laser" at the bottom of lpstat output.

root # lpstat -t |grep 6601
device for 6601: /dev/null
6601 accepting requests since Jun 17 16:33
printer 6601 is idle. enabled since Mar 15 15:38
unknown host 0655-JET-laser

All the print jobs which i fire are in printing state but the actual printing is not happening. Kindly let me know what is the problem behind this and how to resolve the same.

Thanks in advance
Jagadesh.S
5 REPLIES 5
RAC_1
Honored Contributor

Re: Print jobs not printing.

How this printer is configured?? As a JetDirect printer, as a network printer, as a remote printer??
There is no substitute to HARDWORK
Robert-Jan Goossens
Honored Contributor

Re: Print jobs not printing.

did you add the host to the /etc/hosts file ?

Robert-Jan
Jagadesh_2
Regular Advisor

Re: Print jobs not printing.

It is configured as a Jetdirect printer. I had added the same in /etc/hosts file too.

I used
addqueue -i -h printerservername -q queuename.

I dont understand why it is searching for another printerserver (0655-JET-laser).

# lpstat -t |grep 6601
device for 6601: /dev/null
6601 accepting requests since Jun 17 16:33
printer 6601 is idle. enabled since Mar 15 15:38
unknown host 0655-JET-laser
Steve Steel
Honored Contributor

Re: Print jobs not printing.

Hi


Could be a permission problem
/etc/hosts : 444
/tmp : 777


If they exist

/etc/resolv.conf : 444
/etc/nsswitch.conf 644 or 444

If still a problem try

lpadmin -x0655-JET-laser


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Doug_85
Regular Advisor

Re: Print jobs not printing.

Follow these steps.

NOTE: I currently have over 30 printers using JetDirect cards most are configured to print directly to the NIC on the printer. The only exceptions are my line printers which have a queue on my printer server for formatting purposes. Therfore these prints travel from my L2000 to the print queue on my printserver.

1. Print the configuration directly from the printer.
2. Check to see if you can print from printserver 6601-JET-laser to the printer.
"If you can print from the printserver it's a problem with the unix side."
3. Share your printer on your print server and give it a name "6601".
4. Delete your old printer from unix and recreate it using sam. Configure printer as remote and name it the same thing as your printer share on the printserver. Or if you want to print directly to the JetDirect just use the ip address for the remote printer. Place the same name "6601" where it says printer name and remote printer name.

5. After creating the printer in sam, due an lpstat 6601 to ensure the queue is working.

6. Change directory to /etc/lp/interface/ and pg your printer 6601. Ensure the ip address for the printer is in here. If not vi your printer 6601 and put the ip address of the printer in this location.

# xPORT, PERIPH, TEOJ are all configurable
xPORT=
PERIPH=192.168.1.2
DEVTYPE="PJL"
TEOJ=""
STATUSLOG=""
HPNPFOPT=
TOJMON=""
ONUSTATUS=""

7. If you were not able to print from the printserver to the printer check which gateway the printer is using and ensure it has the proper ip address according to which vlan it belongs to. Also, verify the ip address that is currently assigned to the printer that it is also in the correct vlan.

8. You may want to use a new printer scheme that has more meaning to your users. Example my users in HRO print to a printer named hro. It makes it easy for the users and easy to troubleshoot when a section is having a problem.

Regards,
Doug