Try this:
h4: {597} % lpr -V -Pnone /tmp/hi
LPRng-3.6.18, Copyright 1988-2000 Patrick Powell, <[EMAIL PROTECTED]>
sending job 'papowell@h4+844' to none@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer none@localhost
job 'papowell@h4+844' transfer to none@localhost failed
error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
sending str '^Bnone' to none@localhost
error msg: 'none: no spool queue'
job failed - error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
sending str '^Bnone' to none@localhost
> From [EMAIL PROTECTED] Tue Jun 20 02:30:19 2000
> Date: Tue, 20 Jun 2000 10:10:35 +0200
> From: Christoph Beyer <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: default_printer_when_unknown
>
> hi,
>
> I`m using LPRng 3.6.12 with 2 spooling hosts (solaris 2.7) and 3.000 to
> 4.000 clients. Is there any way to tell clients by a returned code on
> the command line that they try to reach a printer that doesn`t exist ?
> It often happens that people type `lpr -Ppuubps2` instead of `lpr
> -Ppubps2`. In cases like that it doesn`t make sense to redirect the
> output to another printer (default_printer_when_unknown) because people
> will not find the output were they expect it to be and they end up by
> telling me that `printing doesn`t work` ....So I would prefere to `tell`
> them immediately that they have to choose an existing printer ...
>
> Regards Christoph
>
>
> -----------------------------------------------------------------------------
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
>
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------