<?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 administration in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327654#M341499</link>
    <description>Thanks for your help so far guys.&lt;BR /&gt;&lt;BR /&gt;I didn't realize aprint wasn't a standard HP-UX, but it looks like when I copied the annex software over, it brought aprint with it as well.  It's in the /usr/annex/ directory, as the PATH variable in the printer script shows.  &lt;BR /&gt;&lt;BR /&gt;I even did a &lt;BR /&gt;&lt;BR /&gt;./aprint -Aannexf4 -L4 -Fabcdefg^L and it printed.  So that part is working.  &lt;BR /&gt;&lt;BR /&gt;I haven't tried the other method yet, nor read over those links you provided, I will do so soon.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Dec 2008 16:19:36 GMT</pubDate>
    <dc:creator>Jimemac70</dc:creator>
    <dc:date>2008-12-23T16:19:36Z</dc:date>
    <item>
      <title>Printer administration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327648#M341493</link>
      <description>I am currently in the middle setting up a new HP-UX Itanium server on 11.23.  I'm trying to get it as close to our previous PA-RISC system as possible.  Here is where I'm having trouble.&lt;BR /&gt;&lt;BR /&gt;We have these ancient terminal servers called Micro Annex.  You can read more about them here..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://aput.net/~jheiss/annex/" target="_blank"&gt;http://aput.net/~jheiss/annex/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;These have been discontinued and are not supported.  I know, I wish I could replace them but the damn things never break and we can't budget for replacing these things as of right now.&lt;BR /&gt;&lt;BR /&gt;Well on the PA-RISC system, I install these printers by using SAM-&amp;gt;Printers &amp;amp; Plotters-&amp;gt;add local printer/plotter-&amp;gt;add printer with nonstandard device file.  And I select the printer model that was provided to us millenia ago. The device path is /dev/null.&lt;BR /&gt;&lt;BR /&gt;I attached that script.  In order to direct output to a printer, you need to change the lines ANNEX= and ANNEXLINE= (like ANNEX=annex1 and ANNEXLINE = 4)&lt;BR /&gt;&lt;BR /&gt;Installing it this way on the Itanium didn't work (test prints not successful).&lt;BR /&gt;&lt;BR /&gt;Next I tried to install a printer using hppi and using this model again.  It created an standard hppi printer model script in the /etc/lp/interface directory, and put the annex model in the /etc/lp/interface/model.orig/ directory.  I was able to change the ANNEX part in that file and send a test print to the printer.  YAY! right?  Well here's where I'm stuck.  It printed then immediately the printer was disabled.  When I go to enable the printer again, it prints the test page and disables itself again.  &lt;BR /&gt;&lt;BR /&gt;Here's whats in the /var/adm/lp/log said&lt;BR /&gt;&lt;BR /&gt;lpsched:        FIFO: Dec 22 17:03  n &lt;BR /&gt;lpsched:        FIFO: Dec 22 17:03  n &lt;BR /&gt;lpsched:        FIFO: Dec 22 17:03  n &lt;BR /&gt;lpsched:        FIFO: Dec 22 17:03  n &lt;BR /&gt;lpsched:        FIFO: Dec 22 17:03  e test3&lt;BR /&gt;test3-15        root    test3   Dec 22 17:03&lt;BR /&gt;lpsched:        FIFO: Dec 22 17:03  n &lt;BR /&gt;lpsched:        FIFO: Dec 22 17:03  n &lt;BR /&gt;        /etc/lp/interface/model.orig/test3  &lt;BR /&gt;        /opt/hpnpl/bin/hpnpf -j test3-15+root     -x test3  &lt;BR /&gt;hpnpf: unknown host test3&lt;BR /&gt;disabling test3&lt;BR /&gt;lpsched:        FIFO: Dec 22 17:03  n &lt;BR /&gt;lpsched:        FIFO: Dec 22 17:03  d test3 reason unknown&lt;BR /&gt;lpsched:        FIFO: Dec 22 17:03  m test3 r 12740&lt;BR /&gt;lpsched:        CHILD: Dec 22 17:03  test3 15 000f&lt;BR /&gt;&lt;BR /&gt;I'm not sure what some of this info means.  &lt;BR /&gt;&lt;BR /&gt;Any help and advice with any and all of this would be greatly appreciated.</description>
      <pubDate>Mon, 22 Dec 2008 22:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327648#M341493</guid>
      <dc:creator>Jimemac70</dc:creator>
      <dc:date>2008-12-22T22:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Printer administration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327649#M341494</link>
      <description>&amp;gt;It printed then immediately the printer was disabled.&lt;BR /&gt;&lt;BR /&gt;It's strange it prints something then gets an error.  From the above log, it seems it can't find test3:&lt;BR /&gt;hpnpf: unknown host test3&lt;BR /&gt;&lt;BR /&gt;If this is a network printer, it can't find it.  But if it can't find it, how did you print a test page?</description>
      <pubDate>Tue, 23 Dec 2008 01:07:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327649#M341494</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-23T01:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Printer administration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327650#M341495</link>
      <description>On the original(PA-RISC) system, its setup as a local printer with the device path being /dev/null.  On the new(Itanium), I tried that same way and it didn't work.  Using hppi, it installs it as a network printer. &lt;BR /&gt;&lt;BR /&gt;I just ignore the part where it can't find the printer and tell it to use the model script I was given.  It prints, but it won't "clear the queue" for that printer, and the queue disables itself.</description>
      <pubDate>Tue, 23 Dec 2008 12:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327650#M341495</guid>
      <dc:creator>Jimemac70</dc:creator>
      <dc:date>2008-12-23T12:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Printer administration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327651#M341496</link>
      <description>&amp;gt;On the original system, its setup as a local printer with the device path being /dev/null.&lt;BR /&gt;&lt;BR /&gt;That seems like a remote printer.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;it installs it as a network printer.  It prints, but it won't "clear the queue" for that printer, and the queue disables itself.&lt;BR /&gt;&lt;BR /&gt;Except for the "It prints", this seems the wrong way to do things.&lt;BR /&gt;&lt;BR /&gt;You probably need Bill to weigh in here.&lt;BR /&gt;I suppose you could try adding test3 in /etc/hosts to point back to the current system?  I'm not sure what hpnpf -j is doing?&lt;BR /&gt;Here are some threads about hpnpf:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1095816" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1095816&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1064051" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1064051&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=870275" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=870275&lt;/A&gt;</description>
      <pubDate>Tue, 23 Dec 2008 13:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327651#M341496</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-23T13:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Printer administration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327652#M341497</link>
      <description>Your custom interface script uses a command called "aprint" at the bottom. That does not look like standard HP-UX command, it probably needs to be copied from the old PA-RISC server.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Dec 2008 14:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327652#M341497</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-12-23T14:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Printer administration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327653#M341498</link>
      <description>I agree with Dennis that this is a non standard setup but with these odd printers you have to use their custom interface scripts. After looking carefully at what you tried with hppi, perhaps it maybe better after creating the standard hppi printer (let's name it hp-annex), to copy your custom printer script (the one in your attachment) directly to /etc/lp/interface/hp-annex and forget about calling the model.orig script. &lt;BR /&gt;&lt;BR /&gt;You would still need the aprint utility in the new server.</description>
      <pubDate>Tue, 23 Dec 2008 14:45:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327653#M341498</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-12-23T14:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Printer administration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327654#M341499</link>
      <description>Thanks for your help so far guys.&lt;BR /&gt;&lt;BR /&gt;I didn't realize aprint wasn't a standard HP-UX, but it looks like when I copied the annex software over, it brought aprint with it as well.  It's in the /usr/annex/ directory, as the PATH variable in the printer script shows.  &lt;BR /&gt;&lt;BR /&gt;I even did a &lt;BR /&gt;&lt;BR /&gt;./aprint -Aannexf4 -L4 -Fabcdefg^L and it printed.  So that part is working.  &lt;BR /&gt;&lt;BR /&gt;I haven't tried the other method yet, nor read over those links you provided, I will do so soon.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Dec 2008 16:19:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327654#M341499</guid>
      <dc:creator>Jimemac70</dc:creator>
      <dc:date>2008-12-23T16:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Printer administration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327655#M341500</link>
      <description>&amp;gt;it looks like when I copied the annex software over, it brought aprint with it as well.&lt;BR /&gt;&lt;BR /&gt;You did say it printed. :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;nor read over those links you provided&lt;BR /&gt;&lt;BR /&gt;Since you will no longer be using hpnpf with TTr's suggestion, you can probably skip it.</description>
      <pubDate>Tue, 23 Dec 2008 16:39:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-administration/m-p/4327655#M341500</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-23T16:39:54Z</dc:date>
    </item>
  </channel>
</rss>

