  | |  | Change Printed Font | Change Printed Font 2004-02-06 - By Richard Ottinger
Back I found the path to the fonts /usr/share/enscript. Then I did # cat
*.afm | grep FontName which give me a list of names I can use with
enscript 's -f option
thanks
Richard
-- --Original Message-- --
From: Richard Ottinger [mailto:richard.ottinger@(protected)]
Sent: Friday, February 06, 2004 11:26 AM
To: 'redhat-list@(protected) '
Subject: RE: Change Printed Font
Pete,
I was able to get my margin the way I wanted using the enscript command
and it lets me change the font, but I can 't seem to determine the
available font types/names that can be used. Do you know how I can get
a list of available fonts. Man page for enscript shows Courier and
Times-Roman.
This is what I 'm using:
enscript --no-header -fTimes-Roman10 --margin=7:7:21:21 --output=test.ps
text.txt
Thanks,
Richard
-- --Original Message-- --
From: redhat-list-admin@(protected) [mailto:redhat-list-admin@(protected)]
On Behalf Of Pete Nesbitt
Sent: Thursday, February 05, 2004 9:40 PM
To: redhat-list@(protected)
Subject: Re: Change Printed Font
On February 5, 2004 03:16 pm, Richard Ottinger wrote:
> Hello Pete,
> I 've been working with the a2ps command and I 'm having a problem
> setting the margin. When I do a # a2ps --list=defaults it returns
> that margin is set to 0, but when I view/print the ps file it looks to
> have about 1/2 inch margin (1/4 " margin is what I prefer), and any
> attempt to set --margin=any# doesn 't have any affect on the margin.
>
> Here is the command that I 'm using:
> # a2ps -R -B --lines-per-page=100 --borders=no --output=fname.ps
> fname.txt
>
> Thanks
> Richard
>
Hi Richard,
hmmm.
I can 't seem to get my printer to do anything less than about 3/8 ", but
it may
be a limitation of the printer.
when I use:
a2ps -R -B --lines-per-page=120 --borders=yes --margin=0 somefile I get
a 3/8 " offset, but the right border line is missing so my printer can 't
quite deal with it (or it is not tracking right, it 's old). I use a HP
lj6p.
Does --list=defaults show the correct medium (A4, Letter...)? If you set
--margin=40 you don 't see a large left margin? Do you know if that
printer can print closer to the edge of the page?
--
Pete Nesbitt, rhce
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |