1846265 Members
5364 Online
110256 Solutions
New Discussion

Re: Remote Printer

 
Kenneth Yap
Frequent Advisor

Remote Printer

Dear Experts,
What are the related directory that allocated the remote printer configuration ?
I try to configure a test printer on remote but it's reply and error "test " already exits on this system..
How can I clear the configuration ? and make its clean.

Thks
3 REPLIES 3
Rajeev  Shukla
Honored Contributor

Re: Remote Printer

Have you fixed the bug in the script "/usr/sam/lbin/lpmgr"
To fix, replace this line:

if lpstat $1 > /dev/null 2>&1

with this line:

if lpstat -p$1 2>&1 |grep -v non-existant >/dev/null 2>&1

Also have a look at this thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=15748
Vijaya Kumar_3
Respected Contributor

Re: Remote Printer

You can remove a printer configuration using -x option to lpadmin command

-xdest
Removes destination dest from the LP system. If dest is a printer and is the only member of a class, the class is deleted, too. No other options are allowed
with -x.

Also, refer to "man lpadmin" for related fiiles and directories.

-Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Kenneth Yap
Frequent Advisor

Re: Remote Printer

I have change the script and run the lpadmin -x.
The error still the same.