On Mon, 20 Apr 1998, Dale E Anglin wrote:
> Upon installing RH5, I configured my first and only printer with a name
> other than 'lp' (which matches our other systems in our network).
>
> When I invoke some command such as 'ls | lpr', I receive the following message:
> lpr: lp: unknown printer
All print commands under Unix (in general) default to 'lp'. If you want to
print on some other printer (either you have more than one or you have
only one but it is not called 'lp') try using '-Pprintername' command
line on any command that has any thing to do with printing (eg. lpq,
lprm, etc.). So if your printer is called 'mypri' try 'lpr -Pmypri', or
'lpq -Pmypri', and so on.
cheers,
Hossein
,-----------------------------------------------------------------------,
| .. Mary had a little ram and Windows was so slow... |
|-----------------------------------------------------------------------|
| Hossein S. Zadeh | |
| Dept of Aerospace Engineering | [EMAIL PROTECTED] |
| (YES! I AM a rocket scientist!!)| [EMAIL PROTECTED] |
| Royal Melb. Inst. of Tech (RMIT) |------------------------------------|
| Melbourne, Australia |http://minyos.its.rmit.edu.au/~zadeh|
'-----------------------------------------------------------------------'
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.