<?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: Batch network printer installation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645621#M44780</link>
    <description>I apologize that I didn't explain very clear at first.  These are all network printers which all have their own network card and IPs.  I know you can do it through JetAdmin .  But for over two hundred printers, batch job seems to be the right way to do it.   Thanks again!&lt;BR /&gt;</description>
    <pubDate>Tue, 15 Jan 2002 21:34:31 GMT</pubDate>
    <dc:creator>Francis Hwang</dc:creator>
    <dc:date>2002-01-15T21:34:31Z</dc:date>
    <item>
      <title>Batch network printer installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645619#M44778</link>
      <description>I need the command to install network printer from HP-UX. I have   over two hundreds of them. I want to use a batch file to do this. What is the right lpadmin options I need to use to a HP 4si and a LexMark  M412n printer. Thanks in advance!</description>
      <pubDate>Tue, 15 Jan 2002 21:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645619#M44778</guid>
      <dc:creator>Francis Hwang</dc:creator>
      <dc:date>2002-01-15T21:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Batch network printer installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645620#M44779</link>
      <description># lpadmin -p&lt;PRINTER_NAME&gt; -v&lt;DEVICE_FILE&gt; -m&lt;MODEL_SCRIPT&gt;&lt;/MODEL_SCRIPT&gt;# accept &lt;PRINTER_NAME&gt;&lt;BR /&gt;# enable &lt;PRINTER_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;Look for the model script in /usr/lib/lp/model.&lt;/PRINTER_NAME&gt;&lt;/PRINTER_NAME&gt;&lt;/DEVICE_FILE&gt;&lt;/PRINTER_NAME&gt;</description>
      <pubDate>Tue, 15 Jan 2002 21:10:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645620#M44779</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-15T21:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Batch network printer installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645621#M44780</link>
      <description>I apologize that I didn't explain very clear at first.  These are all network printers which all have their own network card and IPs.  I know you can do it through JetAdmin .  But for over two hundred printers, batch job seems to be the right way to do it.   Thanks again!&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2002 21:34:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645621#M44780</guid>
      <dc:creator>Francis Hwang</dc:creator>
      <dc:date>2002-01-15T21:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Batch network printer installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645622#M44781</link>
      <description>To add a Jetadmin printer from command line, use this :-&lt;BR /&gt;&lt;BR /&gt;# addqueue [-c class] [-d] [-i printerID] -h hostname -q queuename -p port&lt;BR /&gt;&lt;BR /&gt;Do a "man addqueue" for details. You could probably write a simple script to loop the above to all the printers.&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2002 21:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645622#M44781</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-15T21:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Batch network printer installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645623#M44782</link>
      <description>You might give this scripts a shot.&lt;BR /&gt;&lt;BR /&gt;First collect all the printer names and put them in a file (p-queues)&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&amp;gt; added.log&lt;BR /&gt;for i in `cat p-queues`&lt;BR /&gt;do&lt;BR /&gt;echo $i&lt;BR /&gt;addqueue -q$i -h$i &amp;gt;&amp;gt; added.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Run that a few times and see if it gets all of your printers.&lt;BR /&gt;It is not guranteed to work but it has worked for me in the past.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2002 21:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645623#M44782</guid>
      <dc:creator>D. Jackson_1</dc:creator>
      <dc:date>2002-01-15T21:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Batch network printer installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645624#M44783</link>
      <description>Really easy (IF they are both JetDirect connected).  To see if they are JetDirect printers, use the command:&lt;BR /&gt;&lt;BR /&gt;/opt/hpnp/bin/hpnpadmin -A &lt;IP-ADDRESS&gt;&lt;BR /&gt;&lt;BR /&gt;It will either say:&lt;BR /&gt;&lt;BR /&gt;*** Receive NO snmp response! &lt;BR /&gt;*** (printer down, cable off, or wrong Get community name?)&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;&lt;IP-ADDRESS&gt; is a network printer&lt;BR /&gt;&lt;BR /&gt;The first reply indicates that the IP-address is not an HP JetDirect network card, so it can't be configured in batch mode.&lt;BR /&gt;&lt;BR /&gt;So the command line is:&lt;BR /&gt;&lt;BR /&gt;/usr/hpnp/bin/addqueue -h &lt;IP-ADDRESS&gt; -q queuename&lt;BR /&gt;&lt;BR /&gt;Repeat as many times as needed...&lt;/IP-ADDRESS&gt;&lt;/IP-ADDRESS&gt;&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Tue, 15 Jan 2002 21:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645624#M44783</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-01-15T21:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Batch network printer installation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645625#M44784</link>
      <description>Thanks guys.  The hpnpadmin command works.  But I wonder how to tell the difference between  HP4si and LexMark M412n network printer?  I mean, if you use lpadmin, don't you need to specify -orm -ocm -osm or -m options?  Addqueue command doesn't tell any difference between any models.  Any more input will be greatly appreciated!</description>
      <pubDate>Tue, 15 Jan 2002 22:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-network-printer-installation/m-p/2645625#M44784</guid>
      <dc:creator>Francis Hwang</dc:creator>
      <dc:date>2002-01-15T22:53:00Z</dc:date>
    </item>
  </channel>
</rss>

