Operating System - HP-UX
1834510 Members
3329 Online
110068 Solutions
New Discussion

Re: lp dest does not exist

 
RAND IT Solutions
Contributor

lp dest does not exist

I am trying to set up serial port printers on a new rp2470 running HPUX11i (Dec 2002 patch set). If I connect one to the serial port and cat a file to it, it works perfect. If I try and add the printer to the lp spooler using SAM I always get --- lp destination "lp6" does not exist on "server1" --- Then the printer shows up in the lp spooler list in SAM, but is disabled. The only way to remove the port is to shutdown the lp spooler and use lpadmin -xlp6 from a shell.
Now, I did this a week ago when I was on site (I'm not now) and do not remember whether or not the printer was physically connected to the port at the time or not. Would that make a difference? I'm thinking I did have it connected, though.
The printer does work on the old D380 server, and I have to admit I am not a serial port guru. Thanks for any suggestions !

Bill
2 REPLIES 2
Victor BERRIDGE
Honored Contributor

Re: lp dest does not exist

Hi,
It years since I last configured printers on serial ports, and so dont remember doing it with sam, if the printer is not connected I woulnd be surprised to see "disabled"...

I remembered configuring it with lpadmin give it a try:
#lpshut
#lpadmin -p -v /dev/ -m
#accept
#enable
#lpsched

All the best
Victor
Steve Steel
Honored Contributor

Re: lp dest does not exist

Hi


guess that you have a permission problem on one of the directories


find /var/spool/lp -name printer -follow|xargs ll -d

You should see something like

find /var/spool/lp -name belgo046 follow|xargs ll -d
-rwxr-xr-x 1 lp bin 11538 Jan 16 2002 /var/spool/lp/interface/belgo046
-rw-r--r-- 1 lp lp 10 Jan 16 2002 /var/spool/lp/member/belgo046
drwxr-xr-x 2 lp lp 1024 Mar 31 10:56 /var/spool/lp/request/belgo046


If there is a missing file like the request file then check the dir.

Make sure you have
PHCO_28259

s700_800 11.11 lpspool subsystem cumulative patch




On your box


Steve Steel


If you want truly to understand something, try to change it. (Kurt Lewin)