<?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: JetAdmin Question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066480#M306763</link>
    <description>If you really have the command jetadmin (found in /opt/hpnp/bin) on 11.11, then someone loaded the obsolete (since 1999) jetadmin code on your system. You need to remove it and load the hppi (HP Printer Installer). As mentioned, the print queues will remain but they will have obsolete printer scripts and mix/match is not a good thing.&lt;BR /&gt; &lt;BR /&gt;Once you have installed the HPPI software, delete and re-add each printer (printer must be connected) using the removequeue and addqueue commands:&lt;BR /&gt; &lt;BR /&gt;removequeue -q myprint23&lt;BR /&gt;addqueue -q myprint23 -h 12.34.56.78&lt;BR /&gt; &lt;BR /&gt;That way, the generic network script will be correct and the individual printer scripts will be up to date. NOTE: if you made changes to model.orig scripts, you'll need to make the same changes to the new scripts. Since the majority of changes to printer scripts are usually banner options and duplex defaults, the modifyqueue command can do this for you (man modifyqueue). &lt;BR /&gt; &lt;BR /&gt;The old jetadmin never supported any new printers after 1999 and has known Y2K bugs. Model scripts for new printers can be downloaded and added to HPPI but the generic net_ljx000 script handles virtually all HP PCL printers. HPPI will choose the printer script automatically if the printer can be contacted.&lt;BR /&gt;&lt;BR /&gt;Note that I prefer IP address over hostname for printers. The complexities of maintaining dependable DNS entries for printers has been consistently painful so I just bypass the whole mess with IP's. And in case a printer moves, the above 2 commands will get it back again (no SAM needed).</description>
    <pubDate>Thu, 06 Sep 2007 16:00:57 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2007-09-06T16:00:57Z</dc:date>
    <item>
      <title>JetAdmin Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066477#M306760</link>
      <description>To all,&lt;BR /&gt;&lt;BR /&gt;wea re on pa-risc 11.11 and want to upgrade our JetAdmin, D.06.21 to E.10.24 prior to conversion to Itanium servers.  Does anyone see any proble with that?&lt;BR /&gt;&lt;BR /&gt;TIA,&lt;BR /&gt;&lt;BR /&gt;Chuck Ciesinski</description>
      <pubDate>Thu, 06 Sep 2007 11:38:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066477#M306760</guid>
      <dc:creator>Chuck Ciesinski</dc:creator>
      <dc:date>2007-09-06T11:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: JetAdmin Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066478#M306761</link>
      <description>Hi Chuck,&lt;BR /&gt;&lt;BR /&gt;I'm currently using 10.34 on 11.11 with no difficulties.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 06 Sep 2007 11:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066478#M306761</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-09-06T11:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: JetAdmin Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066479#M306762</link>
      <description>You should swremove the old JetAdmin software (which will leave your queues intact) and then swinstall the E.10.24 JetDirect software. You will then need to execute the "transferqueue local" command and specify "all" when prompted. This will modify your existing interface files to use the new path for the JetDirect executables. It takes only a few minutes at most to run.&lt;BR /&gt;&lt;BR /&gt;The only gotcha's are highly customized interface files which might require some manual editing but if you run the out of the box interface files (or only slightly customized versions of the same) then tranferqueue will do all the heavy lifting for you.&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Sep 2007 11:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066479#M306762</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-06T11:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: JetAdmin Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066480#M306763</link>
      <description>If you really have the command jetadmin (found in /opt/hpnp/bin) on 11.11, then someone loaded the obsolete (since 1999) jetadmin code on your system. You need to remove it and load the hppi (HP Printer Installer). As mentioned, the print queues will remain but they will have obsolete printer scripts and mix/match is not a good thing.&lt;BR /&gt; &lt;BR /&gt;Once you have installed the HPPI software, delete and re-add each printer (printer must be connected) using the removequeue and addqueue commands:&lt;BR /&gt; &lt;BR /&gt;removequeue -q myprint23&lt;BR /&gt;addqueue -q myprint23 -h 12.34.56.78&lt;BR /&gt; &lt;BR /&gt;That way, the generic network script will be correct and the individual printer scripts will be up to date. NOTE: if you made changes to model.orig scripts, you'll need to make the same changes to the new scripts. Since the majority of changes to printer scripts are usually banner options and duplex defaults, the modifyqueue command can do this for you (man modifyqueue). &lt;BR /&gt; &lt;BR /&gt;The old jetadmin never supported any new printers after 1999 and has known Y2K bugs. Model scripts for new printers can be downloaded and added to HPPI but the generic net_ljx000 script handles virtually all HP PCL printers. HPPI will choose the printer script automatically if the printer can be contacted.&lt;BR /&gt;&lt;BR /&gt;Note that I prefer IP address over hostname for printers. The complexities of maintaining dependable DNS entries for printers has been consistently painful so I just bypass the whole mess with IP's. And in case a printer moves, the above 2 commands will get it back again (no SAM needed).</description>
      <pubDate>Thu, 06 Sep 2007 16:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066480#M306763</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-09-06T16:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: JetAdmin Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066481#M306764</link>
      <description>Hi Chuck&lt;BR /&gt;The correct way of doing it would be to follow the advices you've got.&lt;BR /&gt;&lt;BR /&gt;We had a huge number of printers defined on our servers before and I had to do a "workaround" to get them fast up and running...&lt;BR /&gt;&lt;BR /&gt;What I saw was that more or less everything was identical... except for the fact that the /opt/hpnp was "changed" to /opt/hpnpl&lt;BR /&gt;So - I created a link...&lt;BR /&gt;  ln -s /opt/hpnpl /opt/hpnp&lt;BR /&gt;And - an alias for the old jetadmin command&lt;BR /&gt;  alias jetadmin='hppi'&lt;BR /&gt;&lt;BR /&gt;That might save you some work.... though it's a workaround and not according to the standard.&lt;BR /&gt;&lt;BR /&gt;We have later removed all printing on the HP-UX and rather use some small Linux boxes do the spooling for us.&lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
      <pubDate>Fri, 07 Sep 2007 10:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066481#M306764</guid>
      <dc:creator>Tor-Arne Nostdal</dc:creator>
      <dc:date>2007-09-07T10:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: JetAdmin Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066482#M306765</link>
      <description>Bill,  &lt;BR /&gt;&lt;BR /&gt;Unfortunately true.&lt;BR /&gt;&lt;BR /&gt;(/)#cd /opt/hpnp/bin&lt;BR /&gt;(/opt/hpnp/bin)#./jetadmin&lt;BR /&gt;&lt;BR /&gt;           *************************************************&lt;BR /&gt;           *                  MAIN MENU                    *&lt;BR /&gt;           *  HP JetAdmin Utility for UNIX (Rev. D.06.21)  *&lt;BR /&gt;           *************************************************&lt;BR /&gt;&lt;BR /&gt;       1) Configuration (super-user only):&lt;BR /&gt;            - configure printer, add printer to spooler&lt;BR /&gt;&lt;BR /&gt;We are using an older version, which works well with SAP, where we have device names and associated IP addresses.  Downloaded the new version Pete and Clay recommended and prepariong to test on an rx6600.&lt;BR /&gt;&lt;BR /&gt;Chuck&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Sep 2007 12:58:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066482#M306765</guid>
      <dc:creator>Chuck Ciesinski</dc:creator>
      <dc:date>2007-09-07T12:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: JetAdmin Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066483#M306766</link>
      <description>Chuck,&lt;BR /&gt;&lt;BR /&gt;The new version works great.  One caveat.  All your old model scripts point to the old /opt/hpnpn/. The newer software is changed to /opt/hpnpl.  Simply create a link from /opt/hpnpn to /opt/hpnpl and all the old model scripts will work.&lt;BR /&gt;&lt;BR /&gt;Did this many years ago when JetAdmin went away.&lt;BR /&gt;&lt;BR /&gt;Another option would be to update all the model script with the newer ones but then you will have to go back in and modify or awk in the proper PERIPH= and PORT=&lt;BR /&gt;&lt;BR /&gt;Try the 1st option.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Sep 2007 13:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066483#M306766</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-09-07T13:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: JetAdmin Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066484#M306767</link>
      <description>Just a note about jetadmin and hppi -- they are really clunky compared to addqueue, removequeue and modifyqueue. (these 3 commands are the same in both versions) I have removed and added almost 100 printers in less than 5 minutes with this simple script:&lt;BR /&gt; &lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;# Find all JetDirect printer names and IP addresses&lt;BR /&gt;#   and create remove and add scripts in /tmp&lt;BR /&gt;set -u&lt;BR /&gt;QTY=0&lt;BR /&gt;JETDIR="/opt/hpnpl/bin"&lt;BR /&gt;LPDIR="/etc/lp/interface"&lt;BR /&gt;RMPRN="/tmp/rmprn.sh"&lt;BR /&gt;ADDPRN="/tmp/addprn.sh"&lt;BR /&gt;umask 022&lt;BR /&gt;echo "# Remove JetDirect printers script" &amp;gt; $RMPRN&lt;BR /&gt;echo "# Add JetDirect printers script" &amp;gt; $ADDPRN&lt;BR /&gt; &lt;BR /&gt;lpshut&lt;BR /&gt; &lt;BR /&gt;for PRN in $(grep ^PERIPH= $LPDIR/*)&lt;BR /&gt;do&lt;BR /&gt; QUEUE=$(basename $(echo $PRN | cut -d: -f1))&lt;BR /&gt; IP=$(echo $PRN | cut -d= -f2)&lt;BR /&gt; echo "$JETDIR/removequeue -q $QUEUE" &amp;gt;&amp;gt; $RMPRN&lt;BR /&gt; echo "$JETDIR/addqueue -q $QUEUE -h $IP" &amp;gt;&amp;gt; $ADDPRN&lt;BR /&gt; let QTY=$QTY+1&lt;BR /&gt;done                                                                                                                                &lt;BR /&gt; &lt;BR /&gt;chmod 755 $RMPRN $ADDPRN&lt;BR /&gt;echo "# $QTY JetDirect printers found" &lt;BR /&gt;echo "# $QTY JetDirect printers found" &amp;gt;&amp;gt; $RMPRN&lt;BR /&gt;echo "# $QTY JetDirect printers found" &amp;gt;&amp;gt; $ADDPRN&lt;BR /&gt; &lt;BR /&gt;The results of this script generator will be 2 new scripts ready to run. The first is /tmp/rmprn.sh and running it will remove all the JetDirect printers (even though they were added by jetadmin). Then run /tmp/addprn.sh which puts them all back with their new scripts. You can run modifyqueue for selected printers to change options. Or you can modify the generator above to add the options: -t off -r off -b off.</description>
      <pubDate>Fri, 07 Sep 2007 19:03:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jetadmin-question/m-p/4066484#M306767</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-09-07T19:03:53Z</dc:date>
    </item>
  </channel>
</rss>

