<?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/2881222#M100976</link>
    <description>Neil,&lt;BR /&gt;&lt;BR /&gt;I've migrated my whole printers in one step from 10.20 to 11.o without troubles with this method.&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
    <pubDate>Tue, 14 Jan 2003 10:40:27 GMT</pubDate>
    <dc:creator>Jose Mosquera</dc:creator>
    <dc:date>2003-01-14T10:40:27Z</dc:date>
    <item>
      <title>Migrating printers.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881218#M100972</link>
      <description>I have a need to migrate the printers on one machine to another. Is there a simple way of doing this, without having to create all the printer configurations on the new machine from scratch.</description>
      <pubDate>Tue, 14 Jan 2003 09:45:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881218#M100972</guid>
      <dc:creator>Neil Harris</dc:creator>
      <dc:date>2003-01-14T09:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating printers.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881219#M100973</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;HP does not support the copying of the lp spooler configuration from one system&lt;BR /&gt;to another. The IO configuration of the target system may be different than IO&lt;BR /&gt;configuration on the source system. The device files for local printers would&lt;BR /&gt;be different on the new system, and the spooler configuration for those&lt;BR /&gt;printers contain the device files. The print queues may not work.&lt;BR /&gt;&lt;BR /&gt;A procedure that has been known to work in most circumstances is as follows :&lt;BR /&gt;&lt;BR /&gt;On the source system:&lt;BR /&gt;&lt;BR /&gt;Execute&lt;BR /&gt;-&amp;gt; SAM&lt;BR /&gt;-&amp;gt; Printers and Plotters&lt;BR /&gt;-&amp;gt; Lp Spooler&lt;BR /&gt;-&amp;gt; Save/Restore Spooler Configuration&lt;BR /&gt;&lt;BR /&gt;Choose&lt;BR /&gt;-&amp;gt; Actions&lt;BR /&gt;-&amp;gt; Save Spooler Configuration&lt;BR /&gt;&lt;BR /&gt;This will save all the information necessary to rebuild the spooler into the&lt;BR /&gt;directory /var/sam/lp.&lt;BR /&gt;&lt;BR /&gt;Tar this directory (/var/sam/lp) :&lt;BR /&gt;&lt;BR /&gt;# tar cvf /tmp/lp.tar /var/sam/lp&lt;BR /&gt;&lt;BR /&gt;Copy the resulting tar file, lp.tar, onto the target system.&lt;BR /&gt;&lt;BR /&gt;Unpack the lp.tar file on the target system :&lt;BR /&gt;&lt;BR /&gt;# tar xvf lp.tar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Execute&lt;BR /&gt;-&amp;gt; SAM&lt;BR /&gt;-&amp;gt; Printers and Plotters&lt;BR /&gt;-&amp;gt; Lp Spooler&lt;BR /&gt;-&amp;gt; Save/Restore Spooler Configuration&lt;BR /&gt;&lt;BR /&gt;Choose&lt;BR /&gt;-&amp;gt; Actions&lt;BR /&gt;-&amp;gt; Restore Spooler Configuration&lt;BR /&gt;&lt;BR /&gt;This will build the lp spooler configuration on the target system using the&lt;BR /&gt;information from the source system, creating a "clone" of the old system.&lt;BR /&gt;&lt;BR /&gt;An error may occur when restoring the spooler if the root umask is set to&lt;BR /&gt;something other than 022. The permission on /var/sam/lp and all file&lt;BR /&gt;under it could be changed from their defaults, 755 or rwxr-xr-x, with the result&lt;BR /&gt;that SAM cannot access the files to perform the restore. The error received in&lt;BR /&gt;SAMlog would be something like:&lt;BR /&gt;&lt;BR /&gt; ERROR A problem occurred doing "lpadmin -ptrec_stor&lt;BR /&gt;-i/var/sam/lp/interface/trec_st or -v/dev/null ". Stderr from this command is&lt;BR /&gt;"/usr/sbin/lpadmin: can't access file "/var/sam/lp/interface/trec_stor"".&lt;BR /&gt;* Failed to restore trec_stor.&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 09:54:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881219#M100973</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2003-01-14T09:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating printers.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881220#M100974</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Make in source machine: SAM/Printers and Ploters/LP Spooler/Save-RestoreSpooler Configuration/Action/Save Spooler Configuration.&lt;BR /&gt;&lt;BR /&gt;Go to /var/sam/lp and tar avery dirs inside&lt;BR /&gt;&lt;BR /&gt;ftp this tar file to the target host and put on /var/sam/lp&lt;BR /&gt;&lt;BR /&gt;Before explode it on the target host delete first any dir inside. Now explode the tar file.&lt;BR /&gt;&lt;BR /&gt;In target host SAM/Printers and Ploters/LP Spooler/Save-RestoreSpooler Configuration/Action/Restore Spooler&lt;BR /&gt;&lt;BR /&gt;That's All..!&lt;BR /&gt;&lt;BR /&gt;Rgds</description>
      <pubDate>Tue, 14 Jan 2003 09:59:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881220#M100974</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2003-01-14T09:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating printers.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881221#M100975</link>
      <description>Thank you for that Eran, I should also have said that there are prints already configured on the target machine. I am moving from 10.20 to 11.00, so I suspect from your words at the begining of the reply that I am going to have to do each one by hand.</description>
      <pubDate>Tue, 14 Jan 2003 10:00:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881221#M100975</guid>
      <dc:creator>Neil Harris</dc:creator>
      <dc:date>2003-01-14T10:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating printers.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881222#M100976</link>
      <description>Neil,&lt;BR /&gt;&lt;BR /&gt;I've migrated my whole printers in one step from 10.20 to 11.o without troubles with this method.&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Tue, 14 Jan 2003 10:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881222#M100976</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2003-01-14T10:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating printers.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881223#M100977</link>
      <description>I use scripts for generating all the printers.&lt;BR /&gt;&lt;BR /&gt;For remote printers:&lt;BR /&gt;&lt;BR /&gt;Generate a file with printers definition in system 10.20&lt;BR /&gt;&lt;BR /&gt;lpstat -v | grep remote | cut -d" " -f 7,9 &amp;gt; /tmp/remote_printers&lt;BR /&gt;&lt;BR /&gt;sed -e s/\ \/\|/g /tmp/remote_printers &amp;gt; /tmp/remote_printers2&lt;BR /&gt;&lt;BR /&gt;Copy /tmp/remote_printers2 to system 11.11&lt;BR /&gt;&lt;BR /&gt;lpshut&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for i in `cat /tmp/remote_printers2`&lt;BR /&gt; do &lt;BR /&gt;   a=`echo $i |cut -d"|" -f1`&lt;BR /&gt;   b=`echo $i |cut -d"|" -f1`&lt;BR /&gt;    lpadmin -p$a -orm$b -orp$a -mrmodel        -v/dev/null -orc -ob3 -ocmrcmodel -osmrsmodel ;&lt;BR /&gt; done&lt;BR /&gt;&lt;BR /&gt;lpsched&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For DTC printers is similar, and for JETDIRECT printers you need the NAME and IP.&lt;BR /&gt;&lt;BR /&gt;To obtain IP for JETDIRECT printer:&lt;BR /&gt;&lt;BR /&gt;cat /etc/lp/interface/printer_name | grep ^PERI&lt;BR /&gt;&lt;BR /&gt;PERIPH=10.72.2.4&lt;BR /&gt;&lt;BR /&gt;Hope this help.&lt;BR /&gt;&lt;BR /&gt;(Sorry for my poor english</description>
      <pubDate>Wed, 15 Jan 2003 07:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881223#M100977</guid>
      <dc:creator>Pepe Jimenez Muñoz</dc:creator>
      <dc:date>2003-01-15T07:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating printers.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881224#M100978</link>
      <description>I have done as suggested, but still am having no luck to get print to flow.  Printers show on original system with location shoing --, but on new system they show /dev/null.&lt;BR /&gt;&lt;BR /&gt;Is it possible there is a permission issue or something else to look for?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Tue, 29 Mar 2005 08:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-printers/m-p/2881224#M100978</guid>
      <dc:creator>douglas stradford</dc:creator>
      <dc:date>2005-03-29T08:44:06Z</dc:date>
    </item>
  </channel>
</rss>

