← 返回命令列表

Linux command

pdfposter 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create an A3 poster on A4 pages from an A1 source

pdfposter -p a3 -m a4 [input.pdf] [output.pdf]

Scale input by factor of 4

pdfposter -s 4 [input.pdf] [output.pdf]

Target A0 poster on A4 media

pdfposter -p a0 -m a4 [input.pdf] [output.pdf]

Use a custom media size (with margins)

pdfposter -m 160x247mm [input.pdf] [output.pdf]

Preview without writing output (dry run)

pdfposter -n -p 2xa4 [input.pdf] [output.pdf]

说明

pdfposter scales and tiles a PDF document so a single page can be printed on multiple sheets and assembled into a large poster. The desired output size is defined with -p/--poster-size or a direct -s/--scale factor; -m/--media-size selects the paper that tiles are rendered onto. Many standard media names (A4, A3, Letter, ...) are accepted, as are explicit distances such as `10x15cm` or `160x247mm`. Only the first page of the input is used. The program computes the number of tiles needed and writes a multi-page PDF whose pages, when printed and joined, recreate the scaled original.

参数

-p _BOX_, --poster-size _BOX_
Target poster size (e.g. `a0`, `2xa4`, `30x40cm`).
-s _NUMBER_, --scale _NUMBER_
Linear scaling factor applied to the input.
-m _BOX_, --media-size _BOX_
Output media (page) size (default: A4).
-A, --art-box
Use ArtBox instead of TrimBox for the input page.
-n, --dry-run
Show what would be done without writing output.
-v, --verbose
Verbose output (repeat for more detail).
--help-media-names
List recognized media and distance names.
--version
Display version information.

FAQ

What is the pdfposter command used for?

pdfposter scales and tiles a PDF document so a single page can be printed on multiple sheets and assembled into a large poster. The desired output size is defined with -p/--poster-size or a direct -s/--scale factor; -m/--media-size selects the paper that tiles are rendered onto. Many standard media names (A4, A3, Letter, ...) are accepted, as are explicit distances such as `10x15cm` or `160x247mm`. Only the first page of the input is used. The program computes the number of tiles needed and writes a multi-page PDF whose pages, when printed and joined, recreate the scaled original.

How do I run a basic pdfposter example?

Run `pdfposter -p a3 -m a4 [input.pdf] [output.pdf]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p _BOX_, --poster-size _BOX_ do in pdfposter?

Target poster size (e.g. `a0`, `2xa4`, `30x40cm`).