Re: Vektor-PDFs automatisch beschneiden

"Heiko Oberdiek" (via tex-d-l Mailing List) <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
Hallo,

> (https://stackoverflow.com/questions/6183479/cropping-a-pdf-using-ghostscript-9-01), also etwa:
> 
> gswin64c -dBATCH -dNOPAUSE -sDEVICE=bbox %1 2>temp.txt
> ... Extraktion der Koordinaten aus temp.txt ...
> gswin64c  -o %~dpn1_cropped.pdf  -sDEVICE=pdfwrite -c "[/CropBox [194 77 
> 640 532]" -f %1
> 
> Das will bei mir (mit vorerst händischer Extraktion der Koordinaten) 
> jedoch nicht klappen.

Es fehlt "/PAGES pdfmark". "pdfmark" ist hier der eigentliche Operator,
der die CropBox für alle Seiten installiert.

Viele Grüße
   Heiko

-- 
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l 
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.