1820879 Members
3719 Online
109628 Solutions
New Discussion юеВ

Re: Printing issue

 
Shibin_2
Honored Contributor

Printing issue

Hi

I have a major printing issue in one of my UNIX box, which is running the OS version 11.23 with hp printing s/w. None of the printers defined in this print queue is not printing at all (both network and remote ). I can see the status of these network printers using hpnpadmin command, all are online and ready to print. But the queued jobs are not printing. I have sent some test prints, it is not printing out. Cannot see any errors in the log files too.

Please help
Regards
Shibin
6 REPLIES 6
V. Nyga
Honored Contributor

Re: Printing issue

Hi,

can you telnet to the printer?

Volkmar
*** Say 'Thanks' with Kudos ***
Shibin_2
Honored Contributor

Re: Printing issue

I can telnet and I can do anything except printing.

see some examples.

root@htv81:(root)> hpnpadmin -sS dl_u61c_1
Printer State : ready to print


Control Panel : Ready
Line State : Online

root@nflhtv81:(root)> telnet dl_u61c_1
Trying...
Connected to dl_u61c_1
Escape character is '^]'.
Local flow control off
HP JetDirect

root@nflhtv81:(root)> lpstat -odl_u61c_1
dl_u61c_1-3258 root priority 0 Jul 15 17:11 on dl_u61c_1
copyright 1152 bytes


This is a test print I had sent, not coming out. I can see the status of this printer via web console too. Same issue goes to all printers defined in this server.
Regards
Shibin
Shibin_2
Honored Contributor

Re: Printing issue

hii..

I have tested some debugging option, both went through fine. But the normal lp printing is still stuck.

root@htv81:(root)> hpnpf -x dl_u61c_1 -s /var/tmp/hpnp.log -N /etc/copyright

root@htv81:(root)> ll /var/tmp/hpnp.log
-rw-r--r-- 1 root sys 309 Jul 15 18:07 /var/tmp/hpnp.log

root@htv81:(root)> cat /var/tmp/hpnp.log

Jul 15 18:07:16%%[ status: Job: ; User: ]%%
Jul 15 18:07:16%%[ status: making connection to dl_u61c_1; source: ethernet ]%%
Jul 15 18:07:16%%[ status: connected to dl_u61c_1; source: ethernet ]%%
Jul 15 18:07:16%%[ status: transmitting data ]%%
Jul 15 18:07:16%%[ status: finish sending print data ]%%

root@htv81:(root)> lpstat -odl_u61c_1
no entries





root@htv81:(root)> lp -ddl_u61c_1 -odebugm/var/tmp/debug.log /etc/copyright
request id is dl_u61c_1-3260 (1 file)

root@htv81:(root)> lpstat -odl_u61c_1
no entries



root@htv81:(root)> more /var/tmp/debug.log
^[%-12345X@PJL USTATUS PAGE = OFF
@PJL COMMENT **** Job (dl_u61c_1-3260) Profile ****
@PJL COMMENT Copies : 1
@PJL JOB NAME = "User: root; Job: dl_u61c_1-3260" START = 1
@PJL COMMENT Start Page : 1
@PJL COMMENT End Page : Last Page
@PJL SET COPIES = 1
@PJL COMMENT File: /etc/copyright
@PJL COMMENT ** LANGUAGE: PCL
@PJL COMMENT ** 1-up Text printing (adding one CR for each LF)

@PJL ENTER LANGUAGE=PCL
^[&k2G^[E^[%-12345X@PJL
@PJL RESET
@PJL EOJ NAME = "User: root; Job: dl_u61c_1-3260"
@PJL COMMENT End of Job




root@htv81:(root)> lp -ddl_u61c_1 /etc/copyright; lpstat -odl_u61c_1
request id is dl_u61c_1-3261 (1 file)
dl_u61c_1-3261 root priority 0 Jul 15 18:10
copyright 1152 bytes

root@htv81:(root)> lpstat -odl_u61c_1
dl_u61c_1-3261 root priority 0 Jul 15 18:10 on dl_u61c_1
copyright 1152 bytes
Regards
Shibin
V. Nyga
Honored Contributor

Re: Printing issue

Hi again,

>None of the printers defined in this print queue is not printing at all (both network and remote)

Remote will not work as you need a server where the printer is connected per network ..

V.
*** Say 'Thanks' with Kudos ***
Shibin_2
Honored Contributor

Re: Printing issue

Thanks but how abt the network printing issue? Debugging are working, but normal are not working. It looks weird.
Regards
Shibin
Shibin_2
Honored Contributor

Re: Printing issue

It looks like tmp folder in /opt/hpnpl was missing. When I created a tmp folder with 755 permission and lp:bin ownership, all printings are going through fine.
Regards
Shibin