Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 16:16:23 -0600 (CST)
From:      Peter Elsner <peter@servplex.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/45732: lprm does not function like stated in man page.
Message-ID:  <200211252216.gAPMGN535784@spxdev.servplex.com>

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

>Number:         45732
>Category:       misc
>Synopsis:       lprm does not function like stated in 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:01 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 lprm displays the use as follows:

NAME
     lprm - remove jobs from the line printer spooling queue

SYNOPSIS
     lprm [-Pprinter] [-] [job # ...] [user ...]

lprm -Plsjd1p2 (none of the above work at all)

spxdev:root# lprm -Plsjd1p2
(LPD Server):
Cancel Function Not Supported
spxdev:root# lprm -
(LPD Server):
Cancel Function Not Supported
spxdev:root# lprm 13
(LPD Server):
Cancel Function Not Supported
spxdev:root# lprm peter
(LPD Server):
Cancel Function Not Supported
spxdev:root#

Now, it does work if (and only if) I enter the following:

lprm -Plsjd1p2 13

spxdev:root# lprm -Plsjd1p2 13
dfA013spxdev.servplex.com dequeued
cfA013spxdev.servplex.com dequeued
(LPD Server):
Cancel Function Not Supported
spxdev:root#

It does actually remove the print job but still gives the Cancel 
Function Not Supported message...

>How-To-Repeat:
   turn off your printer and send a print job.
   then type lprm job# or lprm 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?200211252216.gAPMGN535784>