[CentOS] Enscript

Charles Polisher cpolish at surewest.net
Tue Mar 8 15:25:10 UTC 2011

Hal Davison wrote:
> Greetings..
> Yes ENSCRIPT is a text to PostScript 
> conversion service.
> As usual, am a bi confused on how to 
> implement the fit-to-page functionality. 
> Google resources say it is used then 
> proceeds to dance around the issue
> Using the -f<fontname>@W/H option can one 
> calculate the necessary dimensions  for 
> the print job consisting of over 200 pages?

It irritates me when people propose something else in place of
what the OP wants help with, so it is with misgivings that I
present what I have worked out for converting a text file to
postscript, fitting the page in 3-column format, using a
different tool. It took hours of trial and error (too many

/usr/bin/a2ps \
   --prologue=bold \
   -r \
   -MLetterdj \
   --columns=4 -j --font-size=7 \
   --no-header \
   -o outputfile.ps inputfile.txt

Charles Polisher

More information about the CentOS mailing list