Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing problem

Status
Not open for further replies.

goybs

Programmer
Mar 4, 2001
7
PH

I'm a newly hired DBA but unfortunately, my company
doesn't have a real HP-UX sys ad. Here's the problem
I'm asked to solve: All printing jobs are queued, not none
are actually printed.

lpstat result:

RPrinter-2193 root priority 0 Nov 14 16:48 on RPrinter
samECAa10554 177 bytes
RPrinter-2194 root priority 0 Nov 14 16:58
cprinters 85 bytes
RPrinter-2235 root priority 0 Nov 27 15:32
txt 5 bytes

lpstat -v result:

device for RPrinter: /dev/null
remote to: aux on dprinter

This is not a newly installed printer. There was no problem
a few weeks ago before I came but somehow someone must
accidentally changed the configuration. What should I do?
 
Is your print scheduler running?

What does lpstat -t say about the priner?
-Is it enabled and accepting requests?

Have you tried to stop and restart the printer service and the print again?
 
How do I stop and restart printer service?
I tried deleting all the queued print requests,
stopping the print spooler and disabling the
printer then starting and enabling them again.
But it still doesn't work.

lpstat -t result:

scheduler is running
system default destination: RPrinter
device for RPrinter: /dev/null
remote to: aux on dprinter
RPrinter accepting requests since Nov 28 09:51
printer RPrinter now sending RPrinter-2244 to dprinter. enabled since Nov 28 09
:51
fence priority : 0
RPrinter-2244 root priority 0 Nov 28 09:52 on RPrinter
txt 5 bytes
 
To stop the printer service:
lpshut
To start it again:
lpsched

with regards to the problem, from the output of your "lpstat -t" it show that "RPrinter" is actually a printer on another machine.
The other machine being "dprinter" and the printer on there being "aux"
I would check the print queue's on there, or network connectivity between the two machines

HTH.
 
Hi,

I think the easiest way for you to use SAM utility in HP-UX. Login as root user and enter the command "sam" at the shell prompt. Where you can see all the hp-ux system related options. select the printer and plotters option. After selecting you can see all the printers installed on your system. Just see the status of these printers there. Are they disabled? If yes then use the "Action" menu and just enable that printer. To activate the menu bar use the tab button on your keyboard. If this doesn't help then remove the particular printers by first selcting them and then reinstalled them. Hope it will work. Hanwant Verma
Software Engineer
London, UK
 
Even if it is enabled, still try this

disable RPrinter

enable RPrinter

I found, a printer needs this if someone turned it off/on
or disconnect/connect the network cable. It is not always
predictable.

 
also, try to ping the printer.

You should get a response like this

# ping RPrinter
PING RPrinter: 64 byte packets
64 bytes from 10.1.2.249: icmp_seq=0. time=5. ms
64 bytes from 10.1.2.249: icmp_seq=1. time=2. ms
64 bytes from 10.1.2.249: icmp_seq=2. time=2. ms

----RPrinter PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 2/3/5

<Ctl> <C> to stop the ping

If you get this
# ping RPrinter
PING RPrinter: 64 byte packets

----BAND3 PING Statistics----
3 packets transmitted, 0 packets received, 100% packet loss

It is not on the network, or has wrong IP address



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top