Operating System - HP-UX
1844097 Members
2249 Online
110227 Solutions
New Discussion

error printer non-existent

 
Ganaa
Occasional Advisor

error printer non-existent

Hi all,
i have problem in printer configuration,
first i want your help in defining the remote printer that i define it from sam->printer and plotter->lp spooler->printer and plotter
then action ,add remote printer and plotter,
when adding the printer it give me the folowing error "Lp destination "printer2" does not exist on stratus "and i continue and it appers on the system and then when i try to delete the printer it give me the same error.
i try to add another printer with the same name but give me the same error.
i try following

- # lpadmin -xprinter2
lpadmin: destination "printer2" non-existent


What should i do?

Regards,
Ganaa
3 REPLIES 3
Gurumanickam
Frequent Advisor

Re: error printer non-existent

team

For remote printer configuration

1. Add remote system name in /etc/hosts file

2. Try you are able to resolve your remote host using nslookup command

3. Try adding the printer using sam.

good luck
Be an expert
Peter Nikitka
Honored Contributor

Re: error printer non-existent

Hi,

1) removing a non-existing printer (your lpadmin command) leads to an error - that seems okay to me.
2) Do you really want to add a remote printer (e.g. connect to another workstation or PC) or do you have a network printer (HP or HP-compatible) attached directly to the network?
The procedure for the latter is different and requires the HPPI software (formally known as 'jetadmin'). Look for
/opt/hpnp*
on your host.
3) If you really have a remote printer, check for the correct hostname - which must be reachable at installation time - and the name the remote printer has on the remote system.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Ganaa
Occasional Advisor

Re: error printer non-existent

Hi Gurumanickam ,
Thank you for your reply.

1. i added remote system name in /etc/hosts .

127.0.0.1 localhost loopback
192.168.5.221 print.esp.mn


2. checked host using nslookup command.

# nslookup
Trying DNS
Name: print.esp.mn
Address: 192.168.5.221


3. try add remote printer.

But shows following error message :

lpstat: printer "printer8" non-existent.
A problem occurred doing "lpadmin -pprinter8 -ormprint.esp.mn
-orphp9050 -mrmodel -v/dev/null -orc -ob3 -ocmrcmodel -osmrsmodel".
Stderr from this command is "/usr/sbin/lpadmin: can't create new
member file". Unable to add printer "printer8" because of above error(s).


Thanks,
Ganaa