[10530] in Athena Bugs

home help back first fref pref prev next nref lref last post

rt 7.4H (and other machines): lpr, -a option, man page

daemon@ATHENA.MIT.EDU (sethf@Athena.MIT.EDU)
Thu Jun 3 14:12:33 1993

From: sethf@Athena.MIT.EDU
To: bugs@Athena.MIT.EDU
Date: Thu, 03 Jun 93 14:12:19 EDT

System name:		frumious-bandersnatch
Type and version:	RTPC-ROMPC 7.4H
Display type:		apa16

What were you trying to do?
	print, charging to an account number.

What's wrong:
	I looked up the syntax in the man page. It reads
	lpr [ -Pprinter ] [ -#num ] [ -a account ] ...

What should have happened:
	It should read
	lpr [ -Pprinter ] [ -#num ] [ -aaccount ] ...
                                    ^^^^^^^^^^^^^
	There is no space after the -a. If you put a space there, it
treats the account number as a file to be printed.
lpr -Pprinter -a <account number> gives the error message
"lpr: cannot stat <account number>"

Please describe any relevant documentation references:
	lpr(1)

home help back first fref pref prev next nref lref last post