1752765 Members
4907 Online
108789 Solutions
New Discussion юеВ

Re: HPUX Printing

 
SOLVED
Go to solution
Brett Penza
Occasional Advisor

HPUX Printing

HPUX 11.0 K220
I'm having trouble with a printer in Unix. I call it Q40. We send reports there to be downloaded to the windows platform. Today, suddenly, anything sent there is disappearing (not showing up on my FTP software). When I do simple "lpstat Q40" I get an error:
"Q40" not a request id or a destination

I tried removing it in SAM, it stops and tells me it cannot remove Q40. I can enable and disable and I get no error msg. But I can't see the spool files. Can anyone help?
6 REPLIES 6
Bharat Katkar
Honored Contributor
Solution

Re: HPUX Printing

Hi ,
Try setting Q40 as default printer.
# lpadmin -d Q40

See if it works

OR

Rerun the lpscheduler.

Regards,
You need to know a lot to actually know how little you know
Keith Bevan_1
Trusted Contributor

Re: HPUX Printing

Brett,

Have you tried removing it from the command line using :-

lpadmin -xQ40
lpshut
lpsched

Then try and re-add the printer.

Keith
You are either part of the solution or part of the problem
Brett Penza
Occasional Advisor

Re: HPUX Printing

When I try these commands, it comes back
"destination "Q40" non-existent."

I'll keep playing with it. I wish I knew what happened.

The only thing I did do, was create a user id called "tfr" that is a member of the "lp" group. Would this have some effect on the printer ? If so, why wouldn't it affect all my printers.?
Very strange.
Manish Srivastava
Trusted Contributor

Re: HPUX Printing

Hi,

Just check whether /var/spool/lp/member/Q40
directory exists, if it present then remove it and then try to create the printer again.

manish
KapilRaj
Honored Contributor

Re: HPUX Printing

check the scheduler is running (lpstat -t), if not start it (lpsched)

if u r to delete the printer , remove it's entry from /etc/lp/member directory

Kaps
Nothing is impossible
Geoff Wild
Honored Contributor

Re: HPUX Printing

Try re-creating from the command line...

First, try to remove it:

lpshut
lpadmin -XQ40
don't forget to restart spooler:

lpsched -v

If the delete doesn't work, then:

cd /etc/lp/
ls -al */Q40

anything?

If yes, delete them manually.

Add the queue(i'm assuming jet direct attached):

/opt/hpnpl/bin/addqueue -i 9998 -h Q40.yourdomain.com -q Q40

Rgds....Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.