<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Printer issue. in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430017#M12397</link>
    <description>Johan, hi&lt;BR /&gt;&lt;BR /&gt;I followed step for step the solution you gave, but it doesn't seem to want to work. I get the error:&lt;BR /&gt;&lt;BR /&gt;# lpr -#2 -P1 &lt;FILENAME&gt;&lt;BR /&gt;lpr: No entry in /etc/printcap entry for printer: 1&lt;BR /&gt;&lt;BR /&gt;My printcap file is as follow:&lt;BR /&gt;&lt;BR /&gt;lp0|0|remote_sys:\&lt;BR /&gt;        :lf=/usr/adm/lp0err:\&lt;BR /&gt;        :lp=:\&lt;BR /&gt;        :mx#0:\&lt;BR /&gt;        :pl#66:\&lt;BR /&gt;        :pw#100:\&lt;BR /&gt;        :rm=remote_sys:\&lt;BR /&gt;        :rp=text:\&lt;BR /&gt;        :rw:\&lt;BR /&gt;        :sd=/usr/spool/lpd0:\&lt;BR /&gt;lp1|1|pass_through:\&lt;BR /&gt;        :lp=/dev/null:\&lt;BR /&gt;        :mx#0:\&lt;BR /&gt;        :of=/usr/lbin/passtolp0:\&lt;BR /&gt;        :sd=/usr/spool/lpd1:\&lt;BR /&gt;&lt;BR /&gt;Printing purely through lp0 is fine, but when I redirect it as you've said, it complains. Any ideas??&lt;/FILENAME&gt;</description>
    <pubDate>Thu, 25 Nov 2004 09:58:12 GMT</pubDate>
    <dc:creator>Paul_504</dc:creator>
    <dc:date>2004-11-25T09:58:12Z</dc:date>
    <item>
      <title>Printer issue.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430011#M12391</link>
      <description>When I print reports in alpha GS server, although I specify 2 copies in the print options, I only receive 1 copy.&lt;BR /&gt;used this commond&lt;BR /&gt;#lp -c -d&lt;PRINTERNAME&gt; -n2 &lt;FILENAME&gt;&lt;BR /&gt;&lt;BR /&gt;pritcap entry is &lt;BR /&gt;abc249|lp249:\&lt;BR /&gt;        :lf=/usr/adm/lp249err:\&lt;BR /&gt;        :lp=/:\&lt;BR /&gt;        :rm=xyz.xy.com:\&lt;BR /&gt;        :rp=text:\&lt;BR /&gt;        :sd=/usr/spool/lpd249:\&lt;BR /&gt;        :xf=/usr/lbin/xf:&lt;BR /&gt;&lt;BR /&gt;Your help will be a great favour for me.&lt;/FILENAME&gt;&lt;/PRINTERNAME&gt;</description>
      <pubDate>Wed, 24 Nov 2004 15:57:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430011#M12391</guid>
      <dc:creator>vishnu_12</dc:creator>
      <dc:date>2004-11-24T15:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Printer issue.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430012#M12392</link>
      <description>Vishnu,&lt;BR /&gt;&lt;BR /&gt;Since this is a REMOTE print queue the local lpd does not execute any filter actions, whatever filter you specify in printcap ( this is to comply with lpd RFC). The usual workaround is to create a local printqueue with a home-made filter that pipes x copies to the remote lpd.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;  Johan.</description>
      <pubDate>Thu, 25 Nov 2004 08:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430012#M12392</guid>
      <dc:creator>Johan Brusche</dc:creator>
      <dc:date>2004-11-25T08:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Printer issue.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430013#M12393</link>
      <description>Q:&lt;BR /&gt;&lt;BR /&gt;How can you send "lpr" switches to a remote printer?&lt;BR /&gt;&lt;BR /&gt;A:&lt;BR /&gt;&lt;BR /&gt;Create a "pass-through" printcap entry that points to the original&lt;BR /&gt;printcap entry for the remote printer.  As an example, assume your&lt;BR /&gt;remote printer entry looks like this.&lt;BR /&gt;&lt;BR /&gt;lp5|5|dot matrix printer:\&lt;BR /&gt;        :lf=/usr/adm/lp5err:\&lt;BR /&gt;        :lp=:\&lt;BR /&gt;        :rm=tom.digital.com:\&lt;BR /&gt;        :rp=lp2:\&lt;BR /&gt;        :sd=/usr/spool/lpd5:&lt;BR /&gt;&lt;BR /&gt;And you want to print multiple copies to the printer.  When you do&lt;BR /&gt;        lpr -#2 -P5 filename&lt;BR /&gt;you only get one copy.  The remote system doesn't interpret the multiple&lt;BR /&gt;copies switch on lpr.  Create another printcap entry that looks like&lt;BR /&gt;this.&lt;BR /&gt;lp8|8|pass-through entry:\&lt;BR /&gt;        :lp=/dev/null:\&lt;BR /&gt;        :mx#0:\&lt;BR /&gt;        :of=/usr/lbin/passtolp5:\&lt;BR /&gt;        :sd=/usr/spool/lpd8:&lt;BR /&gt;&lt;BR /&gt;Then create a file called /usr/lbin/passtolp5 that looks like this.&lt;BR /&gt;Make sure the mode of this file is 755.&lt;BR /&gt;&lt;BR /&gt;#!/bin/csh -f&lt;BR /&gt;/bin/cat | lpr -Plp5&lt;BR /&gt;&lt;BR /&gt;Now to print 2 copies of filename to printer lp5, do the following.&lt;BR /&gt;&lt;BR /&gt;# lpr -#2 -P8 filename&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Nov 2004 08:50:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430013#M12393</guid>
      <dc:creator>Johan Brusche</dc:creator>
      <dc:date>2004-11-25T08:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Printer issue.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430014#M12394</link>
      <description>I have the same problem as vishnu, and vishnu, I empathize. I've been busy trying to solve this all day.&lt;BR /&gt;&lt;BR /&gt;Johan, would the command then work as it's meant to if the printer was locally connected??</description>
      <pubDate>Thu, 25 Nov 2004 08:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430014#M12394</guid>
      <dc:creator>Paul_504</dc:creator>
      <dc:date>2004-11-25T08:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Printer issue.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430015#M12395</link>
      <description>Johan,&lt;BR /&gt;&lt;BR /&gt;I am using tcp/ip printing instead of bsd and it works fine for me. Are there any differences?&lt;BR /&gt;&lt;BR /&gt;below the printcap entry and the services entry. If your printserver supports raw ports this might be an alternative.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;abc249|lp249:\&lt;BR /&gt;:lf=/usr/adm/lp249err:\&lt;BR /&gt;:lp=@xyz.xy.com/lpt1:\&lt;BR /&gt;:of=/usr/lbin/lpf_crlf -l72:\&lt;BR /&gt;:rp=text:\&lt;BR /&gt;:sd=/usr/spool/lpd249:\&lt;BR /&gt;:xf=/usr/lbin/xf:&lt;BR /&gt;&lt;BR /&gt;entries in /etc/services&lt;BR /&gt;lpt1            9100/tcp&lt;BR /&gt;lpt2            9101/tcp&lt;BR /&gt;lpt3            9102/tcp&lt;BR /&gt;lpt4            9103/tcp&lt;BR /&gt;lpt5            9104/tcp&lt;BR /&gt;lpt6            9105/tcp&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Nov 2004 09:09:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430015#M12395</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-11-25T09:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Printer issue.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430016#M12396</link>
      <description>&lt;BR /&gt;Paul,&lt;BR /&gt;&lt;BR /&gt;Yes, printer 8 is local, will use it's input/output filters, producing filtered output (eg multiple copies) ,which is then piped to the remote printer.&lt;BR /&gt;&lt;BR /&gt;Michael,&lt;BR /&gt;&lt;BR /&gt;Yes, tcp printing is different in that respect and would be an alternate (and less difficult to implement) solution.&lt;BR /&gt;&lt;BR /&gt;Rgds, &lt;BR /&gt;__Johan__</description>
      <pubDate>Thu, 25 Nov 2004 09:45:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430016#M12396</guid>
      <dc:creator>Johan Brusche</dc:creator>
      <dc:date>2004-11-25T09:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Printer issue.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430017#M12397</link>
      <description>Johan, hi&lt;BR /&gt;&lt;BR /&gt;I followed step for step the solution you gave, but it doesn't seem to want to work. I get the error:&lt;BR /&gt;&lt;BR /&gt;# lpr -#2 -P1 &lt;FILENAME&gt;&lt;BR /&gt;lpr: No entry in /etc/printcap entry for printer: 1&lt;BR /&gt;&lt;BR /&gt;My printcap file is as follow:&lt;BR /&gt;&lt;BR /&gt;lp0|0|remote_sys:\&lt;BR /&gt;        :lf=/usr/adm/lp0err:\&lt;BR /&gt;        :lp=:\&lt;BR /&gt;        :mx#0:\&lt;BR /&gt;        :pl#66:\&lt;BR /&gt;        :pw#100:\&lt;BR /&gt;        :rm=remote_sys:\&lt;BR /&gt;        :rp=text:\&lt;BR /&gt;        :rw:\&lt;BR /&gt;        :sd=/usr/spool/lpd0:\&lt;BR /&gt;lp1|1|pass_through:\&lt;BR /&gt;        :lp=/dev/null:\&lt;BR /&gt;        :mx#0:\&lt;BR /&gt;        :of=/usr/lbin/passtolp0:\&lt;BR /&gt;        :sd=/usr/spool/lpd1:\&lt;BR /&gt;&lt;BR /&gt;Printing purely through lp0 is fine, but when I redirect it as you've said, it complains. Any ideas??&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 25 Nov 2004 09:58:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430017#M12397</guid>
      <dc:creator>Paul_504</dc:creator>
      <dc:date>2004-11-25T09:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Printer issue.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430018#M12398</link>
      <description>Paul,&lt;BR /&gt;&lt;BR /&gt;:sd=/usr/spool/lpd0:\&lt;BR /&gt;should be&lt;BR /&gt;:sd=/usr/spool/lpd0:&lt;BR /&gt;&lt;BR /&gt;\ is a continue sign and at the moment you have only one printer definition and not two.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Nov 2004 10:03:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430018#M12398</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-11-25T10:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Printer issue.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430019#M12399</link>
      <description>Michael, nice one!&lt;BR /&gt;&lt;BR /&gt;It has just gone through!!!&lt;BR /&gt;&lt;BR /&gt;Thank you for the input, I appreciate it 10 fold. I can now happily go home unfrustrated :-).&lt;BR /&gt;&lt;BR /&gt;Vishnu, score them all 20 :-)</description>
      <pubDate>Thu, 25 Nov 2004 10:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430019#M12399</guid>
      <dc:creator>Paul_504</dc:creator>
      <dc:date>2004-11-25T10:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Printer issue.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430020#M12400</link>
      <description>The solution really helpful, it was great for me to solve the same problem in alpha box. &lt;BR /&gt;&lt;BR /&gt;But recently i have a same problem in redhat linux v8.0 box, since it was using the latest lprng. Can anyone give me a hand on it.&lt;BR /&gt;&lt;BR /&gt;Below are my configuration file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lp1:\&lt;BR /&gt;lp=xlp1@localhost:\&lt;BR /&gt;bounce_queue=true:\&lt;BR /&gt;pl#66:\&lt;BR /&gt;mx=0:\&lt;BR /&gt;ff:\&lt;BR /&gt;sd=/user/spool/lp1:&lt;BR /&gt;&lt;BR /&gt;xlp1:\&lt;BR /&gt;lp=COM1@it.printer:\&lt;BR /&gt;bounce_queue=true:\&lt;BR /&gt;sd=/user/spool/xlp1:&lt;BR /&gt;&lt;BR /&gt;thank you!!</description>
      <pubDate>Mon, 25 Apr 2005 20:48:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/printer-issue/m-p/3430020#M12400</guid>
      <dc:creator>nelson chan_4</dc:creator>
      <dc:date>2005-04-25T20:48:37Z</dc:date>
    </item>
  </channel>
</rss>

