Re: Printing
From: mj (nobody_at_nospam.net)
Date: 01/13/04
- Next message: pankaj: "Re: mount: /dev/cdrom is not a valid block device"
- Previous message: Kiran Reddy: "Re: Harddrive performance: Promise SATA RAID under Redhat 9"
- In reply to: Prakash Countcham: "Re: Printing"
- Next in thread: Lew Pitcher: "Re: Printing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 13 Jan 2004 18:00:17 +0200
Prakash Countcham wrote:
> mj wrote:
>
>> Add the line "alias lpr='lpr -h'" (without the double quotes) in
>> your .bashrc file.
>
>
> Thanks, but some commands and applications don't execute a shell to
> print. Isn't there a config file for lpr ?
>
Actually I think there is, at least for the version which I am using.
(My version of lpr doesn't have an -h option. It is not documented in
the lpr manual page and while lpr accepts it, it doesn't seem to do
anything.)
If you say,
strace -e trace=open lpr file_to_be_printed
you can see which files lpr opens (or tries to). At least on my system
one of them is .lpoptions. See "man lpoptions" for more.
- Next message: pankaj: "Re: mount: /dev/cdrom is not a valid block device"
- Previous message: Kiran Reddy: "Re: Harddrive performance: Promise SATA RAID under Redhat 9"
- In reply to: Prakash Countcham: "Re: Printing"
- Next in thread: Lew Pitcher: "Re: Printing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|