1829144 Members
2033 Online
109986 Solutions
New Discussion

HELP!!

 
Julie Lee
New Member

HELP!!

Please bear with me as I am no expert at any of this...

We experienced a power outage. We have a HP9000 running HP-UX and a HP 1100 line printer attached locally. WHen people want to print a report, they print to the HP9000 and get their reports. Now it says that there is no print queue. So I guess my question is how do you set up the print queue back up? or is there a way to recover it? Any help will be appreciated! Thanks!
8 REPLIES 8
H.Merijn Brand (procura
Honored Contributor

Re: HELP!!

You need at least say what type of print queue you use

lpd
lp
DistributedPrint


when you are using lp, you can find the interfaces in /etc/lp/interface (when you are using a for of jetdirect, its under /etc.lp.interface/model.orig)

These interfaces are simple shell scripts. In there you can catch the files being printed and copy them to a backup location

Just one way of doing it
Enjoy, Have FUN! H.Merijn
Julie Lee
New Member

Re: HELP!!

Sorry.. LP.
Sachin Patel
Honored Contributor

Re: HELP!!

Hi Julie,

first find out device file for printer that you have attached on your system
Something like

# ioscan -fun | grep lp
ext_bus 7 10/4/9 lpr2 CLAIMED INTERFACE HP 28655A - Parallel Interface
/dev/c7t0d0_lp /dev/diag/c7t0d0_lp
/dev/c11t0d0_lp
ext_bus 14 10/16/17 lpr2 CLAIMED INTERFACE HP 28655A - Parallel Interface
/dev/c14t0d0_lp /dev/diag/c14t0d0_lp

Now start sam and setup
sam -> printers plotters -> LP spooler -> printers and plotters
Then use tab key to go to menu actions -> add local printer

Say I have setup printer lb on /dev/c11t0d0_lp
#lpstat -t
device for lb: /dev/c11t0d0_lp

Sachin
Is photography a hobby or another way to spend $
Julie Lee
New Member

Re: HELP!!

Thanks for your help.

So now we can see the print queue, but it has no status. There is no disable/enable.. nothing.. just blank. How can we get this queue back up and running?? We don't want to delete it, as there are print jobs in there. Any ideas?

Thanks!
PIYUSH D. PATEL
Honored Contributor

Re: HELP!!

Hi,
from command line

#enable printername

#accept printername ( starts accepting print requests)

Piyush
Julie Lee
New Member

Re: HELP!!

When we try enabling the queue that way, we get a response that says that the specified queue has disappeared. If we do an accept the queue, it says destination queue was already accepting requests.

The queue is already set up, but for some reason we've lost the connection to the printer?? We need to re-establish this link somehow??
MANOJ SRIVASTAVA
Honored Contributor

Re: HELP!!

Hi Julie

Is it attached to a serial port or a parallel pot , can you post a o/p of the lsptat -t.
Also try this

1.lpshut
2.cd/usr/spool/lp
3.rm FIFO , SCHDLCK
4.lpsched

still if u ahve problems then you amy have to recreate the printer .

Did u try ercycling the power on the printer.


Manoj Srivastava
Julie Lee
New Member

Re: HELP!!

serial port

I'll try that thanks!