DOKK / manpages / debian 10 / texlive-extra-utils / pdfxup.1.en
man(1) pdfxup man page man(1)

pdfxup - n-up PDF pages with reduced margins

pdfxup [OPTIONS] [FILE]

pdfxup creates a PDF document where each page is obtained by combining several pages of a PDF file given as output. The important feature of pdfxup, compared to similar programs, is that it tries to compute the (global) bounding box of the input PDF file, in order to remove the margins and to keep the text only. Instead of having the font size divided by 2 (for the case of 2-up output), in some case you may end up with almost the same font size as in the original document (as is the case for a default 'article' document produced by LaTeX).

pdfxup uses ghostscript for computing the maximal bounding box of (some of) the pages of the document, and then uses pdflatex (with graphicx package) in order to produce the new document.

pdfxup accepts numerous options. The most important ones are:

sets the number of columns in the output file (default 2);
sets the number of lines in the output file (default 1);
sets orientation of paper (of final document) landscape;
configure for printing as a booklet. '1' is equivalent to 'le', which assumes that two-sided printing is in 'long-edge' mode (you turn from one page to the next along the long edge of the paper). 'se' is the 'short-edge' option;
name of output file;
ask before overwriting output file;
width of the frame around each page (default 0.4pt);
inner margin between frame and page (default 5pt);
margin of pages of the new document (default 5pt);
space between different pages (default 1pt);
only consider pages a to b of input document;
only consider pages a to b of input document for computing bounding box;
omit pages a to b of input document from computation of bounding box;
only compute (and output) bounding box;
set the bounding box to the given values;
debug mode: keep intermediary files;
select verbosity (default: 1);
run quietly (equiv. '-V=0')
print version number and exit;
print help message and exit.

gs(1), pdflatex(1)

No known bugs.

Nicolas Markey (pdfxup@markey.fr)

6 october 2015 1.30