[scribus] DPI and PDF question

avox avox at arcor.de
Thu Jul 24 23:12:08 CEST 2008




Nigel Ridley wrote:
> 
> 
> 
> Thanks for pointing out the 'obvious_mistake'. However it still produces
> errors (my original file 
> that I am wanting to reduce in size is named 'Example.pdf'):
> 
> nigel at laptop:~/Hamaayan/Example$ pdftops -level3 -paper match "$Example" -
> | gsc -q -dSAFER 
> -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook
> -dAutoRotatePages=/None 
> -dEmbedAllFonts=true -dSubsetFonts=true -sOutputFile="$example.pdf"
> -dCompatibilityLevel=1.4 -c 
> .setpdfwrite -
> Error: Couldn't open file ''
> 

Don't inlcude the '$' in filenames, it only marks shell variables.
("$Example" would result in an empty string if the shell variable 'Example'
does not exist).



> *** WARNING -- Unknown or improperly placed option: "q"
> *** WARNING -- Unknown or improperly placed option: "dSAFER"
> *** WARNING -- Unknown or improperly placed option: "dBATCH"
> *** WARNING -- Unknown or improperly placed option: "dNOPAUSE"
> *** WARNING -- Unknown or improperly placed option: "sDEVICE=pdfwrite"
> *** WARNING -- Unknown or improperly placed option: "dPDFSETTINGS=/ebook"
> *** WARNING -- Unknown or improperly placed option:
> "dAutoRotatePages=/None"
> *** WARNING -- Unknown or improperly placed option: "dEmbedAllFonts=true"
> *** WARNING -- Unknown or improperly placed option: "dSubsetFonts=true"
> *** WARNING -- Unknown or improperly placed option: "sOutputFile=.pdf"
> *** WARNING -- Unknown or improperly placed option:
> "dCompatibilityLevel=1.4"
> *** WARNING -- Unknown or improperly placed option: "c"
>  >
> *** EOF again to exit
> nigel at laptop:~/Hamaayan/Example$
> 
> I did create an empty .setpdfwrite file and noticed that after running the
> 'one_liner', I now 
> have my original [empty] .setpdfwrite file, plus a file named
> .setpdfwrite.c and an executable 
> named .setpdfwrite.o1 (plus another named .setpdfwrite.o - as I ran the
> script again just to 
> double check) but as you can see from the above it won't run and hangs
> until I do a 'Ctrl + D' 
> twice (to get back to the command prompt).
> 
> If it helps, here is the contents of .setpdfwrite.c:
> 
> #ifdef ___LINKER_INFO
> ; File: ".setpdfwrite.c", produced by Gambit-C 4.0 beta 20
> 

Ok, that means on your system, "gsc" is the Gambit C Compiler, not
ghostscript.
Use "gs" instead of "gsc".

/Andreas 
-- 
View this message in context: http://www.nabble.com/DPI-and-PDF-question-tp18547003p18640690.html
Sent from the Scribus New mailing list archive at Nabble.com.





More information about the scribus mailing list