Operating System - HP-UX
1752753 Members
4711 Online
108789 Solutions
New Discussion юеВ

Unable to accept a printer

 
RAJESH GANGADHARAN
Regular Advisor

Unable to accept a printer

I am facing a problem while crating a printer,
I had crated a printer but when I am checking the status it gives the printer is not accepting and it is disabled , when I am trying to enable the printer it gives an error as follows

#accept lp_lj
accept: destination "lp_lj" non-existent

#enable lp_lj
enable: printer "lp_lj" non-existent

Can any one suggest a solution for this

Thanks in Adv.

-Rajesh


Let the choices you make today be the choices you can live with tomorrow.
4 REPLIES 4
Michael Duthie
Trusted Contributor

Re: Unable to accept a printer

Are you sure you have the correct printer name? check with lpstat -t.

It may be lp_lj_1
Steve Steel
Honored Contributor

Re: Unable to accept a printer

Hi

Seems the create went wrong.

Probably pstatus or qstatus is corrupt.

Use lpadmin -xprintername

To remove the printer and make it again

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Steve Steel
Honored Contributor

Re: Unable to accept a printer

Hi

Otherwise

ll /var/spool/lp/request

Does the file exist for this printer.

Is it owned by lp

If not there

cp -p -r existing_directory new_directory


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

Re: Unable to accept a printer

Hi Steve
Thanks for the reply

I removed all the printers, and reconfigured the printer(network printer) using jetadmin, but still the same problw is occuring.

here is the o/p
root@tbau02:>lpsched

scheduler is running

root@tbau02:>lpstat -t

scheduler is running

no system default destination

device for tower6a1: /dev/null

tower6a1 not accepting requests since Feb 17 15:50 -

new destination

printer tower6a1 is idle. enabled since Feb 17 15:50

fence priority : 0

no entries

root@tbau02:>accept tower6a1

accept: destination "tower6a1" non-existent

and there is a problem with scheduler also, if you are giving lpshut it says scheduler is not running but still the process lpsched will be running so I need to kill this process and delete the LOCK and FIFO files in /var/spool/lp

lpspooler patch which we got is PHCO_24700.

pls suggest a solution for this problem.
Let the choices you make today be the choices you can live with tomorrow.