<?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: printers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116118#M149822</link>
    <description>the lpmgr -S command creates a set of files and directories (not a single file):&lt;BR /&gt;&lt;BR /&gt;#/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp&lt;BR /&gt;#ls -ltr /var/sam/lp&lt;BR /&gt;total 12&lt;BR /&gt;drwxrwxrwx   3 root       sys           1024 Nov 11 16:45 member&lt;BR /&gt;drwxrwxrwx   2 root       sys           1024 Nov 11 16:45 cinterface&lt;BR /&gt;drwxrwxrwx   2 root       sys           1024 Nov 11 16:45 sinterface&lt;BR /&gt;drwxrwxrwx   2 root       sys             96 Nov 11 16:45 class&lt;BR /&gt;drwxrwxrwx   2 root       sys             96 Nov 11 16:45 dev&lt;BR /&gt;drwxrwxrwx   3 root       sys           1024 Nov 11 16:45 interface&lt;BR /&gt;-rw-rw-rw-   1 root       sys            261 Nov 11 16:45 lpinfo&lt;BR /&gt;-rwxr-xr-x   1 root       sys              0 Nov 11 16:45 default&lt;BR /&gt;-rw-rw-rw-   1 root       sys             18 Nov 11 16:45 timestamp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Just tar it to one file using:&lt;BR /&gt;#cd /var/sam/lp&lt;BR /&gt;#tar cvf ./lp.tar .&lt;BR /&gt;&lt;BR /&gt;and ftp it to the other system. Before using &lt;BR /&gt;lpmgr -R, untar the file lp.tar to the directory /var/sam/lp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can also tar the contents of the /var/sam/lp directory of the exporting system to a tape&lt;BR /&gt;#cd /var/sam/lp&lt;BR /&gt;#tar cvf /dev/rmt/0m .&lt;BR /&gt;&lt;BR /&gt;and restore the data in the target server:&lt;BR /&gt;#cd /var/sam/lp&lt;BR /&gt;#tar xvf /dev/rmt/0m&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Nov 2003 10:50:05 GMT</pubDate>
    <dc:creator>Mister_Z</dc:creator>
    <dc:date>2003-11-11T10:50:05Z</dc:date>
    <item>
      <title>printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116110#M149814</link>
      <description>I have setup a test box and would like to bring over all the users and the printers.  Both boxes are hp9000 running hp/ux 11.00.  What are all do I need to bring over to make the printers available on both boxes?</description>
      <pubDate>Tue, 11 Nov 2003 10:11:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116110#M149814</guid>
      <dc:creator>Jeff Hagstrom</dc:creator>
      <dc:date>2003-11-11T10:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116111#M149815</link>
      <description>Assuming you are not using Openspool or some other printing horror.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Copy over the following directories&lt;BR /&gt; &lt;BR /&gt;/var/spool/lp&lt;BR /&gt;/etc/lp&lt;BR /&gt; &lt;BR /&gt;Stop the scheduler with "lpshut", restart it with "lpsched".&lt;BR /&gt; &lt;BR /&gt;If they are network printers and are not in "DNS", put them in /etc/hosts.&lt;BR /&gt; &lt;BR /&gt;I think thats about it.</description>
      <pubDate>Tue, 11 Nov 2003 10:16:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116111#M149815</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-11-11T10:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116112#M149816</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;I attach a procedure to migrate the spooler system.&lt;BR /&gt;&lt;BR /&gt;HTH,</description>
      <pubDate>Tue, 11 Nov 2003 10:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116112#M149816</guid>
      <dc:creator>Mister_Z</dc:creator>
      <dc:date>2003-11-11T10:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116113#M149817</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;And for users you'll need:&lt;BR /&gt;&lt;BR /&gt;1) /etc/passwd&lt;BR /&gt;2) /etc/group&lt;BR /&gt;3) /home  #or wherever you keep you home dirs&lt;BR /&gt;4) /tcb  #IF running Trusted. Will need entire tree below.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 11 Nov 2003 10:22:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116113#M149817</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-11-11T10:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116114#M149818</link>
      <description>You can also copy the printer defenitions using SAM:&lt;BR /&gt;&lt;BR /&gt;sam -&amp;gt; printers and plotters -&amp;gt; lp spooler -&amp;gt; Save/restore spooler configuration.&lt;BR /&gt;&lt;BR /&gt;If you are using Jetdirect/jetadmin software, check the transferqueue command too.</description>
      <pubDate>Tue, 11 Nov 2003 10:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116114#M149818</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-11-11T10:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116115#M149819</link>
      <description>Juan:  I wanted to use sam to save the printers, but where does it get saved to?  I need to move all the printers to another box and restore them there?  What files are saved and where? And do they get put back in the same place to restore them?</description>
      <pubDate>Tue, 11 Nov 2003 10:32:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116115#M149819</guid>
      <dc:creator>Jeff Hagstrom</dc:creator>
      <dc:date>2003-11-11T10:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116116#M149820</link>
      <description>Using the command line:&lt;BR /&gt;&lt;BR /&gt;To backup the spooler system (export):&lt;BR /&gt;#/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp&lt;BR /&gt;&lt;BR /&gt;this will create a file with all the spooler configuration under "/var/sam/lp". Just ftp it to the system where you want to migrate the spooler to (.i.e the same directory). In this system you have to issue:&lt;BR /&gt;#/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp&lt;BR /&gt;&lt;BR /&gt;to import the spooler data.</description>
      <pubDate>Tue, 11 Nov 2003 10:40:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116116#M149820</guid>
      <dc:creator>Mister_Z</dc:creator>
      <dc:date>2003-11-11T10:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116117#M149821</link>
      <description>For your last question about saving files with SAM:&lt;BR /&gt;&lt;BR /&gt;When you choose the action - Save spooler configuration, it will save the necessary information to /var/sam/lp directory. Transfer this directory to the new system (through network or tape) on the same location. Then do a Restore configuration there from SAM.&lt;BR /&gt;&lt;BR /&gt;You need to make sure that the device files and locations of printer are same at both places. Also when you transfer the files, make sure that the files are with the same permissions.</description>
      <pubDate>Tue, 11 Nov 2003 10:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116117#M149821</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-11-11T10:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116118#M149822</link>
      <description>the lpmgr -S command creates a set of files and directories (not a single file):&lt;BR /&gt;&lt;BR /&gt;#/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp&lt;BR /&gt;#ls -ltr /var/sam/lp&lt;BR /&gt;total 12&lt;BR /&gt;drwxrwxrwx   3 root       sys           1024 Nov 11 16:45 member&lt;BR /&gt;drwxrwxrwx   2 root       sys           1024 Nov 11 16:45 cinterface&lt;BR /&gt;drwxrwxrwx   2 root       sys           1024 Nov 11 16:45 sinterface&lt;BR /&gt;drwxrwxrwx   2 root       sys             96 Nov 11 16:45 class&lt;BR /&gt;drwxrwxrwx   2 root       sys             96 Nov 11 16:45 dev&lt;BR /&gt;drwxrwxrwx   3 root       sys           1024 Nov 11 16:45 interface&lt;BR /&gt;-rw-rw-rw-   1 root       sys            261 Nov 11 16:45 lpinfo&lt;BR /&gt;-rwxr-xr-x   1 root       sys              0 Nov 11 16:45 default&lt;BR /&gt;-rw-rw-rw-   1 root       sys             18 Nov 11 16:45 timestamp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Just tar it to one file using:&lt;BR /&gt;#cd /var/sam/lp&lt;BR /&gt;#tar cvf ./lp.tar .&lt;BR /&gt;&lt;BR /&gt;and ftp it to the other system. Before using &lt;BR /&gt;lpmgr -R, untar the file lp.tar to the directory /var/sam/lp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can also tar the contents of the /var/sam/lp directory of the exporting system to a tape&lt;BR /&gt;#cd /var/sam/lp&lt;BR /&gt;#tar cvf /dev/rmt/0m .&lt;BR /&gt;&lt;BR /&gt;and restore the data in the target server:&lt;BR /&gt;#cd /var/sam/lp&lt;BR /&gt;#tar xvf /dev/rmt/0m&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Nov 2003 10:50:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printers/m-p/3116118#M149822</guid>
      <dc:creator>Mister_Z</dc:creator>
      <dc:date>2003-11-11T10:50:05Z</dc:date>
    </item>
  </channel>
</rss>

