<?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: script to create printer in jetadmin in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544176#M866232</link>
    <description>Actually, it is infinitely easier to add hundreds of printers to HP-UX by using the addqueue feature of JetDirect software.  Load the latest version onto the 3 servers (download the JetDirect Printer Installer from HP's website).&lt;BR /&gt;&lt;BR /&gt;Then for the list of printers, run addqueue to add each one.  For a scripted method, create a data file with the IP addr followed by the desired queue-name.  Then run this script:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;# specify the datafile name as first param&lt;BR /&gt;cat $1 | while read IPADDR QUEUENAME&lt;BR /&gt;do&lt;BR /&gt;/opt/hpnp/bin/addqueue -h $IPADDR -q $QUEUENAME&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Note that each printer must be powered on, connected to the network and have a reachable IP address configured as addqueue queries each printer as to model to pick the correct printer script.  The lp spooler will be stopped and started for each addqueue command.&lt;BR /&gt;&lt;BR /&gt;In cases where the printer is not yet connected or powered on, you can use addqueue -l to list the printer ID numbers then use addqueue with the -i option to specify the printer model and addqueue will add the printer even though it is not reachable.  There will be a short timeout as addqueue tries to reach the printer.  Without the -i option, the printer must be online or addqueue will report that it could not contact the printer.</description>
    <pubDate>Tue, 26 Jun 2001 01:50:13 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2001-06-26T01:50:13Z</dc:date>
    <item>
      <title>script to create printer in jetadmin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544172#M866228</link>
      <description>I have about 100 jetdirect printers to install on 3 N-class servers. Does anyone have a script they have created to complete this task?&lt;BR /&gt;We are using the jetdirect Printer Installer vE.10.18.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Donna Yedziniak</description>
      <pubDate>Fri, 22 Jun 2001 18:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544172#M866228</guid>
      <dc:creator>Donna Yedziniak</dc:creator>
      <dc:date>2001-06-22T18:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: script to create printer in jetadmin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544173#M866229</link>
      <description>Should be possible to run in the same matter as an automated ftp script:&lt;BR /&gt;&lt;BR /&gt;ftp_put()&lt;BR /&gt;{&lt;BR /&gt;ftp -nv &amp;lt;&amp;lt; EOF&lt;BR /&gt;prompt&lt;BR /&gt;open $1&lt;BR /&gt;user $2 $3&lt;BR /&gt;put $4&lt;BR /&gt;bye&lt;BR /&gt;EOF&lt;BR /&gt;}&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Jun 2001 18:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544173#M866229</guid>
      <dc:creator>herman anker</dc:creator>
      <dc:date>2001-06-22T18:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: script to create printer in jetadmin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544174#M866230</link>
      <description>Take a look at this thread...there were a few good suggestions and scripts attached:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x99fca12d6d27d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x99fca12d6d27d5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rita</description>
      <pubDate>Fri, 22 Jun 2001 18:26:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544174#M866230</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-06-22T18:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: script to create printer in jetadmin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544175#M866231</link>
      <description>Thanks Herman and Rita - I'll give your suggestions a try!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Donna</description>
      <pubDate>Mon, 25 Jun 2001 22:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544175#M866231</guid>
      <dc:creator>Donna Yedziniak</dc:creator>
      <dc:date>2001-06-25T22:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: script to create printer in jetadmin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544176#M866232</link>
      <description>Actually, it is infinitely easier to add hundreds of printers to HP-UX by using the addqueue feature of JetDirect software.  Load the latest version onto the 3 servers (download the JetDirect Printer Installer from HP's website).&lt;BR /&gt;&lt;BR /&gt;Then for the list of printers, run addqueue to add each one.  For a scripted method, create a data file with the IP addr followed by the desired queue-name.  Then run this script:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;# specify the datafile name as first param&lt;BR /&gt;cat $1 | while read IPADDR QUEUENAME&lt;BR /&gt;do&lt;BR /&gt;/opt/hpnp/bin/addqueue -h $IPADDR -q $QUEUENAME&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Note that each printer must be powered on, connected to the network and have a reachable IP address configured as addqueue queries each printer as to model to pick the correct printer script.  The lp spooler will be stopped and started for each addqueue command.&lt;BR /&gt;&lt;BR /&gt;In cases where the printer is not yet connected or powered on, you can use addqueue -l to list the printer ID numbers then use addqueue with the -i option to specify the printer model and addqueue will add the printer even though it is not reachable.  There will be a short timeout as addqueue tries to reach the printer.  Without the -i option, the printer must be online or addqueue will report that it could not contact the printer.</description>
      <pubDate>Tue, 26 Jun 2001 01:50:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-create-printer-in-jetadmin/m-p/2544176#M866232</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-06-26T01:50:13Z</dc:date>
    </item>
  </channel>
</rss>

