posts - 198,  comments - 1481,  trackbacks - 6
N-Up Printing allows you to shrink several pages onto one page(N-Up打印输出允许你缩小若干个页面 到一个页面上)
Booklet就是小册子
该程序是一个iText 在GCj下实现的例子,源代码来自sf.net上的qvpdf。

暂时未写iTextSharp版本,如果有需要请和我联系。
下载地址:http://rubypdf.com/softwares/pdf-n-up-maker

nup_pdf <infile> <outfile> <pages> [options]

   infile          : input PDF file
   outfile         : output PDF file
   pages           : number of pages per sheet. pages = 2^n * x^2

Options:
   -b              : draw bounding boxes
   -m <margin>     : outer margin (measured in points)
   -s <spacing>    : spacing between pages (measured in points)
   -k <mode>       : 0=n-Up, 1=Booklet

(C) 2005 Marcus May (QuoVadis/NBS)

Compile to native code using gcj by:
Steven Lee(steedsoft@gmail.com)
http://www.steedsoft.com/

posted on 2006-04-23 16:03 RubyPDF 阅读(...) 评论(...) 编辑 收藏