<?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: Migrating Printers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003534#M424972</link>
    <description>Thanks for all the help guys, in the end I used Jims reccomendation of the transferqueue script.&lt;BR /&gt;Although advice I can give is if the TRANSFER.UNX file tells you to tar up the /etc/lp/interface directory, do it like this instead... "tar -cvf /tmp/queues.tar `grep hpnp * | awk -F':' '{print $1}' | uniq` model.orig/*"&lt;BR /&gt;or you will tar up the lost+found directory and the import will fall over!&lt;BR /&gt;thanks again&lt;BR /&gt;&lt;BR /&gt;Phil</description>
    <pubDate>Tue, 19 Sep 2006 03:55:44 GMT</pubDate>
    <dc:creator>Philip Dunn_1</dc:creator>
    <dc:date>2006-09-19T03:55:44Z</dc:date>
    <item>
      <title>Migrating Printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003527#M424965</link>
      <description>Hi to all, hope your friday is going well...?&lt;BR /&gt;Having a small issue after migrating some printers from an 11.0 box to 11.11.&lt;BR /&gt;&lt;BR /&gt;Copied /var/sam/lp direcory to new server and imported using sam save/restore option.&lt;BR /&gt;&lt;BR /&gt;All print queues now exist on the new box, but unfortunately non of them print.&lt;BR /&gt;&lt;BR /&gt;if i delete and recreate a single queue it prints fine, any ideas to resolve all print queues?&lt;BR /&gt;&lt;BR /&gt;thanks for any help you can give&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Fri, 15 Sep 2006 08:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003527#M424965</guid>
      <dc:creator>Philip Dunn_1</dc:creator>
      <dc:date>2006-09-15T08:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating Printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003528#M424966</link>
      <description>I think you need to tar /var/spool/lp and restore it.</description>
      <pubDate>Fri, 15 Sep 2006 08:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003528#M424966</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-09-15T08:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating Printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003529#M424967</link>
      <description>Can't do it that way - you have to:&lt;BR /&gt;&lt;BR /&gt;/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/ &lt;BR /&gt;cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/ &lt;BR /&gt;&lt;BR /&gt;tar up /var/sam/lp/ and copy to new server...&lt;BR /&gt;&lt;BR /&gt;un tar on new then:&lt;BR /&gt;&lt;BR /&gt;/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 15 Sep 2006 08:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003529#M424967</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-09-15T08:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating Printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003530#M424968</link>
      <description>Do files go into the queues but just sit there, or are you unable to queue items? Do the queues show as enabled?&lt;BR /&gt;&lt;BR /&gt;Did you restart the lpsched process? (lpshut &amp;amp;&amp;amp; lpsched)&lt;BR /&gt;&lt;BR /&gt;Is there anything in /var/adm/lp/lpd.log?</description>
      <pubDate>Fri, 15 Sep 2006 08:41:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003530#M424968</guid>
      <dc:creator>Jonathan Fife</dc:creator>
      <dc:date>2006-09-15T08:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating Printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003531#M424969</link>
      <description>Phil,&lt;BR /&gt;I've been down this road in the past. Who wants to recreate 200+ printer on another machine, right. Well, here you go. &lt;BR /&gt;&lt;BR /&gt;cd /opt/hpnpl&lt;BR /&gt;and read the 'TRANSFER.UNX' file. It will explain everything you need to do to transfer all your printers from 10.x to 11.x / 11.x to 11.x / 10.x to 10.x etc. But it will not transfer to Solaris from HP. They have to be of simalar os's for it to transfer properly.&lt;BR /&gt;&lt;BR /&gt;In breif these are the steps you'll have to take.&lt;BR /&gt;&lt;BR /&gt;1) login to the source system.&lt;BR /&gt;   cd /etc/lp/interface&lt;BR /&gt;   rm *.old&lt;BR /&gt;&lt;BR /&gt;2) cd /opt/hpnpl/bin&lt;BR /&gt;   ./transferqueue backup&lt;BR /&gt;&lt;BR /&gt;3) ftp the file /tmp/queues.tar to &lt;BR /&gt;   the destination/target&lt;BR /&gt;   machine /tmp/queues.tar &lt;BR /&gt;&lt;BR /&gt;4) login to the target machine&lt;BR /&gt;   cd /opt/hpnpl/bin&lt;BR /&gt;   ./transferqueue &lt;BR /&gt;&lt;BR /&gt;This should transfer all your printers from one machine to the other.&lt;BR /&gt;&lt;BR /&gt;Good luck and let us know how you make out.&lt;BR /&gt;Have a great weekend&lt;BR /&gt;Jim</description>
      <pubDate>Fri, 15 Sep 2006 14:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003531#M424969</guid>
      <dc:creator>Jim Purtell</dc:creator>
      <dc:date>2006-09-15T14:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating Printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003532#M424970</link>
      <description>Phil,&lt;BR /&gt;I've been down this road in the past. Who wants to recreate 200+ printers on another machine, right. Well, here you go. &lt;BR /&gt;&lt;BR /&gt;cd /opt/hpnpl&lt;BR /&gt;and read the 'TRANSFER.UNX' file. It will explain everything you need to do to transfer all your printers from 10.x to 11.x / 11.x to 11.x / 10.x to 10.x etc. But it will not transfer to Solaris from HP. They have to be of simalar os's for it to transfer properly.&lt;BR /&gt;&lt;BR /&gt;In breif these are the steps you'll have to take.&lt;BR /&gt;&lt;BR /&gt;1) login to the source system.&lt;BR /&gt;   cd /etc/lp/interface&lt;BR /&gt;   rm *.old&lt;BR /&gt;&lt;BR /&gt;2) cd /opt/hpnpl/bin&lt;BR /&gt;   ./transferqueue backup&lt;BR /&gt;&lt;BR /&gt;3) ftp the file /tmp/queues.tar to &lt;BR /&gt;   the destination/target&lt;BR /&gt;   machine /tmp/queues.tar &lt;BR /&gt;&lt;BR /&gt;4) login to the target machine&lt;BR /&gt;   cd /opt/hpnpl/bin&lt;BR /&gt;   ./transferqueue &lt;BR /&gt;&lt;BR /&gt;This should transfer all your printers from one machine to the other.&lt;BR /&gt;&lt;BR /&gt;Good luck and let us know how you make out.&lt;BR /&gt;Have a great weekend&lt;BR /&gt;Jim</description>
      <pubDate>Fri, 15 Sep 2006 14:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003532#M424970</guid>
      <dc:creator>Jim Purtell</dc:creator>
      <dc:date>2006-09-15T14:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating Printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003533#M424971</link>
      <description>The transferqueue command will only work on printers that were defined with the hppi command, that is, the printer has an HP JetDirect LAN card. The other two possibilities, direct-connect (serial or parallel), and remote print servers (PC-based, Linux or Unix-based, or non-HP printer LAN cards) will not be transferred. There are MANY different directories maintained by the spooler (/var/spool /etc/lp /var/adm/lp /usr/lib/lp) and some of the control and status files may be incompatible with newer versions of HP-UX.&lt;BR /&gt; &lt;BR /&gt;So the sam lpmgr is the only way to replicate the spooling system on another machine (without writing a couple of scripts). Note that SAM is the recommended way to save or restore the configuration but by examining SAM's log, the actual task uses lpmgr. NOte that lpmgr will preserve direct-connect, remote and network printers but will *NOT* preserve any print jobs that are pending.</description>
      <pubDate>Fri, 15 Sep 2006 17:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003533#M424971</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-09-15T17:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating Printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003534#M424972</link>
      <description>Thanks for all the help guys, in the end I used Jims reccomendation of the transferqueue script.&lt;BR /&gt;Although advice I can give is if the TRANSFER.UNX file tells you to tar up the /etc/lp/interface directory, do it like this instead... "tar -cvf /tmp/queues.tar `grep hpnp * | awk -F':' '{print $1}' | uniq` model.orig/*"&lt;BR /&gt;or you will tar up the lost+found directory and the import will fall over!&lt;BR /&gt;thanks again&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Tue, 19 Sep 2006 03:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/5003534#M424972</guid>
      <dc:creator>Philip Dunn_1</dc:creator>
      <dc:date>2006-09-19T03:55:44Z</dc:date>
    </item>
  </channel>
</rss>

