HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Problems faxing a landscape PDF; Used pdftk to rotate the document



I have gs version 8.15.2

I have created a FaxModify file and put FIXEDWIDTH=-dPDFFitPage in it.
Now when I fax it, it doesn't cut anything off but puts everything at
the bottom of the page leaving top half of the page blank. Works for
us for now until there is an alternative solution.

Thanks for your advice. You are doing a great service.

Regards,
Shashi



On Feb 18, 2008 2:09 PM, Lee Howard <faxguy@xxxxxxxxxxxxxxxx> wrote:
>
> Shashidhar Rampally wrote:
> >> Here is the command to test:
> >>
> >> cat rotated.pdf | gs -q -sDEVICE=tiffg4 -dNOPAUSE -dSAFER=true
> >> -sPAPERSIZE=letter -dFIXEDMEDIA -dBATCH -r203.29x98
> >> -sOutputFile=rotated.tif -
> >>
> >> Then take a look at the rotated.tif image.
> >>
> >> I get variable results depending on the Ghostscript version and whether
> >> or not I use -dFIXEDMEDIA (or if I remove it from the command).  What do
> >> you get?
> >>
> >>
> >
> > Thanks for the advice Lee. Sorry for the late reply. I was out of town
> > and did not check my email.
> >
> > I have tried your command and you are RIGHT.
> >
> > I have Ghostscript version 8.15.2 installed on this machine. If I
> > execute the command as is, I am getting the same result as the fax.
> > However, if I remove -dFIXEDMEDIA from the command, the tif isn't
> > getting truncated!!
> >
> > How do I incorporate this into hylafax? Should I rotate the document
> > using PDFTK, then generate the TIF and then send the TIF using
> > sendfax? Or is there a simpler way?
>
> First off, you need to be submitting the rotated PDF (submit portrait
> only) to HylaFAX.
>
> Secondly, in /var/spool/hylafax/etc/FaxModify put:
>
> FIXEDWIDTH=""
>
> or, alternatively:
>
> FIXEDWIDTH=-dPDFFitPage
>
> Then try again.
>
> Thanks,
>
> Lee.
>


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions