Difference between revisions of "Working with PDF Documents"

From Digital Tibetan
Jump to: navigation, search
Line 5: Line 5:
 
Linux: [[Media:FormatPrinter2.zip|LinuxFormatPrinter]] (requires paket Mono)
 
Linux: [[Media:FormatPrinter2.zip|LinuxFormatPrinter]] (requires paket Mono)
  
Windows: [[Media:FormatPrintString.zip|WindowsFormatPrinter]] (requires Microsoft .NET Framework 2 or Mono for Windows)
+
Windows: [[Media:FormatStringPrint.zip|WindowsFormatPrinter]] (requires Microsoft .NET Framework 2 or Mono for Windows)
  
 
===Creating A5 booklets===
 
===Creating A5 booklets===
  
# Create a PDF document with a page size that is a multiple of four. (Add empty pages if necessary)
+
# Create a PDF document with a page size that is a ''multiple of four''. (Add empty pages if necessary: in Linux use <pdfjoin>, in Windows use PDFill to join empty pages)
# Use either the Windows or the Linux version to calculate the page reordering sequence for booklet creation: Enter the number of pages (multiple of four) of the original PDF document, select 'A5 booklet' and 'Calculate'.
+
# Use either the Windows (download WindowsFormatPrinter above) or the Linux version (download LinuxFormatPrinter) to calculate the page reordering sequence for booklet creation: Enter the number of pages (multiple of four) of the original PDF document, select 'A5 booklet' and 'Calculate'.
 
# The next step depends on the operating system you are using:
 
# The next step depends on the operating system you are using:
 
====Windows====
 
====Windows====
 
Use [http://www.pdfill.com/pdf_tools_free.html PDFill (free)], option xxx
 
Use [http://www.pdfill.com/pdf_tools_free.html PDFill (free)], option xxx
 
====Linux====
 
====Linux====
Use the <code>pdfjam</code> package. It contains a command-line tool pdfnup. Use a terminal to execute (all is one line):
+
Install the <code>pdfjam</code> package. It contains a command-line tool pdfnup. Use a terminal to execute a command similar to (all in one line):
  
 
   pdfnup original.pdf --pages 41,1,2,41,41,3,4,41,40,5,6,39,38,7,8,37,36,9,10,35,34,
 
   pdfnup original.pdf --pages 41,1,2,41,41,3,4,41,40,5,6,39,38,7,8,37,36,9,10,35,34,
Line 23: Line 23:
 
(Of course replace the pages string with the page numbers you generated above with the FormatPrinter tool)
 
(Of course replace the pages string with the page numbers you generated above with the FormatPrinter tool)
  
The resulting booklet.pdf can be printed directly. Use short-edge binding double-sided printing.
+
This creates a <code>booklet.pdf</code> from <code>original.pdf</code>. <code>booklet.pdf</code> can be printed directly. Use short-edge binding double-sided printing.
 
   
 
   
 
===Printing A6 booklets===
 
===Printing A6 booklets===

Revision as of 09:39, 22 September 2008

Transforming PDF Documents for Printing

Tools

Linux: LinuxFormatPrinter (requires paket Mono)

Windows: WindowsFormatPrinter (requires Microsoft .NET Framework 2 or Mono for Windows)

Creating A5 booklets

  1. Create a PDF document with a page size that is a multiple of four. (Add empty pages if necessary: in Linux use <pdfjoin>, in Windows use PDFill to join empty pages)
  2. Use either the Windows (download WindowsFormatPrinter above) or the Linux version (download LinuxFormatPrinter) to calculate the page reordering sequence for booklet creation: Enter the number of pages (multiple of four) of the original PDF document, select 'A5 booklet' and 'Calculate'.
  3. The next step depends on the operating system you are using:

Windows

Use PDFill (free), option xxx

Linux

Install the pdfjam package. It contains a command-line tool pdfnup. Use a terminal to execute a command similar to (all in one line):

 pdfnup original.pdf --pages 41,1,2,41,41,3,4,41,40,5,6,39,38,7,8,37,36,9,10,35,34,
 11,12,33,32,13,14,31,30,15,16,29,28,17,18,27,26,19,20,25,24,21,22,23 --nup 2x1 
 --orient landscape --outfile booklet.pdf

(Of course replace the pages string with the page numbers you generated above with the FormatPrinter tool)

This creates a booklet.pdf from original.pdf. booklet.pdf can be printed directly. Use short-edge binding double-sided printing.

Printing A6 booklets

Printing Pechas