From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rich Glazier Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: redirect print jobs Date: Tue, 06 Apr 2010 12:48:11 -0700 (PDT) Message-ID: <281284.66173.qm@web112420.mail.gq1.yahoo.com> References: <297213.78012.qm@web112416.mail.gq1.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1270583484 28934 80.91.229.12 (6 Apr 2010 19:51:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2010 19:51:24 +0000 (UTC) To: tru64-unix-managers@ornl.gov Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Apr 06 21:51:21 2010 Return-path: Envelope-to: gotm-tru64-unix-managers@lo.gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1NzEnv-0007Gt-Cz for gotm-tru64-unix-managers@lo.gmane.org; Tue, 06 Apr 2010 21:51:19 +0200 Original-Received: (qmail 2284 invoked by uid 49509); 6 Apr 2010 19:51:11 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2273 invoked by uid 49501); 6 Apr 2010 19:51:11 -0000 Original-Received: from 160.91.4.110 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.110):SA:0(-2.6/5.0):. Processed in 0.507876 secs); 06 Apr 2010 19:51:11 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute3.ornl.gov (160.91.4.110) by sws1.ornl.gov with SMTP; 6 Apr 2010 19:51:10 -0000 Original-Received: from emroute3.ornl.gov ([127.0.0.1]) by emroute3.ornl.gov (PMDF V6.4 #31561) with ESMTP id <0L0H00HMP0HAMA@emroute3.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Tue, 06 Apr 2010 15:51:10 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.4 #31561) id <0L0H00J010HA1T@emroute3.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Tue, 06 Apr 2010 15:51:10 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.4 #31561) id <0L0H00H3Q0GZLC@emroute3.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Tue, 06 Apr 2010 15:51:10 -0400 (EDT) Original-Received: from web112420.mail.gq1.yahoo.com (web112420.mail.gq1.yahoo.com [98.137.26.117]) by emroute3.ornl.gov (PMDF V6.4 #31561) with SMTP id <0L0H00I880CCG6@emroute3.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Tue, 06 Apr 2010 15:48:13 -0400 (EDT) Original-Received: (qmail 67338 invoked by uid 60001); Tue, 06 Apr 2010 19:48:11 +0000 Original-Received: from [65.114.238.246] by web112420.mail.gq1.yahoo.com via HTTP; Tue, 06 Apr 2010 12:48:11 -0700 (PDT) In-reply-to: <297213.78012.qm@web112416.mail.gq1.yahoo.com> X-Envelope-from: rglazier2002@yahoo.com X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1270583291; bh=cLpSrmoTF9SKUJnlZ8lx4L6gQLCwsfyTpZbLFs9/nKM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JshktImXHDibaGP9XdtSI04nnAq9Y1T4avw32VnOza/0LzzIuQb04BNqV+UNni+Va+PTGYJVHCL2JTHEBb/yLPw7bVZz4fZk16C45SsXO5i7OASftWb5eHY/5GAArsREYsj5SHW+cFAK8Mx/avibPYpqATwUbWSmY6ZQD10n0Zk= X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on email.ornl.gov X-Spam-Level: ** X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=2.2 required=5.0 tests=AWL,BAYES_05, BOTNET_SERVERWORDS,DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 X-Spam-Relay-Country: US US X-YMail-OSG: YZTcLegVM1nx4nGR50gbUf3SufbN8M41Wn1B3rcjoJTkcYX mWiP0yEOxeBRtSQqH5.sG1gk_50hkh4oL62p8skY.5Qz4xSCHJwt.QuUf622 M9OrQ3Nwe2q6UNboFF5iWom5lLgUf.KRHAPiZwEz404GCF9VEkj4r6VO7Ja7 3.Cju_4w0QrYk4gIKu1X4vokJQElRqRLgsSorDjI62pMFnQbqj5qSqmg19nR Eea9r0BGCiWrY7eSv8VkhO7UxCEDU_X3SPQfCFvPDdZj2umjh5KxreTZa9YZ hqBWGkcNvYyXa_2kXJj9jYstXp8UtIlsoTomJ3EXzu0vMke8868r_m9PWHXs _X.SQei.S DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4fwXbqMMx9VRWAMVXr6Sd4tMsYx6N6J7LDkKbosZsZKYUcSyeyd5M1IhWMm+RGBQRNgk7wbggaSsnN+SbnqWAGczGf5NYkLhc+1Dd7bw/7z8ZQYwka9dJadok6u/4VTgscuTo1C4F2eQS2zoy6b2uq0EaqgjkpmK6Bvz0zQEFNE=; Xref: news.gmane.org gmane.os.tru64.managers:9437 Archived-At: 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 =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