Mailinglist Archive: opensuse (1377 mails)
| < Previous | Next > |
[S.u.S.E. Linux] a2ps closest fit (was a2ps left margin (was Prints in a box)
- From: dwj@xxxxxxxxxxxxx (Dwight Johnson)
- Date: Fri, 7 Aug 1998 21:12:18 -0700 (PDT)
- Message-id: <Pine.LNX.3.96.980807210220.1464A-100000@xxxxxxxxxxxxxxxxxxxx>
On Fri, 7 Aug 1998, Dwight Johnson wrote:
>
> On Fri, 7 Aug 1998, Dwight Johnson wrote:
>
> > > > Every time I print anything that is straight ASCII, it gets printed in
> > > > a box with page numbers and a header.
> > > >
> > > > I would like to know how to get rid of this box and other formatting.
> > > >
> > > > I am on SuSE 5.2 printing to a HP 5MP.
>
> OK, I have discovered a2ps now. I can get rid of the box and other
> formatting with the line:
>
> A2PS_OPTS="-ns -p -nH -nL -1 -F12.0"
>
> in /etc/apsfilterrc
>
> But there is still a large left margin of about 1 inch I would like to
> get rid of. The print is skewed way to the right. I would just like to
> bring the print back to column 1.
By adding the '-m' option to the above:
A2PS_OPTS="-m -ns -p -nH -nL -1"
I get the closest fit to a straight ASCII print that can be obtained
with a2ps: no box, no headers, no page number. The print is too small,
but at least it is centered in the page and newpage happens in the
right place, i.e., after 66 lines.
This is a lot of work to get what should be the default.
An option to a2ps that would permit normal size print and simulate an
ASCII print of 80 columns by 66 lines would be welcome.
Dwight
-
To get out of this list, please send email to majordomo@xxxxxxxx with
this text in its body: unsubscribe suse-linux-e
| < Previous | Next > |