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] Landscape pdf and sendfax



Hi Lee!

Ok, thank you. I tryied to change my orientation of my pdf. So, i made:
pdf2ps org.pdf org.ps
cat org.ps | gs -q -dNOPAUSE -dSAFER -sDEVICE=pdfwrite
cat org.ps | gs -q -dNOPAUSE -dSAFER -dNODISPLAY \
-c "<</PageSize [595 842] /Orientation 0>> setpagedevice 90 rotate 0 -595 translate" -dAutoRotatePages=/All \
-sDEVICE=pdfwrite -sOutputFile=new.pdf -


But, It doesn't help; i'm still stuck with my landscape pdf in new.pdf. I check on the web and everything I found (http://www.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm or http://casper.ghostscript.com/~ghostgum/pdftips.htm#landscape) doesn't really help me.

Do you know how to do??

Thanks a lot!!

Sam

Lee Howard wrote:

On 2004.07.12 07:08 Samuel Jobin wrote:

Hi!

I have a landscape pdf file that I try to send with sendfax. The problem is that hylafax seem to chop my document to fit it in a portrait orientation. I tryied to rotate it with imagemagick (convert -rotate 90 1.pdf 2.pdf) but imagemagick do to same thing.

Anyone can send a landscape pdf???


All faxing is standardized on portrait page orientation. So if you *really* want to send a letter page (21.59 X 27.94 cm portrait oriented) in landscape orientation (27.94 X 21.59 cm) then you need to specify a "page size" that matches that horizontal width (27.94 cm). B4 is 25.01 cm and A3 is 29.70 cm horizontally. So, I would guess that you'd need to specify 'sendfax -s a3' in order to send that letter page in landscape orientation.

That said, you probably really don't want to actually send anything in landscape orientation, and the better thing to do would be to put the page into portrait orientation before submitting it. I suspect that you'll need to specify page-orientation and page-size parameters to that convert command.

Lee.


--
Samuel Jobin
sjobin@xxxxxxxxxx
Software Development
_____________________
--== GNI inc.==--
5075 Wilfrid-Hamel O.
Suite 220
Québec (QC), G2E 5G3
Phone: (418) 864-7721
Fax: (418) 263-3150




____________________ 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