User:Ssstephen/SI192print: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "Attempting to print SI19 in a small addition. ==Prepping from scans to print ready PDF== I have 18 PDFs with severals A4 scans in each. They need to be combined, rotated, cut into A5 pages, and put in the correct order. Then they need to be combined into folios and printed. Without Adobe? <code>pdftk</code> and <code>pdfimpose</code> might be able to do this together. <pre>pdftk <input.pdf> cat 1-endeast output <output.pdf></pre> combined yes, rotated kinda, <pre...")
 
No edit summary
Line 28: Line 28:


Then add in the extra pages to make it fit the folios (5 x 36 = 180).
Then add in the extra pages to make it fit the folios (5 x 36 = 180).
Then break the doc into 5. Then impose each folio seperately.
 
<pre>convert xc:none -page 421x595 a.pdf</pre>
 
Create a blank PDF with a single page of a given size. (Then use <code>pdftk</code> to put it in the right places).
 
<pre>pdftk A5-c.pdf cat 1-36 output A5folio1.pdf</pre>
 
Then break the doc into 5. (I think you should be able to skip this step with the group option in the next pdfimpose command, but I cant get it to work.)
 
<pre>pdfimpose saddle A5folio1.pdf</pre>
 
Then impose each folio separately, (see note above, this could maybe be better).
 
Can all of the above be made into some sort of bash script? Is that useful?


==Printing and folding==
==Printing and folding==

Revision as of 14:55, 23 February 2023

Attempting to print SI19 in a small addition.

Prepping from scans to print ready PDF

I have 18 PDFs with severals A4 scans in each. They need to be combined, rotated, cut into A5 pages, and put in the correct order.

Then they need to be combined into folios and printed.

Without Adobe? pdftk and pdfimpose might be able to do this together.

pdftk <input.pdf> cat 1-endeast output <output.pdf>

combined yes, rotated kinda,

pdftk A=<input1.pdf> B=<input2.pdf> cat A1-3 B1-2 A4-end output <output.pdf>

missing pages

pdfcrop --margins "0 0 -420.72 0" combinedA4-f.pdf A5left.pdf

cropping to half the original size (use pdftk input.pdf dump_data to find the document size).

pdftk A=A5left.pdf B=A5right.pdf shuffle A B output A5-a.pdf

Recombining left and right documents into a single PDF by shuffling.

pdftk A5-b.pdf shuffle A B output A5-a.pdf

Then add in the extra pages to make it fit the folios (5 x 36 = 180).

convert xc:none -page 421x595 a.pdf

Create a blank PDF with a single page of a given size. (Then use pdftk to put it in the right places).

pdftk A5-c.pdf cat 1-36 output A5folio1.pdf

Then break the doc into 5. (I think you should be able to skip this step with the group option in the next pdfimpose command, but I cant get it to work.)

pdfimpose saddle A5folio1.pdf

Then impose each folio separately, (see note above, this could maybe be better).

Can all of the above be made into some sort of bash script? Is that useful?

Printing and folding

Think about paper direction, think about margins. After folding you can measure the depth of the book block.

Prepping the cover

Aglaia bought paper, we need to cut to size for the printer, print on it, cut 3 sides and do one fold so it's ready to bind.

Binding

Thread bound and staple bound.