a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Anyone there?


From: Harmon, Tony T
Subject: Anyone there?
Date: Thu, 10 Jan 2002 09:02:01 -0600

Sorry folks, I apparently messed up my subscription, so I'm re-sending this...

Anyone out there?

All,

I am ftping files from the mainframe to our AIX box (4.3.3) and
then a Korn shell script invokes a2ps to convert the file to
postscript format then it invokes distill, an Adobe utility,
to convert it to pdf format...

My problem is that a2ps seems to be ignoring parms, or I'm not
using the right ones, but it puts a margin on the page. We don't
want any kind of formating since that is already done on the
mainframe. The command I've been trying is as follows:

a2ps -r -L66 --chars-per-line=133 --borders=0 --rows=1 --columns=1 --margin=2 --non-printable-format='space' ../ftp/WBC00015.PRS -o WBC00015.PS

The command, that I inherited is as follows:

a2ps -r -L66 --chars-per-line=$prsLength --borders=no -i --rows=1 --columns=1 --major=rows --no-header --left-title --center-title --right-title --left-footer --footer --right-footer ${1%}.PRS -o ${1%.PRS}.PS

I've tried messing with the margin and borders, but in the
postscript file the llx and such always have the same value.
Now if I hand edit those values and set them to 2 pixels inside
the edge of the physical page it seems to make it right.

Any help would be greatly appreciated.


Thanks,
Tony Harmon

(785)435-2419

===================
"The average golfer's problem is
not so much a lack of ability as
it is a lack of knowing what he
should do."
-- Ben Hogan
===================



reply via email to

[Prev in Thread] Current Thread [Next in Thread]