Re: more details
From: Nick Landsberg (hukolau_at_NOSPAM.att.net)
Date: 06/02/04
- Next message: Nick Landsberg: "Re: repair tar file?"
- Previous message: Nick Landsberg: "Re: CPU usage and load average"
- In reply to: Xiaoshen Li: "more details"
- Next in thread: A. S. Budden: "Re: more details"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 02 Jun 2004 18:39:47 GMT
Xiaoshen Li wrote:
> Thank you very much for the help. Here I try to provide more details
> related to my previous question.
>
> I use Red Hat Linux 7.3 KDE3.0. The printer is Laser5P. Printer is
> shared by the whole office, so it is connected through network to my
> computer. I don't know how the printer was setup in my computer.
> Somebody set it up before I came. The size of paper in the printer is
> the regular size. I am just printing a long ascii file.
>
> Every Linux/Unix book talks about lpr for printing, nothing else. So I
> didn't know enscript. I ran into this name a few days ago on Google.
> Since somebody has suggested me about that, I am going to download it
> and give a try.
>
> Thank you again for your help.
>
"lpr" is really dumb and is just a printer-spooler
as far as I know. If you send it stuff without
pagebreaks, it will print without page-breaks and
you will most likely get stuff which should have
been printed in the margins getting lost.
try something like
pr foo.txt | lpr
see "man pr" for the options on how to
control the lines per page and such
(default = 66 lines total with a 5 line header, 5 line
trailer).
-- "It is impossible to make anything foolproof because fools are so ingenious" - A. Bloch
- Next message: Nick Landsberg: "Re: repair tar file?"
- Previous message: Nick Landsberg: "Re: CPU usage and load average"
- In reply to: Xiaoshen Li: "more details"
- Next in thread: A. S. Budden: "Re: more details"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|