HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: Page Width..Still a problem
"Andrew S. Howell" <andy@tibco.com> writes:
> I've been trying to get FrameMaker ps docs to work. For some other
> files, someone mentioned using FIXEDMEDIA in ps2fax. Tried this, but
> then the FrameMaker doc spits out a message that it can't set the page
> size. I think I need to use setpagedevice to silently ignore the page
> size change request, but I'm not sure how to do this. Maybe I need to
> read Adobe's PostScript Languge Reference Manual 15 more times and it
> will sink in....
>
> Anyone have any clues ?
We hit this problem trying to send FrameMaker documents too. I made
the following minimal change to ps2fax.gs, which causes setpagedevice
silently to ignore absolutely everything. Possibly overkill, but it
made that problem go away for good.
I hope a ghostscript expert out there will tell us what we _ought_ to
do.
# <PJA> 16-Jul-1996
# This sed makes setpagedevice a no-op so that
# postscript from frame can be faxed without trouble
# (It had been explicity setting the page to A4 size, which
# caused the tiff driver to output shorter scanlines).
$CAT $fil |
$SED -e '1 i\
/setpagedevice {pop} def
' |
$PS -q \
-sDEVICE=$device \
-dNOPAUSE \
-dSAFER=true \
-sPAPERSIZE=$paper \
-r204x$vres \
"-sOutputFile=$out" \
-