SUMMARY: redirect print jobs

Rich Glazier <[email protected]> Tue, 06 Apr 2010 12:48:11 -0700 (PDT)
Newsgroups gmane.os.tru64.managers
Message-ID <[email protected]>
Adding lp0 to the allias of lp41 worked (lp41|LP41|41|lp0|LP0|0:\). I then =
commented out the lp0 lines. Thanks to everyone's help.=0A=0A=0AFrom Ralf:=
=0AI'm a fair way removed from the issue as well, but wouldn't changing the=
 line :rm=3Dfreddy:\to :rm=3Dlp41:\ and :rp=3DLPDPRT1:\ to :rp=3DIT_DATAPRO=
DUCTS:\ work? You would also probably need to: =0A#lpc =0Alpc> stop lp0 =0A=
lpc> clean lp0 =0Alpc> start lp0 =0Alpc> exit =0A=0Ato restart the spooler =
for lp0. I'm not 100% on this as all of our printing is tcpip where all you=
 would need to do is change the IP address of the lp0 printer to the lp41 p=
rinter in the hosts file or on your dns server. =0A=0AFrom Scot=0ADid you t=
ry to change the "rm remote machine" on lp41 to match the rm on lp0?=A0 You=
 could just replace everything after lp0|LP0|0:\=A0 with what occurs after =
lp41|LP41|41:\.=A0 Save the existing entry of lp0 by commenting it out. =0A=
=0AFrom John=0AMake a backup of your /etc/printcap file before making chang=
es (just in case).=0A=0AThen add lp0 as an alias in the lp41 setup. Then re=
move (or comment out) the original lp0 configuration. You may have to stop =
and restart the lpd daemon.=0A=0AAny application that tries to print to lp0=
 will use lp41.=0A=0AThe first line in your configuration for lp41 would lo=
ok something like this:=0A=0Alp41|lp0:\=0A=0A=0A=0A----- Original Message -=
---=0AFrom: Rich Glazier <[email protected]>=0ATo: tru64-unix-managers=
@ornl.gov=0ASent: Tue, April 6, 2010 12:40:13 PM=0ASubject: redirect print =
jobs=0A=0AThis seems like something I should be able to do with little effo=
rt, but I'm having a problem figuring out how to do this. LP0 printer is ph=
ysically bad. LP41 is the same type of printer (on the same network) and is=
 working fine. I want when people print to LP0, that get redirected to LP41=
. I don't believe I have the Advanced Printing installed. The "printconfig"=
 utility doesn't work. Here's what the printcap file looks like. I'm just a=
 little lost, as I haven't touched T64 printing in many years. In the mean =
time, I'm trying to RTFM! ;)=0A=0AThanks for the help.=0A=0AT645.1A PK6=0A=
=0Alp0|LP0|0:\=0A=A0=A0=A0=A0=A0=A0=A0 :fo:\=0A=A0=A0=A0=A0=A0=A0=A0 :lf=3D=
/usr/adm/lpderr:\=0A=A0=A0=A0=A0=A0=A0=A0 :lp=3D:\=0A=A0=A0=A0=A0=A0=A0=A0 =
:mx#0:\=0A=A0=A0=A0=A0=A0=A0=A0 :pl#68:\=0A=A0=A0=A0=A0=A0=A0=A0 :pw#132:\=
=0A=A0=A0=A0=A0=A0=A0=A0 :rm=3Dfreddy:\=0A=A0=A0=A0=A0=A0=A0=A0 :rp=3DLPDPR=
T1:\=0A=A0=A0=A0=A0=A0=A0=A0 :sd=3D/usr/spool/lpd:=0Alp41|LP41|41:\=0A=A0=
=A0=A0=A0=A0=A0=A0 :lf=3D/usr/adm/lp41err:\=0A=A0=A0=A0=A0=A0=A0=A0 :lp=3D:=
\=0A=A0=A0=A0=A0=A0=A0=A0 :mx#0:\=0A=A0=A0=A0=A0=A0=A0=A0 :pl#68:\=0A=A0=A0=
=A0=A0=A0=A0=A0 :pw#132:\=0A=A0=A0=A0=A0=A0=A0=A0 :rm=3Dlp41:\=0A=A0=A0=A0=
=A0=A0=A0=A0 :rp=3DIT_DATAPRODUCTS:\=0A=A0=A0=A0=A0=A0=A0=A0 :sd=3D/usr/spo=
ol/lpd41:\=0A=A0=A0=A0=A0=A0=A0=A0 :sh:=0A=0A=0A