Operating System - HP-UX
1847069 Members
5605 Online
110261 Solutions
New Discussion

Re: remote printers. errors

 
SOLVED
Go to solution
MRSG
Frequent Advisor

remote printers. errors

Hi.

when attempting to add a new remote printer through sam, I am told that:

"The remote printer "edin01 (whose location is LPT1_TEXT on edin01)" already exists on this server"

When we add a printer we give the following details:

printer name = printer name
remote system = printer_name
remote printer = LPT1_TEXT

However, this is the first time I've tried to add the remote printer. We've always added the printer this way, after adding it's IP adress and name to /etc/hosts.

Any idea why sam thinks it exists, but doesn't show it in the list?

Also when we do an lpstat of the printer - it shows:

lpstat: "edin01" not a request id or a destination.


Is their a max number of printers allowed?

Any help would be really apreciated.
5 REPLIES 5
Steve Steel
Honored Contributor

Re: remote printers. errors

Hi

It is registered somewhere

try

lpadmin -xedin01

Then readd


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
A. Clay Stephenson
Acclaimed Contributor

Re: remote printers. errors

This is not a figment of the systems imagination; the print queue already exists.

lpstat -v should display the printer name then do an lpadmin -xprintername to delete the guy.

If it ain't broke, I can fix that.
Sajid_1
Honored Contributor
Solution

Re: remote printers. errors

MRSG
Frequent Advisor

Re: remote printers. errors

lanadmin -xedin01 showed the queue as non-existent

In that case, why does SAM think it exists??!?!?
Cheryl Griffin
Honored Contributor

Re: remote printers. errors

Check permissions/owner/group.

# ll /var/spool/lp/request
Permissions should = 755
owner:group = lp:lp

To correct any missing or wrong:
# mkdir /var/spool/lp/request/printer_name
# ll /etc/lp/interface/printer_name
# touch /etc/lp/interface/printer_name # touch /etc/lp/member/printer_name

To correct perm/owner/group for all of the above, use:
# chown lp:lp *
# chmod 755 *

Cheryl
"Downtime is a Crime."