<?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 command not printing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331747#M189192</link>
    <description>If the printer was printing and now it isn't seems that communication has been lost somehow. Perhaps it is a timing issue at the printer end. I had this happen sometimes when printer configs were not set up properly. Have a look at the I/O Timeout facility on the printer if it has one. I had problems with laser printers in our warehouses.</description>
    <pubDate>Wed, 14 Jul 2004 16:23:26 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2004-07-14T16:23:26Z</dc:date>
    <item>
      <title>lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331744#M189189</link>
      <description>Hi.  &lt;BR /&gt;&lt;BR /&gt;I'm probably missing something obvious, but printing stopped on one of my HP-UX boxes and I can't find what happened to it.  The printer is a network attached device that I can get to by other HP-UX boxes no problem, but when I try to print to it from this machine the reports go to the bit bucket.  I have tried deleting and readding the printer(s) to no avail.  I actually have 2 printers attached to this machine and I can't get either of them to print.  &lt;BR /&gt;&lt;BR /&gt;lpstat -t shows:&lt;BR /&gt;rrp@sur_s1p3/home/rrp $ lpstat -t&lt;BR /&gt;scheduler is running&lt;BR /&gt;no system default destination&lt;BR /&gt;device for is03: /dev/null&lt;BR /&gt;device for is02: /dev/null&lt;BR /&gt;is03 accepting requests since Jan 16 16:47&lt;BR /&gt;is02 accepting requests since Jul 14 15:55&lt;BR /&gt;printer is03 is idle.  enabled since Jan 16 16:47&lt;BR /&gt;        fence priority : 0&lt;BR /&gt;printer is02 is idle.  enabled since Jul 14 15:55&lt;BR /&gt;        fence priority : 0&lt;BR /&gt;&lt;BR /&gt;The printer I am testing with is the one queued is02.  I have checked in the /etc/lp/interface/is02 config file and it shows the proper PERIPH statement pointing at the printer.  Any ideas on where I can go from here?&lt;BR /&gt;&lt;BR /&gt;Thanks.    Rex</description>
      <pubDate>Wed, 14 Jul 2004 16:14:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331744#M189189</guid>
      <dc:creator>Rex Pommier</dc:creator>
      <dc:date>2004-07-14T16:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331745#M189190</link>
      <description>Hi Rex,&lt;BR /&gt;&lt;BR /&gt;Can you successfully ping the IP of that print server?&lt;BR /&gt;&lt;BR /&gt;Have you tried bouncing lp?&lt;BR /&gt;lpshut&lt;BR /&gt;lpsched&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jul 2004 16:17:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331745#M189190</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-07-14T16:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331746#M189191</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;Yes, I can ping the printer, both via the name in DNS (which is how it is configured to HP-UX) as well as straight to the IP address.  I went one step further than bouncing lp - I bounced the box - much to the chagrin of one of my DBAs.  He wasn't supposed to be on the machine anyway!</description>
      <pubDate>Wed, 14 Jul 2004 16:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331746#M189191</guid>
      <dc:creator>Rex Pommier</dc:creator>
      <dc:date>2004-07-14T16:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331747#M189192</link>
      <description>If the printer was printing and now it isn't seems that communication has been lost somehow. Perhaps it is a timing issue at the printer end. I had this happen sometimes when printer configs were not set up properly. Have a look at the I/O Timeout facility on the printer if it has one. I had problems with laser printers in our warehouses.</description>
      <pubDate>Wed, 14 Jul 2004 16:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331747#M189192</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-07-14T16:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331748#M189193</link>
      <description>Michael,  The printer is printing - just not from this box - which happens to be a partition on a superdome.  The other superdome partitions can print to it no problem so apparently there is nothing wrong with the printer.  Both the working and non-working partitions of the 'dome are attached to the same network switch via gigabit ethernet adapters so hardware-wise there is nothing different.  That is what is making this all the more baffling.</description>
      <pubDate>Wed, 14 Jul 2004 16:31:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331748#M189193</guid>
      <dc:creator>Rex Pommier</dc:creator>
      <dc:date>2004-07-14T16:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331749#M189194</link>
      <description>It appears you have timed out waiting for a request to send. Sometimes a disable and then re-enable will clear the printer que to send. Other times the hung print request will need to be canceled as well.&lt;BR /&gt;&lt;BR /&gt;When all esle fails shutdown lpshut then lpsched.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jul 2004 06:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331749#M189194</guid>
      <dc:creator>Eugene Klaus</dc:creator>
      <dc:date>2004-07-15T06:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331750#M189195</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try to shut "lpsched" and run lpmove  to alternative destination.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sreejith M&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jul 2004 07:02:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331750#M189195</guid>
      <dc:creator>sreejith_4</dc:creator>
      <dc:date>2004-07-15T07:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331751#M189196</link>
      <description>Hi Rex,&lt;BR /&gt;&lt;BR /&gt;sometimes helps:&lt;BR /&gt;disable printer - switch off printer - switch on printer - enable printer.&lt;BR /&gt;&lt;BR /&gt;Other suggestion:&lt;BR /&gt;define printer as remote printer with server: one of your boxes where printer works.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Volkmar</description>
      <pubDate>Thu, 15 Jul 2004 07:32:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331751#M189196</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2004-07-15T07:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331752#M189197</link>
      <description>lpshut&lt;BR /&gt;lpsched -v&lt;BR /&gt;&lt;BR /&gt;Noe try to print and post what the log file says?? (/var/adm/lp/log)&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 15 Jul 2004 07:34:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331752#M189197</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-15T07:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331753#M189198</link>
      <description>Can you:&lt;BR /&gt;&lt;BR /&gt;/opt/hpnpl/bin/hpnpadmin -v is02&lt;BR /&gt;&lt;BR /&gt;How did you add the printers?&lt;BR /&gt;If jetdirect, I would do this:&lt;BR /&gt;&lt;BR /&gt;lpshut&lt;BR /&gt;addqueue -i 9998 -q is02 -h is02.yourdomain.com&lt;BR /&gt;lpsched -v&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jul 2004 08:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331753#M189198</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-07-15T08:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331754#M189199</link>
      <description>If hpnpadmin -v reports normal information (no errors), then bypass the lp subsystem with:&lt;BR /&gt; &lt;BR /&gt;/opt/hpnpl/bin/hpnpf -x 12.34.56.78 -N /etc/profile&lt;BR /&gt; &lt;BR /&gt;That should print a copy of the /etc/profile file. If nothing happens and no error messages show up, add -l as in:&lt;BR /&gt; &lt;BR /&gt;/opt/hpnpl/bin/hpnpf -x 12.34.56.78 -N -l /tmp/jetdirect.log /etc/profile</description>
      <pubDate>Thu, 15 Jul 2004 10:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331754#M189199</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-07-15T10:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331755#M189200</link>
      <description>First of all my apologies to those who wrote about disabling the printer and moving the reports to another one.  I just went back and reread my original post and discovered that I neglected to include one very important item.  The HP-UX box thinks it is printing the reports!  When I disable the print queue named is02 and then try to print to it, the machine rightly complains that the queue isn't accepting reports.  I then allow the queue to accept requests but leave print disabled, the reports show up in the /var/spool/lp/request/is02 directory as they should.  When I then enable print, the reports vanish from the queue as if they are printing, but never actually appear on the printer.  Now on to answering some of the sugggestions.&lt;BR /&gt;&lt;BR /&gt;Anil,  activating the logging and then printing produced the following output which appears like it should (I think).  &lt;BR /&gt;&lt;BR /&gt;root@sur_s1p3/&amp;gt;cat /var/adm/lp/log&lt;BR /&gt;***** LP LOG: Jul 15 11:35 *****&lt;BR /&gt;        FIFO: Jul 15 11:38  r is02 101 root sur_s1p3 0&lt;BR /&gt;is02-101        root    is02    Jul 15 11:38&lt;BR /&gt;        /etc/lp/interface/model.orig/is02 d&lt;BR /&gt;        /opt/hpnpl/bin/hpnpf -j is02-101+root -w  -a1  -x surfsditil4k.cnasurety.net&lt;BR /&gt;        CHILD: Jul 15 11:38  is02 101 0000&lt;BR /&gt;        FIFO: Jul 15 11:38  m is02 6691&lt;BR /&gt;        FIFO: Jul 15 11:45  n&lt;BR /&gt;        FIFO: Jul 15 11:45  n&lt;BR /&gt;&lt;BR /&gt;Geoff and Bill,  The print queue within HP-UX is is02, the printer name is surfsditil4k so I did a /opt/hpnpl/bin/hpnpadmin -v surfsditil4k and following is the beginning of the output&lt;BR /&gt;&lt;BR /&gt;surfsditil4k is a network printer&lt;BR /&gt;Printer State       : printing&lt;BR /&gt;- connected to sur4524.cnasurety.net&lt;BR /&gt;&lt;BR /&gt;sur_s1p3 is allowed access to surfsditil4k&lt;BR /&gt;&lt;BR /&gt;Fail (1)&lt;BR /&gt;&lt;BR /&gt;Card IP Address     : surfsditil4k.cnasurety.net (172.16.6.1)&lt;BR /&gt;Network Mask        : 255.255.0.0&lt;BR /&gt;Default Gateway     : sur-gw-wan-eth-fsd.cnasurety.net (172.16.4.50)&lt;BR /&gt;Idle Timeout        : 90 seconds&lt;BR /&gt;&lt;BR /&gt;Uptime              : 23:33:12&lt;BR /&gt;Connections Accepted: 49&lt;BR /&gt;Connections Denied  : 0 (not on access list)&lt;BR /&gt;Connections Aborted : 0&lt;BR /&gt;Connections Killed  : 0&lt;BR /&gt;Bytes Received      : 5975024 (current connection)&lt;BR /&gt;Bytes Sent          : 0 (current connection)&lt;BR /&gt;Total Bytes Received: 13818750 (since power-on or reconfig)&lt;BR /&gt;Total Bytes Sent    : 4153 (since power-on or reconfig)&lt;BR /&gt;&lt;BR /&gt;Control Panel       : PROCESSING JOB&lt;BR /&gt;FROM TRAY 2&lt;BR /&gt;Line State          : Online&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The printer was added using jetdirect and if I try to add the queue it says the queue already exists so I did a removequeue -qis02 then readded it.&lt;BR /&gt;&lt;BR /&gt;I did the hpnpf command to bypass the lp subsystem and it printed my file so apparently the problem is somewhere in the lp subsystem.    Any further ideas will be welcome.</description>
      <pubDate>Thu, 15 Jul 2004 12:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331755#M189200</guid>
      <dc:creator>Rex Pommier</dc:creator>
      <dc:date>2004-07-15T12:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331756#M189201</link>
      <description>Yep, sounds like a permissions problem. You might check syslog. You can see in the lp log that hpnpf is doing the actual work so it may have been given a print job that lp does not have the rights to read (typically directory permissions). Double check that no one tried to 'improve' the permissions on / /var /etc /tmp - they should be:&lt;BR /&gt; &lt;BR /&gt;# ll -d / /var /etc /tmp&lt;BR /&gt;drwxr-xr-x  20 root       root          8192 May  3 13:32 //&lt;BR /&gt;dr-xr-xr-x  29 bin        bin           8192 Jul 15 15:16 /etc/&lt;BR /&gt;drwxrwxrwt   6 bin        bin           8192 Jul 15 15:07 /tmp/&lt;BR /&gt;dr-xr-xr-x  27 bin        bin           8192 May  3 11:24 /var/&lt;BR /&gt; &lt;BR /&gt;(note: /tmp can also be drwxrwxrwx, the 't' is to improve user security for /tmp)&lt;BR /&gt; &lt;BR /&gt;Now check the permissions that swinstall thinks should be there:&lt;BR /&gt; &lt;BR /&gt;swverify PrinterMgmt</description>
      <pubDate>Thu, 15 Jul 2004 15:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331756#M189201</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-07-15T15:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: lp command not printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331757#M189202</link>
      <description>BINGO!!!!&lt;BR /&gt;&lt;BR /&gt;Thanks, Bill.  /var/tmp was recently built into a separate filesystem from /var and the permissions were set at 755 instead of 777.  I set them to 777 and everything started working again.  Too bad I can't give you 20 points for this one!</description>
      <pubDate>Thu, 15 Jul 2004 15:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-command-not-printing/m-p/3331757#M189202</guid>
      <dc:creator>Rex Pommier</dc:creator>
      <dc:date>2004-07-15T15:31:28Z</dc:date>
    </item>
  </channel>
</rss>

