[95541] in RedHat Linux List
Re: lpr command
daemon@ATHENA.MIT.EDU (Eric Lee Green)
Mon Oct 19 10:55:40 1998
Date: Mon, 19 Oct 1998 10:55:48 -0400 (EDT)
From: Eric Lee Green <eric@linux-hw.com>
To: Hugh Lawson <hglawson@nr.infi.net>
cc: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.96.981018084001.19695G-100000@localhost.localdomain>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Sun, 18 Oct 1998, Hugh Lawson wrote:
> What have I missed, or misunderstood?
>
> Man lpr says this with respect to the -p option.
>
> -p Use pr(1) to format the files (equivalent to print).
>
> To me this means that "lpr -p filename RETURN"
>
> should have the same effect as
>
> "pr filename|lpr RETURN".
>
> But it doesn't work that way. "lpr -p filename RETURN" produces no
> printer output at all. Can anybody straighten me out on this?
I haven't looked at the lpd source lately, but I seem to recall that you
need a pr filter option in your /etc/printcap for the -p option to work
correctly.
Most of the 'optional formatting' options to lpr will work only if you
have the actual commands in /etc/printcap to do the formatting. The Red
Hat print system does not set up that stuff in /etc/printcap 'cause
(almost) nobody uses them anymore.
--
Eric Lee Green eric@linux-hw.com http://www.linux-hw.com/~eric
"To call Microsoft an innovator is like calling the Pope Jewish ..."
-- James Love (Consumer Project on Technology)
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.