NAME

pdf-impose.pl -- script to impose a PDF using the PDF::Imposition class.

SYNOPSIS

pdf-impose.pl infile.pdf [outfile.pdf]

This script is a simple wrapper around PDF::Imposition. Refer to the perldoc documentation (perldoc PDF::Imposition) for details about the options.

Options:

--schema

Available schemas: 2up duplex2up 2down 2x4x2 2x4x1 2side 1x4x2cutfoldbind 4up 1repeat2top 1repeat2side 1repeat4 ae4x4 1x8x2

The schema to use: defaults to 2up. See perldoc PDF::Imposition for details about the available schemas.

--cover

Boolean: if the schema supports it, put the last page of the PDF on the last page of the last signature if there is a need of blank page padding, so when folding the first page and the last page will match.

For example, for a 2up schema, if you have 6 pages, you will get a signature of 8 pages, with 2 blank pages at the end. With this option you get the two blank pages before the last one, which in turn will be put in the same physical page of the first one.

--signature | --sig | -s <num>

<num> must be a multiple of 4 or a range like, e.g. 40-80

--suffix <string>

defaults to 'imp'. The dash is automatically added, to avoid confusing it with options. If you want more control, pass the desired output file as second argument to the script.

--paper <size>

You can specify the dimension providing a (case insensitive) string with the paper name (2a, 2b, 36x36, 4a, 4b, a0, a1, a2, a3, a4, a5, a6, b0, b1, b2, b3, b4, b5, b6, broadsheet, executive, ledger, legal, letter, tabloid) or a string with width and height separated by a column, like 11cm:200mm. Supported units are mm, in, pt and cm.

--paper-thickness

Accept a measure, e.g. 0.15mm.

This option is needed only for schemas which support cutting correction. Default to 0.1mm, which should be appropriate for the common paper 80g/m2. You can do the math measuring a stack height and dividing by the number of sheets.

--font-size 8pt

The font size of the headers and footers with the job name, date, and page numbers. Defaults to 8pt.

--cropmark-offset 1mm

The distance from the logical page corner and the cropmark line. Defaults to 1mm.

--cropmark-length 12mm

Size of the cropmark lines. Defaults to 12mm.

title

Set the PDF Title metadata

--help

Show this help and exit

--version

Show the PDF::Imposition version

If outfile is not provided, it will use the suffix to create the output filename.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.