On Mon, 19 Oct 1998, Rod Gotty wrote:

> Hi:
> 
> I'm running RedHat-5.1 and have an HP Laserjet connected to it via the
> parallel port.  I can print to it just fine using the command:
> 
>   lpr -P HPLJ FileToPrint
There should be a line in your /etc/printcap file that starts with
"HPLJ:...". Change it to "HPLJ|lp:...". This way you can give multiple
names to your printers. Also, you coukld set the  $PRINTER environment
variable.

Frank
> 
> and the file FileToPrint is printed; however, it is a pain to specify the
> printer with the "-P PrinterName" parameter.  If I omit the -P option, I
> get the following error message:
> 
>   lpr: lp: unknown printer
> 
> Obviously, the printer is not set as my default printer.  How can I make
> it my default printer so that I don't have to keep using the -P option?
> 
> Thanks
> -Rod
> 
> 

Reply via email to