Operating System - HP-UX
1845812 Members
4243 Online
110250 Solutions
New Discussion

Printer alias name problem !!!

 
SOLVED
Go to solution
kpatel786
Frequent Advisor

Printer alias name problem !!!

Hi I am trying to add a remote printer on one of my boxes.
I want to give the alias name as print1.kamkk.branches

I am using the below command for the same:
/usr/sbin/lpadmin -pprint1.kamkk.branches -ormuwpsrv28 -orpprint1.kamkk.branches -mrmodel -v/dev/null -orc -ob3 -ocmrcmodel -osmrsmodel

and I get the error as illegal destination name.

I have tried using SAM, but it is the same.

kindly provide your inputs.
4 REPLIES 4
TTr
Honored Contributor
Solution

Re: Printer alias name problem !!!

From "man lpadmin": Printer and class names must not exceed 14 characters and must consist entirely of the characters A-Z, a-z, 0-9 and _ (underscore).
Ganesan R
Honored Contributor

Re: Printer alias name problem !!!

Hi,

I believe the local printer name should be maximum of 14 characters and should not contain any special characters other than underscore.

Then the remote print server "uwpsrv28" is able to name resolve by local server. If not add the entry in /etc/hosts or DNS as applicable.

On my experience using SAM is best to add the remote printers. when you configure through SAM specify the ip of remote server.

Command syntax would be
# lpadmin -p$printer -orm -orp$printer -mrmodel -v/dev/null -ocmrcmodel â osmrsmodel

Best wishes,

Ganesh.
kpatel786
Frequent Advisor

Re: Printer alias name problem !!!

Thanks for your inputs.
kpatel786
Frequent Advisor

Re: Printer alias name problem !!!

Thanks