<?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: Network Printer Problem - HPUX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317407#M877157</link>
    <description>Ignore my last comment on here, I used the diagnostic menu from JetDirect and the output file was correct.  When I sent it to the printer it hung at the -I'm assuming- last step in the analysis process.  Here's what came up:&lt;BR /&gt;&lt;BR /&gt;Diagnostic Message:&lt;BR /&gt;------------------&lt;BR /&gt;           All printing components have been verified functional.  The next&lt;BR /&gt;           step is to send the intermediate output to printer via hpnpf with&lt;BR /&gt;           debug logging on.  The log (/opt/hpnpl/tmp/hpnpflog) records&lt;BR /&gt;           the activities between hpnpf and JetDirect.  Delete the log when&lt;BR /&gt;           you don't need it anymore.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you want to send this job to it (y/n/q, default-n)? y&lt;BR /&gt;hpnpf: Connection reset by peer&lt;BR /&gt;Failed to send the file to output&lt;BR /&gt;&lt;BR /&gt;comments?&lt;BR /&gt;</description>
    <pubDate>Wed, 30 Jun 2004 13:14:08 GMT</pubDate>
    <dc:creator>Craig Sutton_2</dc:creator>
    <dc:date>2004-06-30T13:14:08Z</dc:date>
    <item>
      <title>Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317387#M877137</link>
      <description>I moved the HP server from one office to another and am having problems with the printers.  &lt;BR /&gt;The printers are on different networks:&lt;BR /&gt;&lt;BR /&gt;previous location network IP's:&lt;BR /&gt;x.x.20.9   - printer&lt;BR /&gt;&lt;BR /&gt;current location network IP's:&lt;BR /&gt;x.x.10.15  - server&lt;BR /&gt;&lt;BR /&gt;The only thing that changed was the IP of the server.  After re-ip'ing things and getting them running, the printer in the old office - known in SAM as a network printer - only seems to print some simple text files.  Otherwise, the print job sits in the scheduler saying, "printing".  I am able to ping the remote/network printer and telnet to port 23&amp;amp;9100 on the printer - so it's not a firewall issue.&lt;BR /&gt;&lt;BR /&gt;I just deleted the printer using JetDirect admin when I went to add network printer within SAM.  Then I re-added it... but now it won't even print the simple text file to it.&lt;BR /&gt;&lt;BR /&gt;Any assistance provided would be great.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;Craig</description>
      <pubDate>Mon, 28 Jun 2004 17:52:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317387#M877137</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-28T17:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317388#M877138</link>
      <description>A little more added info:&lt;BR /&gt;&lt;BR /&gt;From lpstat:&lt;BR /&gt;prx1-4892   root     priority 0  Jun 28 15:53 on prx1 tmp.txt   15 bytes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And from netstat:&lt;BR /&gt;&lt;BR /&gt;tcp        0   3204  server1.ourdomain.com.51132  prx1.9100        ESTABLISHED&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This shows the connection is there to the printer from the server... *sigh*&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;Craig</description>
      <pubDate>Mon, 28 Jun 2004 18:03:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317388#M877138</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-28T18:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317389#M877139</link>
      <description>You said that you only changed the IP address. This is not correct when you move any computer (or network printer) to another network. You must setup 3 separate values for all network devices when they are part of a larger network. The required values are:&lt;BR /&gt; &lt;BR /&gt;IP address&lt;BR /&gt;subnet mask&lt;BR /&gt;router&lt;BR /&gt; &lt;BR /&gt;The new network has a different router and in order for packets to flow in both directions, the router must be correct as well as the subnet mask. Be sure to look at the status of the printer's LAN card. Use the selftest or printer configuration page. Errors might be "dup arp address" or something else. Also use hpnpadmin to report all the statistics in the printer's LAN card:&lt;BR /&gt; &lt;BR /&gt;/opt/hpnpl/bin/hpnpadmin -v 12.34.56.78&lt;BR /&gt; &lt;BR /&gt;where 12.34.56.78 is the IP address.</description>
      <pubDate>Mon, 28 Jun 2004 21:13:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317389#M877139</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-28T21:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317390#M877140</link>
      <description>here's the output from hpnpadmin:&lt;BR /&gt;&lt;BR /&gt;192.168.20.9 is a network printer&lt;BR /&gt;&lt;BR /&gt;Printer State       : ready to print&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;server1 is allowed access to 192.168.20.9&lt;BR /&gt;&lt;BR /&gt;Fail (1)&lt;BR /&gt;&lt;BR /&gt;Card IP Address     : prx1 (192.168.20.9)&lt;BR /&gt;Network Mask        : 255.255.255.0&lt;BR /&gt;Default Gateway     : ??? (192.168.20.1)&lt;BR /&gt;Idle Timeout        : 90 seconds&lt;BR /&gt;&lt;BR /&gt;Uptime              : 8:01:23&lt;BR /&gt;Connections Accepted: 106&lt;BR /&gt;Connections Denied  : 0 (not on access list)&lt;BR /&gt;Connections Aborted : 77&lt;BR /&gt; Last Host         : server1.mydomain.com (192.168.10.15)&lt;BR /&gt; Last Host TCP Port: -14397&lt;BR /&gt; Reason            : idle timeout&lt;BR /&gt; Time Since Abort  : 3:36:12&lt;BR /&gt;Connections Killed  : 0&lt;BR /&gt;Bytes Received      : 0 (current connection)&lt;BR /&gt;Bytes Sent          : 0 (current connection)&lt;BR /&gt;Total Bytes Received: 595760 (since power-on or reconfig)&lt;BR /&gt;Total Bytes Sent    : 16130 (since power-on or reconfig)&lt;BR /&gt;&lt;BR /&gt;Control Panel       : POWERSAVE ON&lt;BR /&gt;Line State          : Online&lt;BR /&gt;&lt;BR /&gt;TCP Statistics&lt;BR /&gt;&lt;BR /&gt;       649 segments received&lt;BR /&gt;           0 segments received in error&lt;BR /&gt;           48 segments received in order&lt;BR /&gt;           78 segments received out of order&lt;BR /&gt;           45 zero window probes&lt;BR /&gt;           0 segments discarded&lt;BR /&gt;       293 segments sent&lt;BR /&gt;&lt;BR /&gt;UDP Statistics&lt;BR /&gt;&lt;BR /&gt;       2109 datagrams received and delivered&lt;BR /&gt;       674 discarded due to no application at the destination port&lt;BR /&gt;       0 discarded due to other reasons&lt;BR /&gt;       1074 datagrams sent&lt;BR /&gt;&lt;BR /&gt;IP Statistics&lt;BR /&gt;&lt;BR /&gt;       3980 datagrams received&lt;BR /&gt;           0 discarded due to IP header errors&lt;BR /&gt;           0 discarded due to address error&lt;BR /&gt;           0 discarded due to an unknown or unsupported protocol&lt;BR /&gt;       2055 datagrams transmission requests&lt;BR /&gt;           0 discarded due to lack of resources&lt;BR /&gt;           0 discarded due to no route to destination&lt;BR /&gt;       0 valid routing entries discarded&lt;BR /&gt;&lt;BR /&gt;ICMP Statistics&lt;BR /&gt;&lt;BR /&gt;       12 messages received&lt;BR /&gt;           0 messages received with ICMP-specific errors&lt;BR /&gt;           0 destination unreachable&lt;BR /&gt;           2 time exceeded&lt;BR /&gt;           0 source quench&lt;BR /&gt;           0 redirect&lt;BR /&gt;           10 echo&lt;BR /&gt;       10 messages sent&lt;BR /&gt;           0 destination unreachable&lt;BR /&gt;           0 time exceeded&lt;BR /&gt;           10 echo reply&lt;BR /&gt;&lt;BR /&gt;SNMP Statistics&lt;BR /&gt;&lt;BR /&gt;       1073 packets received&lt;BR /&gt;           1071 GetRequests&lt;BR /&gt;           1 GetNexts&lt;BR /&gt;           0 SetRequests&lt;BR /&gt;           0 bad community names&lt;BR /&gt;           0 operation not allowed by the SNMP community named&lt;BR /&gt;       1067 packets sent&lt;BR /&gt;           0 traps&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jun 2004 21:48:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317390#M877140</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-28T21:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317391#M877141</link>
      <description>Oh yeah, I forgot to mention, the only IPs that were changed were on the server (it moved to new location on new network).  This included the default router info and the netmask.&lt;BR /&gt;&lt;BR /&gt;Craig</description>
      <pubDate>Mon, 28 Jun 2004 21:49:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317391#M877141</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-28T21:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317392#M877142</link>
      <description>Sorry, I thought the printers had moved. Start by printing various files using the hpnpf command as in:&lt;BR /&gt; &lt;BR /&gt;alias hpnpf=/opt/hpnpl/bin/hpnpf&lt;BR /&gt;hpnpf -x 12.34.56.78 -s /var/tmp/hpnp.log &lt;SOME_FILE&gt;&lt;BR /&gt; &lt;BR /&gt;If &lt;SOME_FILE&gt; is ASCII, put -N in front of the filename:&lt;BR /&gt; &lt;BR /&gt;hpnpf -x 12.34.56.78 -s /var/tmp/hpnp.log -N &lt;SOME_FILE&gt;&lt;BR /&gt; &lt;BR /&gt;Then look at the hpnp.log file to see if any network problems are being reported.&lt;/SOME_FILE&gt;&lt;/SOME_FILE&gt;&lt;/SOME_FILE&gt;</description>
      <pubDate>Mon, 28 Jun 2004 22:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317392#M877142</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-28T22:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317393#M877143</link>
      <description>As a test - why not delete one of the printers giving you trouble - then re-add it - and see what happens....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 28 Jun 2004 23:02:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317393#M877143</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-06-28T23:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317394#M877144</link>
      <description>I tried deleting and then re-adding the printer... but jobs still hang in the queue.&lt;BR /&gt;&lt;BR /&gt;Interesting though when I used the hpnpf prog.  The outcome is as follows:&lt;BR /&gt;&lt;BR /&gt;server1# more hpnp.log&lt;BR /&gt;&lt;BR /&gt;Jun 28 22:28:43%%[ status:  Job: ; User:  ]%%&lt;BR /&gt;Jun 28 22:28:43%%[ status:  making connection to 192.168.20.9; source: ethernet ]%%&lt;BR /&gt;Jun 28 22:28:43%%[ status:  connected to 192.168.20.9; source: ethernet ]%%&lt;BR /&gt;Jun 28 22:28:43%%[ status:  transmitting data ]%%&lt;BR /&gt;Jun 28 22:28:43%%[ status:  finish sending print data ]%%&lt;BR /&gt;&lt;BR /&gt;This tells me that using the IP directly works... but that when I use the printer name (which is ip'd correctly in the hosts file)it hangs.  But deleting and re-adding network printer using jetdirect admin tool from sam doesn't seem to affect whether it works (I do test the printer after creating it using the admin tool).&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jun 2004 00:34:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317394#M877144</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-29T00:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317395#M877145</link>
      <description>Try removing and adding the printer using addqueue and the IP address of the printer:&lt;BR /&gt; &lt;BR /&gt;/opt/hpnpl/bin/removequeue -q local_prn_name&lt;BR /&gt;/opt/hpnpl/bin/addqueue -h 192.168.20.9 -q myprinter&lt;BR /&gt; &lt;BR /&gt;Then try printing with:&lt;BR /&gt; &lt;BR /&gt;lp -dmyprinter -odebugm /var/tmp/debug.log /etc/issue&lt;BR /&gt; &lt;BR /&gt;There will be a file in /var/tmp/debug.log that should give a lot of details. If it works OK, use the same option with a bigger job. This assumes that the printer is an HP printer with an internal JetDirect LAN card.</description>
      <pubDate>Tue, 29 Jun 2004 12:26:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317395#M877145</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-29T12:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317396#M877146</link>
      <description>Odd.  When I attempt to run the lp command with the debug, it won't print anything to the file.  Below is what occurred:&lt;BR /&gt;&lt;BR /&gt;server1# lp -d prx1 -odebugm /var/tmp/debug.log /etc/issue&lt;BR /&gt;lp: can't access file "/var/tmp/debug.log"&lt;BR /&gt;lp: can't open file /var/tmp/debug.log&lt;BR /&gt;&lt;BR /&gt;So I touched the file and then attempted it again, and the following is what occurred:&lt;BR /&gt;&lt;BR /&gt;server1# lp -d prx1 -odebugm /var/tmp/debug.log /etc/issue&lt;BR /&gt;lp: file "/var/tmp/debug.log" is empty&lt;BR /&gt;request id is prx1-4930 (1 file)&lt;BR /&gt;&lt;BR /&gt;The file was there and I had chowned it to lp with perms set to 666... &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It did, however, print the file.  But when I send a 1k file to it, it sits in the queue and says it's printing... but nothing is happening.</description>
      <pubDate>Tue, 29 Jun 2004 13:00:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317396#M877146</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-29T13:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317397#M877147</link>
      <description>Whoops, the debugm option is like all the lp options...no space allowed after the keyword. The command should be:&lt;BR /&gt; &lt;BR /&gt;lp -d prx1 -odebugm/var/tmp/debug.log /etc/issue&lt;BR /&gt; &lt;BR /&gt;Notice: no space after debugm. or you can just use the -odebugm with nothing and the log file will be: /tmp/prx1 as in:&lt;BR /&gt;&lt;BR /&gt;lp -d prx1 -odebugm /etc/issue&lt;BR /&gt; &lt;BR /&gt;With the space, the lp command saw the option -odebugm and created /tmp/prx1 automatically (it's probably still there). Then lp saw /var/tmp/debug.log and figured that's a file to print (hence the error messages about not finding it).</description>
      <pubDate>Tue, 29 Jun 2004 15:13:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317397#M877147</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-29T15:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317398#M877148</link>
      <description>It works every time with everything I print when I use the -odebugm option, but it hangs every time I leave that option out.  The following is from the debug.log file:&lt;BR /&gt;&lt;BR /&gt;^[%-12345X@PJL USTATUS PAGE = OFF&lt;BR /&gt;@PJL COMMENT **** Job (prx1-4951) Profile ****&lt;BR /&gt;@PJL COMMENT Copies     : 1&lt;BR /&gt;@PJL COMMENT Banner page: Front&lt;BR /&gt;@PJL JOB&lt;BR /&gt;@PJL SET COPIES = 1&lt;BR /&gt;@PJL ENTER LANGUAGE=PCL&lt;BR /&gt;^[&amp;amp;k2G^[&amp;amp;l0O^[)8U^[)s1p60v1s0b16901T^N&lt;BR /&gt;root^[)s14v0S&lt;BR /&gt;&lt;BR /&gt;                                       User: (No User Info in /etc/passwd)&lt;BR /&gt;&lt;BR /&gt;                                       Request: prx1-4951 from server1&lt;BR /&gt;                                       Options: debugm/var/tmp/debug.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Tue Jun 29 14:24:33 PDT 2004&lt;BR /&gt;^O^[&amp;amp;l0E^[&amp;amp;a120v0H^[*c4h1680v0P^[&amp;amp;a120v0H^[*c5616h4v0P^[&amp;amp;a1800v0H^[*c5616h4v0P^[&amp;amp;a120v5616H^[*c4h1680v0P^[&amp;amp;l0e&lt;BR /&gt;8C^[&amp;amp;a120v0H^[*c5616h1680v10g2P^[&amp;amp;a5676v36L********** Option Summary **********&lt;BR /&gt;(See  "man net_ljx000" for details)&lt;BR /&gt;&lt;BR /&gt;^[&amp;amp;k2Sauto (default),   postscript,  pcl, hpgl2, hpgl2_p, raw, relay&lt;BR /&gt;manual, tray1, tray2, tray3, bin1, bin2,     mtype&lt;MEDIA type=""&gt;&lt;BR /&gt;legal, letter, exec, ledger/11x17       A3, A4, A5, A6, B5-ISO&lt;BR /&gt;com10, C5, DL, monarc            PostCardS, PostCard/PostCardD&lt;BR /&gt;B4-JIS, B5-JIS, B6-JIS               topaz, yb, nb, job, nojob&lt;BR /&gt;dpi#, fuser&lt;FUSING mode=""&gt;              simplex, duplex, hduplex&lt;BR /&gt;2up, 2+,4up(pcl-hpux only), portrait, landscape, quality&lt;MODE&gt;&lt;BR /&gt;srbb#, srb#, sre#,         tondensity&lt;MODE&gt;, econo# (#=on/off)&lt;BR /&gt;For PS  :               wmnum#, wmstr&lt;STRING&gt;, ascii, ps1, ps2&lt;BR /&gt;For PCL :     text, ln66, stye#, italic, condensed, condensedi&lt;BR /&gt;c, 10, 12, lpi#  height#,  weight#, medium, bold, ebold, type#&lt;BR /&gt;^[&amp;amp;a5518v2505H^[*c4h1800v0P^[*c2880h4v0P^[&amp;amp;a7315v2505H^[*c2880h4v0P^[&amp;amp;a5518v5385H^[*c4h1800v0P^[E^[%-12345X@PJL US&lt;BR /&gt;TATUS PAGE=ON&lt;BR /&gt;@PJL JOB NAME = "User: root; Job: prx1-4951" START = 1&lt;BR /&gt;@PJL COMMENT Start Page : 1&lt;BR /&gt;@PJL COMMENT End Page   : Last Page&lt;BR /&gt;@PJL SET COPIES = 1&lt;BR /&gt;@PJL COMMENT File: /etc/issue&lt;BR /&gt;@PJL COMMENT   ** LANGUAGE: PCL&lt;BR /&gt;@PJL COMMENT   ** 1-up Text printing (adding one CR for each LF)&lt;BR /&gt;@PJL ENTER LANGUAGE=PCL&lt;BR /&gt;^[&amp;amp;s1C^[&amp;amp;k2GGenericSysName [HP Release B.11.11] (see /etc/issue)&lt;BR /&gt;^[E^[%-12345X@PJL&lt;BR /&gt;@PJL RESET&lt;BR /&gt;@PJL EOJ NAME = "User: root; Job: prx1-4951"&lt;BR /&gt;@PJL RESET&lt;BR /&gt;@PJL EOJ&lt;BR /&gt;@PJL COMMENT End of Job&lt;BR /&gt;^[%-12345X&lt;BR /&gt;&lt;BR /&gt;The following is what I type in to get it to work and what doesn't work:&lt;BR /&gt;&lt;BR /&gt;lp -dprx1 -odebugm/var/tmp/debug.log &lt;FILE&gt;&lt;BR /&gt;&lt;BR /&gt;The above works... the following doesn't:&lt;BR /&gt;&lt;BR /&gt;lp -dprx1 &lt;SAME file="" as="" above=""&gt;&lt;BR /&gt;&lt;BR /&gt;Craig&lt;/SAME&gt;&lt;/FILE&gt;&lt;/STRING&gt;&lt;/MODE&gt;&lt;/MODE&gt;&lt;/FUSING&gt;&lt;/MEDIA&gt;</description>
      <pubDate>Tue, 29 Jun 2004 16:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317398#M877148</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-29T16:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317399#M877149</link>
      <description>Looks OK. The debugm output is useful in debugging printer scripts. To watch the actual network activity, use the -ohpnpflog option as in:&lt;BR /&gt; &lt;BR /&gt;lp -dprx1 -ohpnpflog /etc/issue&lt;BR /&gt; &lt;BR /&gt;The network trace will be in /tmp/hpnpflog. For short jobs, the file is short but can get very long with a few pages of printout.</description>
      <pubDate>Tue, 29 Jun 2004 21:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317399#M877149</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-29T21:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317400#M877150</link>
      <description>I tried the -ohpnpflog option but that one doesn't work when I run lp.  It hangs and I have to cancel the print job.  We will recompile many programs with the -odebugm/dev/null option on the lp line.  That should get us through month end tomorrow... but I still don't know why lp without the debug option is hanging.</description>
      <pubDate>Wed, 30 Jun 2004 00:21:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317400#M877150</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-30T00:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317401#M877151</link>
      <description>Was the /tmp/hpnpflog file empty when it hangs? You may have to resort to getting a copy of Ethereal (for HP-UX or for a PC) and tracing all the communication to/from the printer's IP address. Why the debugm option works is quite a mystery but it is passed to hpnpf just like the hpnpflog. hpnpf does all the network tasks. In looking over the previous posts, I didn't see where you had tried hnpnf directly using only the IP address of the printer:&lt;BR /&gt; &lt;BR /&gt;/opt/hpnpl/bin/hpnpf -x 12.34.56.78 -N /etc/issue&lt;BR /&gt; &lt;BR /&gt;and then to trace the network activity:&lt;BR /&gt; &lt;BR /&gt;/opt/hpnpl/bin/hpnpf -x 12.34.56.78 -N -l /tmp/hpnpflog /etc/issue&lt;BR /&gt; &lt;BR /&gt;Another thing to check: nslookup printer-hostname and also nslookup 12.34.56.78 to see that your printer's name and IP are both resolvable. The default nsswitch.conf file always uses DNS which may not be desirable if there are difficulties in getting DNS changes propagated into your network. I prefer this line in /etc/nsswitch.conf:&lt;BR /&gt; &lt;BR /&gt;hosts:          files   [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=retur&lt;BR /&gt;n UNAVAIL=continue TRYAGAIN=return]&lt;BR /&gt; &lt;BR /&gt;What this does is to always check /etc/hosts first, then DNS. /etc/hosts is kept short with only important IP addresses and ones that can be a problem (ie, network printers). Then once DNS is working (you can use nslookup printer-hostname dns-servername to check), you can delete the entry from /etc/hosts. Using files first improves system and network performance in many cases.</description>
      <pubDate>Wed, 30 Jun 2004 06:57:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317401#M877151</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-30T06:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317402#M877152</link>
      <description>Okay, some setbacks have occurred.  I thought the -odebugm option was printing since it didn't hang in the queue, but I was wrong.  It wasn't printing anything but just created the logfile I specified.  So that has to be backed out of the programs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I checked nslookup to make sure the correct IP was being returned, it is.  I have the nsswitch.conf file set with FILES then DNS.&lt;BR /&gt;&lt;BR /&gt;I also ran hpnpf to the ip and the output from the logfile is as follows:&lt;BR /&gt;&lt;BR /&gt;08:20:41 hpnpf[22502]&lt;BR /&gt;OpenLog: logging started (/tmp/hpnpflog)&lt;BR /&gt;08:20:41 hpnpf[22502] Process: entered&lt;BR /&gt;08:20:41 hpnpf[22502] OpenSocket: entered&lt;BR /&gt;08:20:41 hpnpf[22502] OpenSocket: using 16K send buffer&lt;BR /&gt;08:20:41 hpnpf[22502] MakeConnection: 192.168.20.9, port 9100&lt;BR /&gt;08:20:41 hpnpf[22502] DoNonBlocking: non-blocking on&lt;BR /&gt;08:20:41 hpnpf[22502]   Connection has been set up&lt;BR /&gt;08:20:41 hpnpf[22502] connected&lt;BR /&gt;08:20:41 hpnpf[22502] Process: sending file /etc/issue&lt;BR /&gt;08:20:41 hpnpf[22502] SendFile: entered&lt;BR /&gt;08:20:41 hpnpf[22502]   SendFile: 53 bytes read from host&lt;BR /&gt;08:20:41 hpnpf[22502]   SendFile: 0 bytes read from host&lt;BR /&gt;08:20:41 hpnpf[22502]   SendFile: 53 bytes written to socket&lt;BR /&gt;08:20:41 hpnpf[22502]   SendFile: end, return succ&lt;BR /&gt;08:20:41 hpnpf[22502] DoNonBlocking: non-blocking off&lt;BR /&gt;08:20:42 hpnpf[22502] Process: read EOF on socket&lt;BR /&gt;08:20:42 hpnpf[22502] StopLog: logging stopped&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now this did print.  I called the office and had someone check.  Interesting.</description>
      <pubDate>Wed, 30 Jun 2004 10:41:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317402#M877152</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-30T10:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317403#M877153</link>
      <description>Go ahead and try larger files but make sure the path for the hpnpflog file has lots of free megs. The one line /etc/issue generated more than a dozen lines of output so a large file may need several megs. You're really interested in the last 10-20 lines of the log where it hangs.</description>
      <pubDate>Wed, 30 Jun 2004 10:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317403#M877153</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-30T10:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317404#M877154</link>
      <description>PS. If you don't get any additional hangs with the -l logging, you can always use -l /dev/null so the logfile is not created.</description>
      <pubDate>Wed, 30 Jun 2004 10:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317404#M877154</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-30T10:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317405#M877155</link>
      <description>Here is the output from the logfile:&lt;BR /&gt;&lt;BR /&gt;OpenLog: logging started (/tmp/hpnpflog)&lt;BR /&gt;09:41:04 hpnpf[26073] Process: entered&lt;BR /&gt;09:41:04 hpnpf[26073] OpenSocket: entered&lt;BR /&gt;09:41:04 hpnpf[26073] OpenSocket: using 16K send buffer&lt;BR /&gt;09:41:04 hpnpf[26073] MakeConnection: 192.168.20.9, port 9100&lt;BR /&gt;09:41:04 hpnpf[26073] DoNonBlocking: non-blocking on&lt;BR /&gt;09:41:04 hpnpf[26073]   Connection has been set up&lt;BR /&gt;09:41:04 hpnpf[26073] connected&lt;BR /&gt;09:41:04 hpnpf[26073] Process: sending file /opt/hpnpl/tmp/pdx1&lt;BR /&gt;09:41:04 hpnpf[26073] SendFile: entered&lt;BR /&gt;09:41:04 hpnpf[26073]   SendFile: 2093 bytes read from host&lt;BR /&gt;09:41:04 hpnpf[26073]   SendFile: 2093 bytes written to socket&lt;BR /&gt;09:41:04 hpnpf[26073]   SendFile: 1838 bytes read from host&lt;BR /&gt;09:41:04 hpnpf[26073]   SendFile: 1838 bytes written to socket&lt;BR /&gt;09:41:04 hpnpf[26073]   SendFile: 0 bytes read from host&lt;BR /&gt;09:41:04 hpnpf[26073]   SendFile: end, return succ&lt;BR /&gt;09:41:04 hpnpf[26073] DoNonBlocking: non-blocking off&lt;BR /&gt;09:42:34 hpnpf[26073] Process: Connection reset by peer&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It apparently never received an EOF as it did in the previous small file which was sent.  When I ran the print request (hpnpf -options file) it sat there till the connection was dropped.  This is probably happening with the spooler too.  Also, nothing printed out when I ran the larger print job.&lt;BR /&gt;&lt;BR /&gt;The following is from the end from the smaller print job - which did print out:&lt;BR /&gt;&lt;BR /&gt;08:43:12 hpnpf[23534]   SendFile: end, return succ&lt;BR /&gt;08:43:12 hpnpf[23534] DoNonBlocking: non-blocking off&lt;BR /&gt;08:43:13 hpnpf[23534] Process: read EOF on socket&lt;BR /&gt;08:43:13 hpnpf[23534] StopLog: logging stopped&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jun 2004 11:46:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317405#M877155</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-30T11:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Network Printer Problem - HPUX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317406#M877156</link>
      <description>One other thing to note:&lt;BR /&gt;&lt;BR /&gt;The following is from a -odebugm/logfile:&lt;BR /&gt;&lt;BR /&gt;^[E^[%-12345X@PJL&lt;BR /&gt;@PJL RESET&lt;BR /&gt;@PJL EOJ NAME = "User: root; Job: pdx1-5014"&lt;BR /&gt;@PJL RESET&lt;BR /&gt;@PJL EOJ&lt;BR /&gt;@PJL COMMENT End of Job&lt;BR /&gt;^[%-12345X&lt;BR /&gt;&lt;BR /&gt;Now I'll print the output from a failed print attempt from someone else earlier:&lt;BR /&gt;&lt;BR /&gt;@PJL RESET&lt;BR /&gt;@PJL EOJ NAME = "User: sbyers; Job: pdx1-5009"&lt;BR /&gt;@PJL RESET&lt;BR /&gt;@PJL EOJ&lt;BR /&gt;@PJL COMMENT End of Job&lt;BR /&gt;^[%-12345X&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I caught that file in the /opt/hpnpl/tmp/ directory.  &lt;BR /&gt;I don't know if this helps... but I did notice a difference between what the debug option is creating and what the lp is creating.</description>
      <pubDate>Wed, 30 Jun 2004 12:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/network-printer-problem-hpux/m-p/3317406#M877156</guid>
      <dc:creator>Craig Sutton_2</dc:creator>
      <dc:date>2004-06-30T12:09:36Z</dc:date>
    </item>
  </channel>
</rss>

