Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 16:12:59 -0600 (CST)
From:      Peter Elsner <peter@servplex.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/45731: lpq doesn't work according to man page
Message-ID:  <200211252212.gAPMCxp35679@spxdev.servplex.com>

next in thread | raw e-mail | index | archive | help

>Number:         45731
>Category:       misc
>Synopsis:       lpq doesn't work according to man page
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 25 14:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Peter Elsner
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
ServPlex Corporation
>Environment:
System: FreeBSD spxdev.servplex.com 4.5-STABLE FreeBSD 4.5-STABLE #1: Fri Mar 15 10:39:11 CST 2002 peter@spxdev.servplex.com:/home/usr/obj/home/usr/src/sys/SPXDEV i386


FreeBSD 4.5-STABLE

>Description:
man lpq displays the use as follows:

NAME
     lpq - spool queue examination program

SYNOPSIS
     lpq [-a] [-l] [-Pprinter] [job # ...] [user ...]

lpq -a (works fine)
lpq -l (doesn't return anything)
lpq -Pprinter (works fine)
lpq  job# and lpq user (don't work).

Examples follow:
spxdev:root# lpq -a
lsjd1p2:
spxdev.servplex.com: Warning: lsjd1p2 is down:
spxdev.servplex.com: Warning: no daemon present
Rank   Owner      Job  Files                                 Total Size
1st    peter      13   (standard input)                      785 bytes

(LPD Server):


spxdev:root# lpq -l
(LPD Server):

spxdev:root# lpq -Plsjd1p2
spxdev.servplex.com: Warning: lsjd1p2 is down:
spxdev.servplex.com: Warning: no daemon present
Rank   Owner      Job  Files                                 Total Size
1st    peter      13   (standard input)                      785 bytes

(LPD Server):

spxdev:root# lpq 13
(LPD Server):

spxdev:root# lpq peter
(LPD Server):

spxdev:root#

>How-To-Repeat:
	turn off your printer and send a print job.
   then type lpq -l or lpq job# or lpq username 
	(just as described in man page) and see the results.  

>Fix:



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211252212.gAPMCxp35679>