[scribus] DPI and PDF question

Nigel Ridley nigel at rmk.co.il
Thu Jul 24 18:05:05 CEST 2008


Tino Schwarze wrote:
> On Thu, Jul 24, 2008 at 04:46:53PM +0300, 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 ''
> 
> Looks like your "gsc" is something else than "ghostscript". Try using
> "gs" instead.

nigel at laptop:~/Hamaayan/Example$ pdftops -level3 -paper match "$Example" - | gs -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 ''
nigel at laptop:~/Hamaayan/Example$

nigel at laptop:~$ sudo apt-get install gs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
   gs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.5kB of archives.
After this operation, 69.6kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com hardy/main gs 8.61.dfsg.1-1ubuntu3 [27.5kB]
Fetched 27.5kB in 0s (52.6kB/s)
Selecting previously deselected package gs.
(Reading database ... 175673 files and directories currently installed.)
Unpacking gs (from .../gs_8.61.dfsg.1-1ubuntu3_all.deb) ...
Setting up gs (8.61.dfsg.1-1ubuntu3) ...
nigel at laptop:~$
nigel at laptop:~/Hamaayan/Example$ pdftops -level3 -paper match "$Example" - | gs -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 ''
nigel at laptop:~/Hamaayan/Example$

> 
> What does gsc --help say, just out of curiosity?

nigel at laptop:~$ gsc --help
*** WARNING -- Unknown or improperly placed option: "-help"

nigel at laptop:~$ apt-cache policy gsc
W: Unable to locate package gsc

nigel at laptop:~$ sudo apt-get install gsc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package gsc
nigel at laptop:~$ apt-cache policy ghostscript
ghostscript:
   Installed: 8.61.dfsg.1-1ubuntu3
   Candidate: 8.61.dfsg.1-1ubuntu3
   Version table:
  *** 8.61.dfsg.1-1ubuntu3 0
         500 http://archive.ubuntu.com hardy/main Packages
         100 /var/lib/dpkg/status
nigel at laptop:~$

> 
> HTH,
> 
> Tino.
> 

Not sure what to say - perhaps it's a Ubuntu thing...?

Blessings,

Nigel

-- 
PrayingForIsrael.net
http://www.prayingforisrael.net/






More information about the scribus mailing list