<?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: print duplicate in two printers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155374#M319260</link>
    <description>Thanks Paul. Let try run some tests.</description>
    <pubDate>Tue, 04 Mar 2008 22:22:38 GMT</pubDate>
    <dc:creator>Grace Li</dc:creator>
    <dc:date>2008-03-04T22:22:38Z</dc:date>
    <item>
      <title>print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155364#M319250</link>
      <description>is it possible in unix to send print job to a device and two printers will print the job at the same time? &lt;BR /&gt;I have an application to print a ticket to one printer in Toronto office. However, we need to get the same ticket printed in Vancouver office at the same time. Note this is real-time generated ticket, which can NOT be reproduce. Otherwise, the application will enter the order again.</description>
      <pubDate>Tue, 04 Mar 2008 20:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155364#M319250</guid>
      <dc:creator>Grace Li</dc:creator>
      <dc:date>2008-03-04T20:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155365#M319251</link>
      <description>Can you check if this can be done within the application? Is some apps you have to actually put in an lp command in an app config file of setup screen. See if you can put in a compound UNIX command with two lp commands and two UNIX spoolers.</description>
      <pubDate>Tue, 04 Mar 2008 20:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155365#M319251</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-03-04T20:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155366#M319252</link>
      <description>Unfortunately, I don't have the control to this application (like, source code). Is there a way to deal with with it from Unix System level?</description>
      <pubDate>Tue, 04 Mar 2008 20:33:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155366#M319252</guid>
      <dc:creator>Grace Li</dc:creator>
      <dc:date>2008-03-04T20:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155367#M319253</link>
      <description>banner test | lp -ditcolor | lp -dhelp_desk_lj0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;this sent the test banner to both printers itcolor and helpdesk_lj0</description>
      <pubDate>Tue, 04 Mar 2008 20:55:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155367#M319253</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2008-03-04T20:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155368#M319254</link>
      <description>Thanks Paul. How can I turn on this print feature? so that HP-UX knows there is a job printing in "itcolor" and then triggers this command.</description>
      <pubDate>Tue, 04 Mar 2008 20:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155368#M319254</guid>
      <dc:creator>Grace Li</dc:creator>
      <dc:date>2008-03-04T20:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155369#M319255</link>
      <description>Actually that didn't work it printed the banner on the first printer and just the request id message on the second printer.&lt;BR /&gt;&lt;BR /&gt;Sorry but the second printer is further from my desk</description>
      <pubDate>Tue, 04 Mar 2008 21:12:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155369#M319255</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2008-03-04T21:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155370#M319256</link>
      <description>Take a look at intelliscribe broadcast printing&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://lpr.brooksnet.com/broadcast-printing.html" target="_blank"&gt;http://lpr.brooksnet.com/broadcast-printing.html&lt;/A&gt;</description>
      <pubDate>Tue, 04 Mar 2008 21:18:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155370#M319256</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2008-03-04T21:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155371#M319257</link>
      <description>Take a look at intelliscribe broadcast printing&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://lpr.brooksnet.com/broadcast-printing.html" target="_blank"&gt;http://lpr.brooksnet.com/broadcast-printing.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or ROC Rhapsody&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.rocsoftware.com/rhapsody-print-output-manager.shtml" target="_blank"&gt;http://www.rocsoftware.com/rhapsody-print-output-manager.shtml&lt;/A&gt;</description>
      <pubDate>Tue, 04 Mar 2008 21:21:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155371#M319257</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2008-03-04T21:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155372#M319258</link>
      <description>probably not what you looking for but who knows.  The following does work though.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for x in printer1 printer2&lt;BR /&gt;do&lt;BR /&gt;lp -d$x afile&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;And another way is to create a class&lt;BR /&gt;&lt;BR /&gt;lpadmin -pprinter1 -cq1&lt;BR /&gt;lpadmin -pprinter2 -cq1&lt;BR /&gt;&lt;BR /&gt;lp -dq1 -n2 afile&lt;BR /&gt;That would create and enable the class Q1 and assign printers P1 and &lt;BR /&gt;P2 to it.  When a job is sent to a class, it prints on whichever &lt;BR /&gt;printer in the class becomes available first.  If my guess is right, &lt;BR /&gt;using "-n 2" (which requests two copies) will cause one copy to come &lt;BR /&gt;out on each printer.  Actually, it will only do this if both printers &lt;BR /&gt;are idle; otherwise, both copies may come out on the same printer. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Mar 2008 21:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155372#M319258</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2008-03-04T21:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155373#M319259</link>
      <description>Another thought.  Make a new lp&lt;BR /&gt;&lt;BR /&gt;for x in printer1 printer2; do /usr/bin/lp -d$x $*;done&lt;BR /&gt;&lt;BR /&gt;#chmod 755 lp&lt;BR /&gt;#export PAHT=$PATH:/path/to/new/pl&lt;BR /&gt;make sure your using the right lp&lt;BR /&gt;#/usr/bin/whitch lp&lt;BR /&gt;/home/user/bin/lp&lt;BR /&gt;&lt;BR /&gt;#lp afile&lt;BR /&gt;&lt;BR /&gt;sends the file to both printers</description>
      <pubDate>Tue, 04 Mar 2008 22:00:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155373#M319259</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2008-03-04T22:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155374#M319260</link>
      <description>Thanks Paul. Let try run some tests.</description>
      <pubDate>Tue, 04 Mar 2008 22:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155374#M319260</guid>
      <dc:creator>Grace Li</dc:creator>
      <dc:date>2008-03-04T22:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155375#M319261</link>
      <description>Here is one that works.&lt;BR /&gt;&lt;BR /&gt;Edit the /etc/lp/interface/ file for printer1.  Add this "cat $6|lp -dprinter2" towards the top, somewhere after the export $PATH.&lt;BR /&gt;&lt;BR /&gt;Works like a charm.&lt;BR /&gt;&lt;BR /&gt;All jobs sent to printer1 will also be sent to printer2&lt;BR /&gt;&lt;BR /&gt;substitute the names as you wish.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Mar 2008 22:32:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155375#M319261</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-03-04T22:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155376#M319262</link>
      <description>works! Thank you.</description>
      <pubDate>Tue, 04 Mar 2008 22:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155376#M319262</guid>
      <dc:creator>Grace Li</dc:creator>
      <dc:date>2008-03-04T22:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155377#M319263</link>
      <description>Thanks Tim! adding that line works, what does "$6" stand for?&lt;BR /&gt;note that i have nobanner option on the lp command, but the duplicate still has the banner on. is there a way to fix it?</description>
      <pubDate>Tue, 04 Mar 2008 22:57:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155377#M319263</guid>
      <dc:creator>Grace Li</dc:creator>
      <dc:date>2008-03-04T22:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155378#M319264</link>
      <description>&amp;gt;what does "$6" stand for?&lt;BR /&gt;&lt;BR /&gt;The sixth parm to /etc/lp/interface/printer1.&lt;BR /&gt;But scanning /usr/lib/lp/model/*, I don't see it used in any scripts that isn't dead code.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;i have nobanner option on the lp command, but the duplicate still has the banner on.&lt;BR /&gt;&lt;BR /&gt;You will have to "copy" the parms to the interface file and convert them back to lp options to pass to ... |lp -dprinter2&lt;BR /&gt;&lt;BR /&gt;Either you always add -onb.  Or you look at the parms and add it.&lt;BR /&gt;What does your interface script look like?&lt;BR /&gt;(Please attach.)</description>
      <pubDate>Wed, 05 Mar 2008 07:50:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155378#M319264</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-05T07:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155379#M319265</link>
      <description>Here comes the file.</description>
      <pubDate>Wed, 05 Mar 2008 16:08:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155379#M319265</guid>
      <dc:creator>Grace Li</dc:creator>
      <dc:date>2008-03-05T16:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155380#M319266</link>
      <description>&amp;gt;what does "$6" stand for?&lt;BR /&gt;&lt;BR /&gt;This is the first file to be printed.  If you print more than one at the same time, you would only duplicate the first.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;i have nobanner option on the lp command, but the duplicate still has the banner on.&lt;BR /&gt;&lt;BR /&gt;Is this -onb?  It would be trivial to always set it.  But if you want this conditioned by the original value, I would need to see some debugging output.&lt;BR /&gt;&lt;BR /&gt;Remove this cat below:&lt;BR /&gt;cat $6|lp -dvanapps               ### added&lt;BR /&gt;# Add bin to the path for systems with /bin&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;done&lt;BR /&gt;# Insert this comment and lp here:&lt;BR /&gt;# Duplicate each file on vanapps&lt;BR /&gt;lp -dvanapps $files&lt;BR /&gt;if [ "$debugf" != "" ]&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;If you just want to add -onb above you could use:&lt;BR /&gt;# Duplicate each file on vanapps&lt;BR /&gt;lp -dvanapps -onb $files&lt;BR /&gt;&lt;BR /&gt;If you want to condition -onb, then we need to print the options.  Add this before that lp.&lt;BR /&gt;&lt;BR /&gt;LOG_options=/tmp/model_options.log&lt;BR /&gt;echo "LP options for: $file1: $options" &amp;gt;&amp;gt; $LOG_options&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2008 10:00:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155380#M319266</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-07T10:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: print duplicate in two printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155381#M319267</link>
      <description>&amp;gt;&amp;gt;Thanks Tim! adding that line works, what does "$6" stand for?&lt;BR /&gt;note that i have nobanner option on the lp command, but the duplicate still has the banner on. is there a way to fix it?&lt;BR /&gt;&lt;BR /&gt;$6 is the 6th arg that lp is passing to the interface file which happens to be the temp name of the file that is being printed.&lt;BR /&gt;&lt;BR /&gt;As far as getting rid of the banner just modify the line you added "cat $6|lp -dPrinter2 -o nb" and/or any other options you like.  This could certainly be made more eloquent byt parsing all the command line options but sometimes simplicity has is virtues at the cost of being flexible.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2008 18:38:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/print-duplicate-in-two-printers/m-p/4155381#M319267</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-03-07T18:38:10Z</dc:date>
    </item>
  </channel>
</rss>

