<?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: Printing fun. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5779547#M481569</link>
    <description>&lt;P&gt;&amp;gt;but stairstepped&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to configure it so that it adds a CR to that newline LF.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Aug 2012 18:51:19 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2012-08-27T18:51:19Z</dc:date>
    <item>
      <title>Printing fun.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5774843#M481510</link>
      <description>&lt;P&gt;I have a printer issue that is making my head hurt (among the many in this old environment).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Server A has a print que defined on it, print driver is net_genericprinter - all works as expected when sending print jobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Server B has had the same que created on it, same print driver, etc.&amp;nbsp; When configured in this manner, the queue never prints... even though the printer is otherwise reachable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can define the printer as a remote_print que and this works... albeit that it stair-steps on the output (and I have a fix for that).&amp;nbsp; I am waiting on user testing to see if this particular work-around will work for their check printing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am trying to detemine is why it wont print when set up via hppi with the net_genericprinter driver or with the P2015 driver (printer is an HP P2015dn).&amp;nbsp; There is no useful info in /var/adm/lp/log.&amp;nbsp; What might I look at to determine why this works just fine on server A and not at all on server B?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2012 21:45:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5774843#M481510</guid>
      <dc:creator>sbrews</dc:creator>
      <dc:date>2012-08-23T21:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Printing fun.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5776653#M481543</link>
      <description>&lt;P&gt;The remote printer protocol uses TCP port 515, while hppi uses TCP port 9100.&lt;/P&gt;&lt;P&gt;Can you connect to the printer if you run "telnet &amp;lt;printer IP address&amp;gt; 9100" on server B?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the above-mentioned telnet command does not report "Connection established" on server B, then there is a network issue: maybe a firewall that is configured to allow one print protocol but not the other?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could use the "disable" command to make the printer queue stop printing while still accepting requests. If you do this on both servers and then print the same job on both of them, you should be able to compare the job files held in the queue directories to see if they have close-to-identical content. If not, there might be an application configuration issue. Use the "enable" command to resume normal printing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find a list of downloadable HP printer model scripts at:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.hp.com/pond/modelscripts/index2_printable.html"&gt;http://www.hp.com/pond/modelscripts/index2_printable.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(wow, looks like this old link still works!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It includes net_genericprinter. Perhaps it's an updated version, and it has been installed to one of your servers but not the other?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2012 11:50:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5776653#M481543</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-08-25T11:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Printing fun.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5776701#M481546</link>
      <description>&lt;P&gt;HP printers (with HP network cards) all use port 9100, although they will also respond to the primitive port 515 remote printing protocol. Start by deleteing and re-adding the printer using removequeue and addqueue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;removequeue -q printer_name

addqueue -q printer_name -h 12.34.56.78 -b off -r off -t off -i 123&lt;/PRE&gt;&lt;P&gt;where -i 123 is the ID number for the 2105 printer. Use the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;addqueue -l &lt;/PRE&gt;&lt;P&gt;to list the printer models with their ID.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now trace the activity using hpnp:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hpnpf -l /var/tmp/hpnpf.log -x 12.34.56.78 /etc/profile&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check the log for the progress.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will trace the actual network protocol.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also use hpnpadmin -v 12.34.56.78&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the above examples, 12.34.56.78 is your printer's IP address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2012 15:40:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5776701#M481546</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2012-08-25T15:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Printing fun.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5779401#M481564</link>
      <description>&lt;P&gt;I can telnet via port 9100 - so that part is good (no firewall blocking).&amp;nbsp; I have created test que based on the steps listed by Bill.&amp;nbsp; That test print appears to have worked - it didnt get hung up in the que as it has previously... however, I and waiting on my remote hands person (printer is not local to me) to verify that the test job did indeed print.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2012 16:18:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5779401#M481564</guid>
      <dc:creator>sbrews</dc:creator>
      <dc:date>2012-08-27T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Printing fun.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5779415#M481565</link>
      <description>&lt;P&gt;Using the addqueue as listed by Bill and the "driver" for the 2015 printer, it did print, but stairstepped... so 2 steps forward and 1 back.&amp;nbsp; I will work on getting the stair step address and try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interesting that the addqueue worked (printed) whereas the hppi created queue just sits there.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2012 16:26:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5779415#M481565</guid>
      <dc:creator>sbrews</dc:creator>
      <dc:date>2012-08-27T16:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Printing fun.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5779547#M481569</link>
      <description>&lt;P&gt;&amp;gt;but stairstepped&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to configure it so that it adds a CR to that newline LF.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2012 18:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5779547#M481569</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-08-27T18:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Printing fun.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5779603#M481576</link>
      <description>&lt;P&gt;The 2015 driver is nothing more than a script. Try deleting the printer and add it back with the driver id -i 261 which is the generic net_ljx000. That script seems to work the best for most HP-compatible printers. Without reading the 2015 script, it is not possible to see if there is a CR-LF configuration. Out of the dozens of printer scripts for HP-UX, I've never seen one for an HP printer that required the CR-LF to be enabled -- it is always on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason addqueue probably works better is the options to turn off Job Recovery and True EOJ were explicitly turned off on the command line.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2012 20:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-fun/m-p/5779603#M481576</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2012-08-27T20:05:28Z</dc:date>
    </item>
  </channel>
</rss>

