<?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 Migrate Print Queues in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936207#M288170</link>
    <description>I want to migrate around 350 Print queues from AIX to HP-UX.&lt;BR /&gt;&lt;BR /&gt;Most printers are connected using HP Jetdirect on Aix Machines ( LAser printers as well as line printers - dump model)&lt;BR /&gt;&lt;BR /&gt;Is there any scripts/commands which be helpfull for me to migrate the entire print queue&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Ajay</description>
    <pubDate>Thu, 01 Feb 2007 01:13:28 GMT</pubDate>
    <dc:creator>Ajaykrishnan K N</dc:creator>
    <dc:date>2007-02-01T01:13:28Z</dc:date>
    <item>
      <title>Migrate Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936207#M288170</link>
      <description>I want to migrate around 350 Print queues from AIX to HP-UX.&lt;BR /&gt;&lt;BR /&gt;Most printers are connected using HP Jetdirect on Aix Machines ( LAser printers as well as line printers - dump model)&lt;BR /&gt;&lt;BR /&gt;Is there any scripts/commands which be helpfull for me to migrate the entire print queue&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Ajay</description>
      <pubDate>Thu, 01 Feb 2007 01:13:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936207#M288170</guid>
      <dc:creator>Ajaykrishnan K N</dc:creator>
      <dc:date>2007-02-01T01:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936208#M288171</link>
      <description>Have a look at the following forum, may be useful:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1064849" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1064849&lt;/A&gt;</description>
      <pubDate>Thu, 01 Feb 2007 01:17:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936208#M288171</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2007-02-01T01:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936209#M288172</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;there is a utility named '/opt/hpnpl/bin/transferqueue'. The documentation states:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;     transferqueue transfers queues from one machine  to  another&lt;BR /&gt;     by retaining the configuration options that were set through&lt;BR /&gt;     Unix JetAdmin/JetDirect  Printer  Installer  Utility.   This&lt;BR /&gt;     script  will  ONLY  transfer  queues from HP-UX 10.x/11.x to&lt;BR /&gt;     HP-UX 10.x/11.x or Solaris 2.x to Solaris  2.x.   Transfered&lt;BR /&gt;     queues will only work in Network Printer Installer for Unix.&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;It does not explicitly tell us about AIX, but I would try...&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Fri, 02 Feb 2007 07:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936209#M288172</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-02-02T07:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936210#M288173</link>
      <description>I did this a long time ago...&lt;BR /&gt;&lt;BR /&gt;Steps taken to originally create the queues:&lt;BR /&gt;&lt;BR /&gt;Ran the following script on aix:&lt;BR /&gt;printer.name.list &amp;gt;printer.name.list.out&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;# Display all physical printers &lt;BR /&gt;exec 0&lt;TEMP.SRT&gt;&lt;/TEMP.SRT&gt;while read line&lt;BR /&gt;do&lt;BR /&gt;p=`echo ${line}|awk -F_ '{print $1}'`&lt;BR /&gt;ip=`nslookup ${p} |grep 156|grep -v 192.168.1.10 |awk -F: '{print $2}'`&lt;BR /&gt;echo ${p} ${ip}&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;192.168.1.10 = your primary dns server on AIX...&lt;BR /&gt;&lt;BR /&gt;Transfered printer.name.list.out to iprprt.&lt;BR /&gt;&lt;BR /&gt;Ran the following script on iprprt:&lt;BR /&gt;/opt/hpnpl/queue-admin addqueue&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;# script to add-delete queues&lt;BR /&gt;# Geoff Wild&lt;BR /&gt;#&lt;BR /&gt;if [ $# -lt 1 -o ( $# -gt 1 -a $# -lt 4 ) ]&lt;BR /&gt;then&lt;BR /&gt;echo "Usage:"&lt;BR /&gt;echo "queue-admin "command""&lt;BR /&gt;echo "Example:"&lt;BR /&gt;echo "queue-admin addqueue"&lt;BR /&gt;echo "queue-admin removequeue"&lt;BR /&gt;exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if [ $1 = "addqueue" ] ; then&lt;BR /&gt;exec 0&lt;PRINTER.NAME.LIST.OUT&gt;&lt;/PRINTER.NAME.LIST.OUT&gt;while read line&lt;BR /&gt;do&lt;BR /&gt;p=`echo ${line}|awk '{print $1}'`&lt;BR /&gt;echo "adding queue " ${p}&lt;BR /&gt;# 9998 is net_genericprinter Modelscript&lt;BR /&gt;$1 -i 9998 -h ${p}.pcacorp.net -q ${p}&lt;BR /&gt;done&lt;BR /&gt;else&lt;BR /&gt;lpshut&lt;BR /&gt;exec 0&lt;PRINTER.NAME.LIST.OUT&gt;&lt;/PRINTER.NAME.LIST.OUT&gt;while read line&lt;BR /&gt;do&lt;BR /&gt;p=`echo ${line}|awk '{print $1}'`&lt;BR /&gt;echo "removing queue " ${p}&lt;BR /&gt;lpadmin -x${p}&lt;BR /&gt;done&lt;BR /&gt;lpsched&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;That created all the SAP printers using the Generic Printer Model Script (9998).&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 02 Feb 2007 10:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936210#M288173</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-02-02T10:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936211#M288174</link>
      <description>Unless you are using custom code on the AIX system, there is no compatibility between the two OS's for print queues. On the AIX side, you need to develop a file of printer names and IP addresses, like this:&lt;BR /&gt; &lt;BR /&gt;laser21 12.34.56.78&lt;BR /&gt;laser44 23.45.67.89&lt;BR /&gt; &lt;BR /&gt;etc. The AIX system is talking to the HP printers using lpr/lpd protocol and not the preferred HP protocol using port 9100. But there is a very useful program on HP-UX that will create each printer queue from just those two parameters: addqueue. So using awk, you can change the file to read something like this:&lt;BR /&gt; &lt;BR /&gt;addqueue -q laser21 -h 12.34.56.78&lt;BR /&gt;addqueue -q laser44 -h 23.45.67.89&lt;BR /&gt; &lt;BR /&gt;Then just run the above as a script on HP-UX and you'll have all your queues built with the advantage of a significantly larger selection of options (see man net_ljx000)</description>
      <pubDate>Fri, 02 Feb 2007 21:50:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrate-print-queues/m-p/3936211#M288174</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-02-02T21:50:35Z</dc:date>
    </item>
  </channel>
</rss>

