<?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: copy network printer definition in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648000#M803191</link>
    <description>This entails copying the respective files for /etc/lp/interface, /etc/lp/interface/model.orig, /var/spool/lp, etc.&lt;BR /&gt;&lt;BR /&gt;If this is for just 1 printer, it is easier to add the printer to the other system. &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Oct 2005 16:12:56 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2005-10-12T16:12:56Z</dc:date>
    <item>
      <title>copy network printer definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3647999#M803190</link>
      <description>Hi folks ,&lt;BR /&gt;&lt;BR /&gt;I need to copy a printer definition from host A to B.&lt;BR /&gt;A and B belong to the same WAN but are not on the same LAN.&lt;BR /&gt;From B I am able to ping the ip-address.&lt;BR /&gt;Host A is an HP-UX 11 PA-RISC.&lt;BR /&gt;Host B is an HP-UX 11i ia64 Itanium.&lt;BR /&gt;&lt;BR /&gt;The printer is an SATO M80400 printer.&lt;BR /&gt;At least that was what the local IT responsable told me. It is connect through JetDirect.&lt;BR /&gt;&lt;BR /&gt;How can I copy the definition ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Franky&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Oct 2005 14:58:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3647999#M803190</guid>
      <dc:creator>Franky Leeuwerck_2</dc:creator>
      <dc:date>2005-10-12T14:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: copy network printer definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648000#M803191</link>
      <description>This entails copying the respective files for /etc/lp/interface, /etc/lp/interface/model.orig, /var/spool/lp, etc.&lt;BR /&gt;&lt;BR /&gt;If this is for just 1 printer, it is easier to add the printer to the other system. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Oct 2005 16:12:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648000#M803191</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-10-12T16:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: copy network printer definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648001#M803192</link>
      <description>Hi Rick,&lt;BR /&gt;&lt;BR /&gt;You are right. Unfortunately, when adding the printer in SAM ( network printer ), I get prompted for an HP model and I have not the clue what I should choose. It is not an HP printer but a 'thermo printer' for printing barcodes on sticky labels.&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Wed, 12 Oct 2005 16:48:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648001#M803192</guid>
      <dc:creator>Franky Leeuwerck_2</dc:creator>
      <dc:date>2005-10-12T16:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: copy network printer definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648002#M803193</link>
      <description>A question I have is how this printer was added to systemA to begin with. Was there a vendor supplied driver? Was it added as a dumb plot or dumb printer?&lt;BR /&gt;&lt;BR /&gt;Check what the driver is on sysA. I believe this is /etc/lp/interface/model.orig&lt;BR /&gt;&lt;BR /&gt;Add the printer via JetDirect as normal. Choose the 'dumb' printer/plotter for the model. Copy 2 files from sysA to sysB. /etc/lp/interface/&lt;PRINTER_NAME&gt; and /etc/lp/interface/model.orig/&lt;PRINTER_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRINTER_NAME&gt;&lt;/PRINTER_NAME&gt;</description>
      <pubDate>Wed, 12 Oct 2005 17:04:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648002#M803193</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-10-12T17:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: copy network printer definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648003#M803194</link>
      <description>Thanks Rick.&lt;BR /&gt;&lt;BR /&gt;I followed your last suggestions.&lt;BR /&gt;I am remote and the site is closed, so I can only test in the morning.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Franky</description>
      <pubDate>Wed, 12 Oct 2005 17:20:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648003#M803194</guid>
      <dc:creator>Franky Leeuwerck_2</dc:creator>
      <dc:date>2005-10-12T17:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: copy network printer definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648004#M803195</link>
      <description>Here are a list of procedures I use to copy printer definitions.  Good luck.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Install JetDirect software on the new box. I'll assume that you have hostname resultion (DNS,NIS(+),LDAP, and/or /etc/hosts) already setup.&lt;BR /&gt;&lt;BR /&gt;On the old box, do an lpstat -t and cancel any hung/old print jobs. There's no point in moving them. Next do an lpshut.&lt;BR /&gt;As root (on the old box):&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;Now ftp/rcp /var/tmp/lp.cpio from the old box to the new box.&lt;BR /&gt;&lt;BR /&gt;On the new box:&lt;BR /&gt;lpshut&lt;BR /&gt;Now we'll save the current configuration (just in case).&lt;BR /&gt;cd / &lt;BR /&gt;find ./var/spool/lp ./etc/lp -print | cpio -ocv &amp;gt; /var/tmp/newlp.cpio&lt;BR /&gt;cd /var/spool&lt;BR /&gt;rm -r lp&lt;BR /&gt;cd /etc&lt;BR /&gt;rm -r lp&lt;BR /&gt;cd /&lt;BR /&gt;cpio -icvdum &amp;lt; /var/tmp/lp.cpio&lt;BR /&gt;&lt;BR /&gt;Now, if your old box was running JetAdmin instead of JetDirect, we need to update your interface files. This is done by running /opt/hpnpl/bin/transferqueue local;&lt;BR /&gt;respond with all.&lt;BR /&gt;&lt;BR /&gt;Finally, lpsched and everything including the default printer is setup.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 11:01:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-network-printer-definition/m-p/3648004#M803195</guid>
      <dc:creator>Darren Etheridge_2</dc:creator>
      <dc:date>2005-10-13T11:01:12Z</dc:date>
    </item>
  </channel>
</rss>

