bug-ghostscript
[Top][All Lists]
Advanced

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

Bug with -c param?


From: Samuel Jobin
Subject: Bug with -c param?
Date: Tue, 13 Jul 2004 09:12:35 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

Hi! I currently have a landscape pdf (11x8.5) and I want to switch it back to a portrait format with the landscape orientation (for faxing it).

After a lot of tries, I found that the command:

cat s.ps | gs -q -dNOPAUSE -dSAFER -sDEVICE=pdfwrite -c "<</PageSize [595 842] /Orientation 3>> setpagedevice 90 rotate 0 -595 translate" -dNOPROMPT -dAutoRotatePages=/All -

Give me what I want.  But, when I try

cat s.ps | gs -q -dNOPAUSE -dSAFER -dNODISPLAY -sDEVICE=pdfwrite -c "<</PageSize [595 842] /Orientation 3>> setpagedevice 90 rotate 0 -595 translate" -dNOPROMPT -dAutoRotatePages=/All -sOutputFile=1.pdf

I cannot get the result on a new file!! If I remove the -c param, I get my new pdf. Is there a bug? If no, how can I get my new file insteed of viewing it?

Thanks,

Sam

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





reply via email to

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