Operating System - HP-UX
1826639 Members
3326 Online
109695 Solutions
New Discussion

Re: error creating printer through SAM

 
Tom Sepka
Advisor

error creating printer through SAM

I am trying to create a new remote print queue. I have verified through SAM that this does not exist, but I keep getting the following error:

The remote printer "test1 (whose location is shipping rsantos-pc.tellium.com)" already exists on this system.

Any ideas?

Thanks,
Tom
11 REPLIES 11
S.K. Chan
Honored Contributor

Re: error creating printer through SAM

Use command line to remove the printer.

# lpshut
# lpadmin -xtest1
# lpsched
Tom Sepka
Advisor

Re: error creating printer through SAM

I thought the same but the queue really doesn't exist.

# lpshut
scheduler stopped
# lpadmin -xtest1
lpadmin: destination "test1" non-existent
# lpsched
scheduler is running
Helen French
Honored Contributor

Re: error creating printer through SAM

hey,

See the configured printer listing in SAM and try removing from there.

Shiju
Life is a promise, fulfill it!
Tom Sepka
Advisor

Re: error creating printer through SAM

I am trying to add a new printer. This print queue does not exist that I can see. I have gone through the command line, SAM and /etc/lp and I cannot find any referance to this print queue.
Helen French
Honored Contributor

Re: error creating printer through SAM

hey,

does it work with any other name ? say -test2

just some thoughts ..

Shiju
Life is a promise, fulfill it!
Tom Sepka
Advisor

Re: error creating printer through SAM

I go the same error for test2 and a few other off the wall names.

The remote printer "test2 (whose location is shipping on rsantos-pc.tellium.com)" already exists on this system.
Deshpande Prashant
Honored Contributor

Re: error creating printer through SAM

Hi
Check /var/spool/lp/log file for errors.
Try strings on /var/spool/lp/pstatus for the printer queue name.

Stop scheduler (lpshut)
Make sure /var/spool/lp/FIFO and SCHEDLOCK are gone before restarting it.

Thanks.
Prashant.
Take it as it comes.
Helen French
Honored Contributor

Re: error creating printer through SAM

hey,

R u able to create a local printer with this name? Does the network has any issues?

Shiju
Life is a promise, fulfill it!
Tom Sepka
Advisor

Re: error creating printer through SAM

Yes I can create a local printer with the name test1.
S.K. Chan
Honored Contributor

Re: error creating printer through SAM

Try adding test1 using command line.

# /usr/sbin/lpadmin -p -v/dev/null -mrmodel -ocmrcmodel
-osmrsmodel -ob3 -orm -orp -v/dev/null

If this works then your SAM might have problem with managing printers. Let us know.

Helen French
Honored Contributor

Re: error creating printer through SAM

hey,

Does the printer properly configured on the remote system? Is it working properly there? Do you have any network issues connecting to the remote machine? Can you redirect some outputs/files to that pringter?

again some thoughts ...
Shiju
Life is a promise, fulfill it!