peter_lemenkov
Recent Entries 
24th-Jul-2008 12:45 pm - pdfmerge and simple Ghostscript trick
I found this review request recently:

https://bugzilla.redhat.com/show_bug.cgi?id=456331

Rahul tries to push pdfmerge into Fedora, but seems that he simply unfamiliar with mighty power of Ghostscript :), because those, who have read something about gs, already knows that to merge pdf-files in one is easiest task for this application:

gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf -f file1.pdf file2.pdf ... fileN.pdf


In this way I merged hundreds (or even thousands) of scanned pages of many different magazines in one (so-called pirated content, of course - I don't want to hurt the forests of our Planet by bying magazines/newspapers/etc, made from paper, obsoleted technology from 3500 BC, according to Wikipedia).
28th-Nov-2006 02:22 pm - PDF. Забавное.
PDF - это хорошо. Это здорово и удобно.

Сегодня я решил склеить около двухсот PDF-файлов в один (ну так криво отсканировали книжку, что ж поделать) и вот что увидел:

[petro@host-12-124 pdf-temp]$ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out_pdf -f `find -name "*.pdf" | sort`
[sorry, skipped]
Page 16

**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> Acrobat Distiller 6.0.1 (Windows) <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.

Processing pages 1 through 15.


Хехехех
This page was loaded Mar 21st 2010, 2:42 am GMT.