From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Maglinger, Paul" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Lpq command shows one entry, lpc status doesn't Date: Sat, 29 Jan 2005 14:33:21 -0600 Message-ID: <64E3EF472A96B048B9147D40BB0031A80FF46062@indyexchange.scvl.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1107030853 18840 80.91.229.6 (29 Jan 2005 20:34:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Jan 2005 20:34:13 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sat Jan 29 21:34:06 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CuzIE-00080B-00 for ; Sat, 29 Jan 2005 21:34:06 +0100 Original-Received: (qmail 31300 invoked by uid 5); 29 Jan 2005 20:33:53 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 31285 invoked by uid 49501); 29 Jan 2005 20:33:53 -0000 Original-Received: from PMAGLINGER@scvl.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-2.6/5.0):. Processed in 1.32325 secs); 29 Jan 2005 20:33:53 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 29 Jan 2005 20:33:51 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IB300GGKIGDVX@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 29 Jan 2005 15:33:51 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IB300102IFNSM@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 29 Jan 2005 15:33:27 -0500 (EST) Original-Received: from marshall.scvl.com (scvl.com [12.28.0.30]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IB30005HIFMMT@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 29 Jan 2005 15:33:22 -0500 (EST) Original-Received: from indyexchange.scvl.com (unverified [10.110.1.21]) by marshall.scvl.com (Content Technologies SMTPRS 4.3.17) with ESMTP id for ; Sat, 29 Jan 2005 14:33:21 -0600 Original-Received: by indyexchange.scvl.com with Internet Mail Service (5.5.2653.19) id ; Sat, 29 Jan 2005 14:33:21 -0600 Content-return: allowed Original-To: 'Tru64 Unix Managers list' X-Mailer: Internet Mail Service (5.5.2653.19) X-Envelope-From: Xref: main.gmane.org gmane.os.tru64.managers:7972 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7972 Sorry for the late summary. Thanks to Mark Sornson for his insight to the difference between lpc and lpq. It help us to determine the problem was with an old NetQue print server. We have replaced it with a Lantronix LPS and it solved our problems. Maglinger, Paul wrote: > Thanks for the reply. > >>Admins, >> >>Running Tru64 5.1B PK3. We have one network printer that when I do an lpq > > >>-P, it comes back and says that there is one entry but when I do an lpc >>status it shows there are no entries. I have checked the printer spool > > and > >>it is empty. Does anyone have any ideas why it believes that this printer > > >>has an entry waiting with lpq? > > > Are you still having the problem? > > What's the /etc/printcap entry for this > printer look like? Is it set up as remote > (using rm and rp)? Lpq queries the remote > host for what it thinks its queue status > is. Lpc, on the other hand, only looks > at the local queue. If it is a remote > printer, perhaps there IS a job in the > buffer at the printer, or else the printer > is confused and needs to be reset. > > If it is set up as a local printer via > tcp/ip, it's a bit more of a mystery. > When you say you checked the printer > spool, does that mean that you took > a full listing of the contents of the > spool directory for the printer? > > -mark. >