Operating System - HP-UX
1833777 Members
1985 Online
110063 Solutions
New Discussion

setting up a remote printer via SAM

 
SOLVED
Go to solution
Gabe_5
New Member

setting up a remote printer via SAM

I am running HPUX 11.00. When I go to add a new remote printer via SAM I get the following message. The printer already exists on this system. The lpmgr command exist with a value of 5 according to the SAMlog file. The remote printer can be added successfully via the lpadmin command. I could find no patches specific to version 11.00 that address this. Has anyone run into this situation in the past? Thanks.
Gabe
4 REPLIES 4
doug mielke
Respected Contributor

Re: setting up a remote printer via SAM

Sometimes a printer is incompletely configuered or removed, leaving entries for that printer name in the lp spool diretories.

If you do a find for that printer name after the SAM failure, you would likely find them.

Also, lpadmin -xprintername usually does a good job of getting rid of the associated files, if system lets you run it on that printername.
Elena Leontieva
Esteemed Contributor
Solution

Re: setting up a remote printer via SAM

Gerard Leclercq
Trusted Contributor

Re: setting up a remote printer via SAM

There is a mistyping in the script /usr/sam/lbin/lpmgr :
In the function does_printer_exist, replace
if lpstat $1 | grep $1 > /dev/null 2>&1
by
if lpstat -t | grep $1 > /dev/null 2>&1

Gerard
D.Blond
Frequent Advisor

Re: setting up a remote printer via SAM

Gabe,
Problème with HPDPS :

#/sbin/init.d/pd stop

#cd /etc/rc.config.d
#vi pd
PD_CLIENT=0

#cd /var/opt/pd
#mv pdclientd pdclientd_save
Cood luck ...........
D.Blond