[gs-devel] pdf to ps conversion
san
sanbusygaunnadu at gmail.com
Wed Aug 4 16:31:41 UTC 2010
Hi Ken,
Yes I am able to convert the test.pdf in fedora box which I am using to
cross compile, below are few configuration parameters which I am using while
cross compiling ghostscript
--without-x
--disable-cups
--disable-compile-inits
--without-omni
--with-drivers=HP,PS
And I have used same option on my host machine also, which works fine on
Fedora but not on target
I will give it a shot with pre release version, will see if that makes any
difference on my target machine. however these are the below things which
are running in my mind to solve this issue
1. Should I be looking into ghostscript source to find how things work on
64-bit machine
2. Or I may need to change my compiler settings
can you point me to some documentation from which I can understand output of
debug when used -D(1/2/3) so that I can find problem area
Thank you very much for your support
Thanks
Santhosh
On Wed, Aug 4, 2010 at 12:16 PM, Ken Sharp <ken.sharp at artifex.com> wrote:
> At 11:56 04/08/2010 -0400, san wrote:
>
>
> I don't see any difference in using pswrite and ps2write as far as my
>> output is concerned
>> please find attached test.pdf and <http://test.ps>test.ps file
>>
>>
>> I have used below command line options to convert pdf to ps (output is
>> same in all the below cases)
>>
>> 1. gs -dNOPAUSE -dBATCH -sDEVICE=ps2write "-sOutputFile=./<http://test.ps
>> >test.ps" -c save -c pop -f test.pdf
>> 2. gs -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write "-sOutputFile=./<
>> http://test.ps>test.ps" -c save -c pop -f test.pdf
>> 3. gs -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite "-sOutputFile=./<
>> http://test.ps>test.ps" -c save -c pop -f test.pdf
>> 4. pdf2ps test.pdf
>>
>
> Current code (9.0 pre-release) works fine for me with both pswrite and
> ps2write. Converted files attached, command line:
>
> ./gs -sDEVICE=ps2write -sOutputFile=ps2write.ps test.pdf
> ./gs -sDEVICE=pswrite -sOutputFile=pswrite.ps test.pdf
>
>
> It could be a 64-bit problem, but it seems unlikely, you said earlier you
> had cross-compiled GS, possibly some error crept in there.
>
>
> Ken
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ghostscript.com/pipermail/gs-devel/attachments/20100804/d81192da/attachment.html>
More information about the gs-devel
mailing list