<?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: Lp interface file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030790#M301528</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;try this link:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-001&amp;amp;h_lang=en&amp;amp;h_cc=us&amp;amp;h_product=27349&amp;amp;h_client=S-A-R163-1&amp;amp;h_page=hpcom" target="_blank"&gt;http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-001&amp;amp;h_lang=en&amp;amp;h_cc=us&amp;amp;h_product=27349&amp;amp;h_client=S-A-R163-1&amp;amp;h_page=hpcom&lt;/A&gt;〈=en&amp;amp;cc=us&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
    <pubDate>Tue, 03 Jul 2007 08:10:12 GMT</pubDate>
    <dc:creator>Peter Nikitka</dc:creator>
    <dc:date>2007-07-03T08:10:12Z</dc:date>
    <item>
      <title>Lp interface file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030785#M301523</link>
      <description>I have just created a new machine and I want to keep the same printers that were setup on my old machine... can I merely copy the lp interface file or is there something else that has to be done?</description>
      <pubDate>Mon, 02 Jul 2007 14:45:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030785#M301523</guid>
      <dc:creator>John Hegedus</dc:creator>
      <dc:date>2007-07-02T14:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Lp interface file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030786#M301524</link>
      <description>There is much more than the interface files.&lt;BR /&gt;&lt;BR /&gt;On the old box:&lt;BR /&gt;First do an lpstat -t and note any outstanding/old requests. Remove then via the cancel command as there is no need to transfer these old/stale jobs. Next do an 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&lt;BR /&gt;&lt;BR /&gt;Using rcp, ftp, scp copy /var/tmp/lp.cpio from the old box to the new. &lt;BR /&gt;&lt;BR /&gt;On the new box (and I'll assume that you have already installed the JetDirect software):&lt;BR /&gt;&lt;BR /&gt;lpshut # may error if lpsched not running&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;rm -r /var/spool/lp /etc/lp&lt;BR /&gt;cpio -icvdum &amp;lt; /var/tmp/lp.cpio&lt;BR /&gt;lpsched&lt;BR /&gt;&lt;BR /&gt;You should be good to go.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2007 15:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030786#M301524</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-07-02T15:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Lp interface file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030787#M301525</link>
      <description>Note that SAM has a save/restore LP configuration commands.  If you save on one machine then tar the directory up, then restore on the other, you should be good to go.  This is similar to what Clay mentions.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1127082" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1127082&lt;/A&gt;</description>
      <pubDate>Mon, 02 Jul 2007 20:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030787#M301525</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-07-02T20:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lp interface file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030788#M301526</link>
      <description>echo "Saving /var/sam/lp in local..."&lt;BR /&gt;#### Save  &amp;amp; store printer config info with lpmgr&lt;BR /&gt;/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp&lt;BR /&gt;&lt;BR /&gt;then rcp to the remote machine and restore.&lt;BR /&gt;&lt;BR /&gt;### Change ownership of /var/sam/lp to lp:bin , lp:lp&lt;BR /&gt;/usr/bin/chown -Rh lp:bin /var/sam/lp&lt;BR /&gt;/usr/bin/chown -Rh lp:lp /var/sam/lp/interface&lt;BR /&gt;/usr/bin/chown -Rh lp:lp /var/sam/lp/member&lt;BR /&gt;&lt;BR /&gt;cd /var/sam&lt;BR /&gt;/opt/tar/bin/gtar -zcpf /var/sam/lp_config.gz lp&lt;BR /&gt;scp -p lp_config.gz ${remhost}:/var/sam&lt;BR /&gt;&lt;BR /&gt; ssh ${remhost} -n "export PATH=$PATH:/opt/aCC/bin:/opt/ansic/bin:/opt/tar/bin:/sbin:/usr/5bin:/usr/ccs/bin:/usr/contrib/b&lt;BR /&gt;in:/usr/lib;cd /var/sam;/opt/tar/bin/gtar -zxpf lp_config.gz" &amp;amp;&lt;BR /&gt;&lt;BR /&gt;hope this gives an idea.</description>
      <pubDate>Mon, 02 Jul 2007 22:36:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030788#M301526</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-07-02T22:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Lp interface file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030789#M301527</link>
      <description>I need to download the JetDirect Software but I'm not sure which to download I went to a site that has roughly 99 entries of JetDirect Software??? Do you know which one I need .. My box is an RP7440 running HPUX 11.11</description>
      <pubDate>Tue, 03 Jul 2007 08:02:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030789#M301527</guid>
      <dc:creator>John Hegedus</dc:creator>
      <dc:date>2007-07-03T08:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Lp interface file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030790#M301528</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;try this link:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-001&amp;amp;h_lang=en&amp;amp;h_cc=us&amp;amp;h_product=27349&amp;amp;h_client=S-A-R163-1&amp;amp;h_page=hpcom" target="_blank"&gt;http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-001&amp;amp;h_lang=en&amp;amp;h_cc=us&amp;amp;h_product=27349&amp;amp;h_client=S-A-R163-1&amp;amp;h_page=hpcom&lt;/A&gt;〈=en&amp;amp;cc=us&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Tue, 03 Jul 2007 08:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-interface-file/m-p/4030790#M301528</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-07-03T08:10:12Z</dc:date>
    </item>
  </channel>
</rss>

