Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>with </p> <p><strong>Multivalent</strong></p> <ul> <li><a href="http://ifile.it/iqpjo4s/Multivalent.jar" rel="nofollow noreferrer">http://ifile.it/iqpjo4s/Multivalent.jar</a></li> <li><a href="http://i.minus.com/1332629726/ObPk3ws5r8DPxgF53aj0Jw/dherwk1Y5TQzZ.jar" rel="nofollow noreferrer">http://i.minus.com/1332629726/ObPk3ws5r8DPxgF53aj0Jw/dherwk1Y5TQzZ.jar</a> (latest free version with tools included, current has no tools in itself)</li> </ul> <p>you can do the trick</p> <pre><code>java -cp path....to/Multivalent.jar tool.pdf.Impose -dim 2x2 -paper 2widhtx2heightin -layout 1,1,1u,1u file.pdf </code></pre> <ul> <li><a href="http://ifile.it/v19xd0j/singlepagerepeatedmirrored.pdf" rel="nofollow noreferrer">http://ifile.it/v19xd0j/singlepagerepeatedmirrored.pdf</a></li> </ul> <p><img src="https://i.stack.imgur.com/hpc3D.png" alt="single pdf page repeated and 2 times mirrored"></p> <p><strong>explanations:</strong></p> <p>if your copy of Multivalent.jar resides in <strong>/mnt/home/</strong> then your path will be <strong><em>java -cp /mnt/home/Multivalent.jar</em></strong></p> <blockquote> <p><strong>-paper</strong> parameter indicates the <em>width</em> and <em>height</em> of page containing 4 times your original pdf page, so, its dimensions, need to be calculated doubling width and height of your original page size</p> <p><strong>in</strong> = inches [other allowed units are <strong>pt</strong> (points) or <strong>cm</strong> (centimeters)]</p> </blockquote> <p>notes: this work flow is intended to be working if you have a single source pdf page. If you have a multipage source pdf, then the way to do this trick is different; please, give to us further details in this case </p> <p>e.g.</p> <p>for <strong>multipage</strong> source pdf whose you need to repeat <strong>every page 4 times ** (* 2 times rotated by 180 degrees*) **one same PAGE</strong>, ...use this script that relies on <strong>pdfinfo</strong> and <strong>Multivalent.jar</strong>:</p> <p> </p> <pre class="lang-sh prettyprint-override"><code>#!/bin/sh # a dingo's script to repeat one same page 4 times in another page (once rotated by 0 degrees, and twice, at bottom, rotated by 180 degrees) # usage (it asks for 3 arguments): # # nameofscript file.pdf number of pages Multivalent.jar path # #example: rotatepdfpage4times file.pdf 16 /mnt/home # pdfname=$1 pages=$2 multivalentpath=$3 xfactor=x ptunit=pt u="u" rep="$(for ((a=1, b=1; a &lt;= $pages; a++, b++)); do echo -n "$a $b $a$u $b$u "; done |xargs | tr ' ' ',')" origsizewidth="$(pdfinfo -box 1.pdf| grep MediaBox | cut -d : -f2 | awk '{print x $3 FS $4}' | tr ' ' 'x' | cut -d x -f1 | cut -d . -f1)" origsizeheight="$(pdfinfo -box 1.pdf| grep MediaBox | cut -d : -f2 | awk '{print x $3 FS $4}' | tr ' ' 'x' | cut -d x -f2 | cut -d . -f1)" doublewidth="`let MULTIPLICATION=$origsizewidth*2; echo $MULTIPLICATION`" doubleheight="`let MULTIPLICATION=$origsizeheight*2; echo $MULTIPLICATION`" echo $pdfname echo $pages echo $rep echo $doublewidth echo $doubleheight echo "$doublewidth$xfactor$doubleheight$ptunit" java -cp $multivalentpath/Multivalent.jar tool.pdf.Impose -dim 2x2 -paper "$doublewidth$xfactor"$doubleheight$ptunit -layout "$rep" "$pdfname" exit 0 </code></pre> <p> <a href="http://ifile.it/m7tr4g0" rel="nofollow noreferrer">http://ifile.it/m7tr4g0</a> (sample source pdf file - A5 size - 595x841 pt)</p> <p><a href="http://ifile.it/rscpoxi" rel="nofollow noreferrer">http://ifile.it/rscpoxi</a> (same source pdf imposed 4 times -paper 1190x1682pt, in one page)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload