Cand incerc sa maresc zona afisata/printata dintr-un pdf folosind ghostscript (reducand zona alba de la margini), nu apar toate paginile corect, unele prea putin sau prea mult . Se poate specifica in procente ?
$ gs -sDEVICE=pdfwrite -sOutputFile=marked.pdf ESP Ghostscript 815.02 (2006-04-19) Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. GS>[/CropBox [10 10 592 772] /PAGES pdfmark sau GS>[/CropBox [10 20 592 762] /PAGES pdfmark GS>(pdf_original.pdf) run Ce afiseaza pdfinfo despre noile pdf-uri create pdfinfo -box $ pdfinfo -box marked.pdf Producer: ESP Ghostscript 815.02 CreationDate: Sun Oct 1 14:36:56 2006 ModDate: Sun Oct 1 14:36:56 2006 Tagged: no Pages: 213 Encrypted: no Page size: 612 x 792 pts (letter) MediaBox: 0.00 0.00 612.00 792.00 CropBox: 10.00 10.00 592.00 772.00 BleedBox: 10.00 10.00 592.00 772.00 TrimBox: 10.00 10.00 592.00 772.00 ArtBox: 10.00 10.00 592.00 772.00 File size: 828525 bytes Optimized: no PDF version: 1.3 $ pdfinfo -box marked.pdf Producer: ESP Ghostscript 815.02 CreationDate: Sun Oct 1 14:44:27 2006 ModDate: Sun Oct 1 14:44:27 2006 Tagged: no Pages: 213 Encrypted: no Page size: 612 x 792 pts (letter) MediaBox: 0.00 0.00 612.00 792.00 CropBox: 10.00 20.00 592.00 762.00 BleedBox: 10.00 20.00 592.00 762.00 TrimBox: 10.00 20.00 592.00 762.00 ArtBox: 10.00 20.00 592.00 762.00 File size: 828523 bytes Optimized: no PDF version: 1.3 _______________________________________________ RLUG mailing list RLUG@lists.lug.ro http://lists.lug.ro/mailman/listinfo/rlug