Scale a pdf file from sam2p to a given page size
sam2p_pdf_scale {page_width} {page_height} {input.pdf} [output.pdf]
This manual page documents briefly the sam2p_pdf_scale command. It was written for the Debian distribution because the original program does not have a manual page.
sam2p_pdf_scale reads a PDF file and scales it so that it fits into the given page size, adding margins when needed to keep its aspect ratio.
page_width
Page width, in points (1pt = 1/72in).
page_height
Page height, in points.
input.pdf
Input file.
output.pdf
Output file. By default, the input file is replaced.
The upstreams BTS can be found at \m[blue]http://code.google.com/p/sam2p/issues\m[].
Tanguy Ortolo <[email protected]>
Wrote this manpage for the Debian system.
Copyright © 2011 Tanguy Ortolo
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.