You are not logged in.
Hi,
I'm trying to "compress" the file size of a PDF file with this ghostscript command:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
but I get this error:
**** Unable to open the initial device, quitting.
I've searched for a while and it seems to be a "path" problem for the output file. But I can't understand how to fix it.
Could anyone help me, please?
EDIT: I was writing sOutputFile=output.pdf instead of -sOutputFile=output.pdf (thank you to the great gs community on IRC channel)
Thank you,
enrico
Last edited by enricostn (2011-09-16 12:13:45)
Offline