<?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: Transfer Print Queue Entries in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007580#M425855</link>
    <description>Follow these steps to transfer the entire printer subsystem:&lt;BR /&gt;&lt;BR /&gt;1) Install JetDirect (NOT JetAdmin) software on the new box.&lt;BR /&gt;&lt;BR /&gt;2) Make DNS, NIS, and/or hosts file entries on the new box so that printer hostnames can be resolved.&lt;BR /&gt;&lt;BR /&gt;3) On the old box, do an lpstat and look for any old or hung printjobs and cancel them. &lt;BR /&gt;&lt;BR /&gt;4) lpshut&lt;BR /&gt;   cd /&lt;BR /&gt;   find ./var/spool/lp ./etc/lp -print | cpio -ocv &amp;gt; /var/tmp/lp.cpio&lt;BR /&gt;&lt;BR /&gt;5) Transfer using rcp, ftp, ... /var/tmp/lp.cpio from the old box to the new.&lt;BR /&gt;&lt;BR /&gt;6) On the new box:&lt;BR /&gt;   lpshut&lt;BR /&gt;   cd /&lt;BR /&gt;   find ./var/spool/lp ./etc/lp -print | cpio -ocv &amp;gt; /var/tmp/lp.cpio.safe (just in case)&lt;BR /&gt;   cpio -icvdum &amp;lt; /var/tmp/lp.cpio&lt;BR /&gt;&lt;BR /&gt;7) Now edit your /var/spool/lp/interface/myprinter files to fix any bogus "PERIPH=xx.xx.xx.xx" entries possibly changing IP addresses to hostnames while you are at it.&lt;BR /&gt;&lt;BR /&gt;8) "/opt/hpnpl/bin/transferqueue local"&lt;BR /&gt;and answer "all" when prompted. This will convert any existing JetAdmin interface files to use JetDirect.&lt;BR /&gt;&lt;BR /&gt;9) lpsched&lt;BR /&gt;&lt;BR /&gt;All should be well.&lt;BR /&gt;&lt;BR /&gt;It's not possible to transfer a single printer merely by copying files. Yopu have to run addqueue or lpadmin commands to accomplish this task.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 09 Oct 2006 15:30:26 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-10-09T15:30:26Z</dc:date>
    <item>
      <title>Transfer Print Queue Entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007576#M425851</link>
      <description>I will, within the next month, need to setup print queues in a new UNIX server - duplicates of the queue entries from my old server. &lt;BR /&gt;Old Server: N4000 HP/UX 11.11&lt;BR /&gt;New Server: rp4440 HP/UX 11i&lt;BR /&gt;Unfortunately some of the oldest entries were made using JetAdmin and the TCP/IP address - with the name changed from the address to a proper name during the process.  Now I need to find the address the queue was created with.  The printers were not added into DNS or QIP.  I cannot do a ping or nslookup on the name to obtain the address.&lt;BR /&gt;Question-1:  Is there a file that keeps the original configuration as print queues are created - that would have the TCP/IP addresses the queue was created with?&lt;BR /&gt;Question-2:  What files need to be transferred to duplicate the full print queue from the old server to the new one?&lt;BR /&gt;Question-3:  What files need to be transferred to duplicate a single print queue from the old server to the new one?&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Mon, 09 Oct 2006 13:36:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007576#M425851</guid>
      <dc:creator>Glenn Mitchell_2</dc:creator>
      <dc:date>2006-10-09T13:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer Print Queue Entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007577#M425852</link>
      <description>Printers added with JetAdmin are "Network" printers in HP-UX speak. Look in the file /var/spool/lp/interface/printer_name andf there will be a line "PERIPH=xx.xx.xx.xx" where xx.xx.xx.xx is either an IP address or a hostname.&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Oct 2006 13:46:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007577#M425852</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-10-09T13:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer Print Queue Entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007578#M425853</link>
      <description>voce uses the Sam with it podera to see all configuracoes of printers including its IPS</description>
      <pubDate>Mon, 09 Oct 2006 13:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007578#M425853</guid>
      <dc:creator>Calandrello</dc:creator>
      <dc:date>2006-10-09T13:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer Print Queue Entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007579#M425854</link>
      <description>Thank you.  I can now find the names and/addresses. Any help with Q2 and Q3?&lt;BR /&gt;Question-2: What files need to be transferred to duplicate the full print queue from the old server to the new one?&lt;BR /&gt;Question-3: What files need to be transferred to duplicate a single print queue from the old server to the new one?&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Oct 2006 14:59:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007579#M425854</guid>
      <dc:creator>Glenn Mitchell_2</dc:creator>
      <dc:date>2006-10-09T14:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer Print Queue Entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007580#M425855</link>
      <description>Follow these steps to transfer the entire printer subsystem:&lt;BR /&gt;&lt;BR /&gt;1) Install JetDirect (NOT JetAdmin) software on the new box.&lt;BR /&gt;&lt;BR /&gt;2) Make DNS, NIS, and/or hosts file entries on the new box so that printer hostnames can be resolved.&lt;BR /&gt;&lt;BR /&gt;3) On the old box, do an lpstat and look for any old or hung printjobs and cancel them. &lt;BR /&gt;&lt;BR /&gt;4) lpshut&lt;BR /&gt;   cd /&lt;BR /&gt;   find ./var/spool/lp ./etc/lp -print | cpio -ocv &amp;gt; /var/tmp/lp.cpio&lt;BR /&gt;&lt;BR /&gt;5) Transfer using rcp, ftp, ... /var/tmp/lp.cpio from the old box to the new.&lt;BR /&gt;&lt;BR /&gt;6) On the new box:&lt;BR /&gt;   lpshut&lt;BR /&gt;   cd /&lt;BR /&gt;   find ./var/spool/lp ./etc/lp -print | cpio -ocv &amp;gt; /var/tmp/lp.cpio.safe (just in case)&lt;BR /&gt;   cpio -icvdum &amp;lt; /var/tmp/lp.cpio&lt;BR /&gt;&lt;BR /&gt;7) Now edit your /var/spool/lp/interface/myprinter files to fix any bogus "PERIPH=xx.xx.xx.xx" entries possibly changing IP addresses to hostnames while you are at it.&lt;BR /&gt;&lt;BR /&gt;8) "/opt/hpnpl/bin/transferqueue local"&lt;BR /&gt;and answer "all" when prompted. This will convert any existing JetAdmin interface files to use JetDirect.&lt;BR /&gt;&lt;BR /&gt;9) lpsched&lt;BR /&gt;&lt;BR /&gt;All should be well.&lt;BR /&gt;&lt;BR /&gt;It's not possible to transfer a single printer merely by copying files. Yopu have to run addqueue or lpadmin commands to accomplish this task.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Oct 2006 15:30:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007580#M425855</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-10-09T15:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer Print Queue Entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007581#M425856</link>
      <description>Thank you for your help.  I'll follow the instructions to copy over the entire queue(s).&lt;BR /&gt;SAM does not show the TCP/IP addresses the individual queues were setup with.</description>
      <pubDate>Mon, 09 Oct 2006 15:51:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/transfer-print-queue-entries/m-p/5007581#M425856</guid>
      <dc:creator>Glenn Mitchell_2</dc:creator>
      <dc:date>2006-10-09T15:51:34Z</dc:date>
    </item>
  </channel>
</rss>

