<?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: Printer Synchronization in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483081#M213673</link>
    <description>Are you using the native LP spooler or "HP Distributed Print Service"?&lt;BR /&gt;&lt;BR /&gt;My method was for the native spooler....&lt;BR /&gt;&lt;BR /&gt;Sounds like you are in fact using HPDPS...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90156/index.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90156/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Sorry - not familiar with it.....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Thu, 10 Feb 2005 14:33:31 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2005-02-10T14:33:31Z</dc:date>
    <item>
      <title>Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483073#M213665</link>
      <description>Ok...here is what I have and I am not having luck finding information about it.&lt;BR /&gt;&lt;BR /&gt;We have 3 clusters set up on 6 partitions between to 9000s (i think they are 9000s, i could be wrong).  Anyway, we have created like 25 printers and need to keep them synchronized between the partitions.  I am thinking that a perl script or sh script would suffice, and I am sure someone else has run into this problem before, and would love to see how they handled it as opposed to using sam to create/modify/maintain a current 25 printers six times as opposed to the greatly increased number when our application finally gets rolled out to all 9 locations.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Thu, 10 Feb 2005 11:11:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483073#M213665</guid>
      <dc:creator>Jon Schneider_1</dc:creator>
      <dc:date>2005-02-10T11:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483074#M213666</link>
      <description>This is actually rather easy:&lt;BR /&gt;&lt;BR /&gt;Setup all the printers on the "master" host.&lt;BR /&gt;Do an lpstat -t and look for any old/hung jobs and cancel them -- no point in copying that over. Now do an 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;lpsched&lt;BR /&gt;&lt;BR /&gt;Now on each of your other hosts:&lt;BR /&gt;ftp or rcp the /var/tmp/lp.cpio file from the master.&lt;BR /&gt;lpshut&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;find ./var/spool/lp ./etc/lp -print | cpio -ocv &amp;gt; /var/tmp/lp.cpio.save # just to be safe&lt;BR /&gt;cpio -icvdum &amp;lt; /var/tmp/lp.cpio&lt;BR /&gt;lpsched&lt;BR /&gt;&lt;BR /&gt;Now all your printers should be in sync. You must also make sure that all the printer hostnames are correctly resolved but DNS/LDAP/ or NIS/NIS+ makes that easy. I also assume that you have installed the JetDirect software (if needed) everywhere.&lt;BR /&gt;&lt;BR /&gt;This approach is rather easy to script as a bunch of remsh's.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2005 11:24:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483074#M213666</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-02-10T11:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483075#M213667</link>
      <description>Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! &lt;BR /&gt;&lt;BR /&gt;This looks like it will solve my problem!  I am going to test it very soon!&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Thu, 10 Feb 2005 11:28:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483075#M213667</guid>
      <dc:creator>Jon Schneider_1</dc:creator>
      <dc:date>2005-02-10T11:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483076#M213668</link>
      <description>Why have printers configured on all clusters at all?  Why not setup a printing package on one of the clusters - and point all servers to it instead.   That's what I do...&lt;BR /&gt;&lt;BR /&gt;If you insist on copying between servers, here's another method:&lt;BR /&gt;&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;Then tar up /var/sam/lp/, copy to other servers, un tar it on them and:&lt;BR /&gt;&lt;BR /&gt;/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2005 11:29:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483076#M213668</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-02-10T11:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483077#M213669</link>
      <description>Each cluster serves a different purpose in its own separate environment...one is production, one is test (for pristine testing has to mirror production) and the final is D/R, which of course has to stand on its own.</description>
      <pubDate>Thu, 10 Feb 2005 11:32:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483077#M213669</guid>
      <dc:creator>Jon Schneider_1</dc:creator>
      <dc:date>2005-02-10T11:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483078#M213670</link>
      <description>Similiar to my environment - I have a Prod Cluster, a QA one - but test is non clustered.&lt;BR /&gt;&lt;BR /&gt;I have test print to Prod cluster (as well as some other non clustered production apps)&lt;BR /&gt;&lt;BR /&gt;My QA has it's own print spool - and I use the method I posted above to update once a month.&lt;BR /&gt;&lt;BR /&gt;For DR - my QA system becomes Prod - with SRDF...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2005 11:40:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483078#M213670</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-02-10T11:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483079#M213671</link>
      <description>Ok...the first method acted like it was doing it but didn't update the remote printer name.  The second method just told me that /etc/lp/member is empty.  This was done in sam with HP Distributed Print Service if that means anything.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Thu, 10 Feb 2005 13:11:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483079#M213671</guid>
      <dc:creator>Jon Schneider_1</dc:creator>
      <dc:date>2005-02-10T13:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483080#M213672</link>
      <description>Ok...i got the /var/opt/pd folder and copied it to the new server...but sam doesn't seem to take it.  Any ideas?</description>
      <pubDate>Thu, 10 Feb 2005 14:24:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483080#M213672</guid>
      <dc:creator>Jon Schneider_1</dc:creator>
      <dc:date>2005-02-10T14:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483081#M213673</link>
      <description>Are you using the native LP spooler or "HP Distributed Print Service"?&lt;BR /&gt;&lt;BR /&gt;My method was for the native spooler....&lt;BR /&gt;&lt;BR /&gt;Sounds like you are in fact using HPDPS...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90156/index.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90156/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Sorry - not familiar with it.....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 10 Feb 2005 14:33:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483081#M213673</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-02-10T14:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483082#M213674</link>
      <description>yeah...using hpdps</description>
      <pubDate>Thu, 10 Feb 2005 14:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483082#M213674</guid>
      <dc:creator>Jon Schneider_1</dc:creator>
      <dc:date>2005-02-10T14:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483083#M213675</link>
      <description>Found this:&lt;BR /&gt;&lt;BR /&gt;"The DCE Extended Environment  &lt;BR /&gt;&lt;BR /&gt;In the DCE Extended Environment, HPDPS objects (such as physical printers and spoolers) created by any member of a DCE cell are instantly available to the entire cell. For example, if a new physical printer is created within a DCE Extended Environment server, the name of the new physical printer is visible to every client in the DCE cell, and each client can immediately issue HPDPS operations for that physical printer. This is possible because the entire cell shares the same namespace called the DCE Cell Directory Service. This allows for single-point administration as a result of the distributed namespace. See  Chapter 8. Managing DCE Security for HPDPS   for more information on the DCE Extended Environment. "&lt;BR /&gt;&lt;BR /&gt;Sounds like you should be using that...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Got it from:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90678/index.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90678/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 10 Feb 2005 14:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483083#M213675</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-02-10T14:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Synchronization</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483084#M213676</link>
      <description>Just another way of doing this.  You can use transferqueue if you have the JetDirect Printer Installer for UNIX installed.&lt;BR /&gt;&lt;BR /&gt;It's man page gives a real good example of how to use it.  It's pretty easy and pretty simple.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2005 14:49:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-synchronization/m-p/3483084#M213676</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2005-02-10T14:49:29Z</dc:date>
    </item>
  </channel>
</rss>

