rpdfcrop --version (return code: 0)
pdfcrop 2012/11/02 v1.38
rpdfcrop --help (return code: 0)
PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
Syntax: pdfcrop [options] <input[.pdf]> [output file]
Function: Margins are calculated and removed for each page in the file.
Options: (defaults:)
--help print usage
--version print version number
--(no)verbose verbose printing (false)
--(no)debug debug informations (false)
--gscmd <name> call of ghostscript (gs)
--pdftex | --xetex | --luatex
use pdfTeX | use XeTeX | use LuaTeX (pdftex)
--pdftexcmd <name> call of pdfTeX (pdftex)
--xetexcmd <name> call of XeTeX (xetex)
--luatexcmd <name> call of LuaTeX (luatex)
--margins "<left> <top> <right> <bottom>" (0 0 0 0)
add extra margins, unit is bp. If only one number is
given, then it is used for all margins, in the case
of two numbers they are also used for right and bottom.
--(no)clip clipping support, if margins are set (false)
(not available for --xetex)
--(no)hires using `%%HiResBoundingBox' (false)
instead of `%%BoundingBox'
--(no)ini use iniTeX variant of the TeX compiler (false)
Expert options:
--restricted turn on restricted mode (true)
--papersize <foo> parameter for gs's -sPAPERSIZE=<foo>,
use only with older gs versions <7.32 ()
--resolution <xres>x<yres> ()
--resolution <res> pass argument to ghostscript's option -r
Example: --resolution 72
--bbox "<left> <bottom> <right> <top>" ()
override bounding box found by ghostscript
with origin at the lower left corner
--bbox-odd Same as --bbox, but for odd pages only ()
--bbox-even Same as --bbox, but for even pages only ()
--pdfversion <1.x> | auto | none
Set the PDF version to 1.x, 1 < x < 8.
If `auto' is given as value, then the
PDF version is taken from the header
of the input PDF file.
An empty value or `none' uses the
default of the TeX engine. (auto)
Input file: If the name is `-', then the standard input is used and
the output file name must be explicitly given.
Examples:
pdfcrop --margins 10 input.pdf output.pdf
pdfcrop --margins '5 10 5 20' --clip input.pdf output.pdf
In case of errors:
Try option --verbose first to get more information.
In case of bugs:
Please, use option --debug for bug reports.