← 返回命令列表

Linux command

pdfbook 命令

文本

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

常用示例

Create a booklet from a PDF file

pdfbook [input.pdf]

Specify output file

pdfbook -o [booklet.pdf] [input.pdf]

Create booklet for A4 paper

pdfbook --paper a4paper [input.pdf]

Create booklet with a 16-page signature

pdfbook --signature [16] [input.pdf]

Create booklet for short-edge double-sided printing

pdfbook --short-edge [input.pdf]

说明

pdfbook is a simple wrapper for pdfjam that arranges PDF pages into 2-up signatures suitable for printing as a booklet. Pages are reordered so that when printed double-sided and folded, they form a properly ordered booklet. The default output is suitable for long-edge binding. Use --short-edge for short-edge binding. All options not listed above are passed through to pdfjam.

参数

-o _file_
Output file name. Defaults to input filename with "-book" suffix.
--paper _size_
Paper size (e.g. a4paper, letterpaper, legalpaper).
--signature _num_
Pages per signature (must be a multiple of 4, default 4).
--signature* _num_
Pages per signature for right-edge binding.
--short-edge
Format for short-edge double-sided printing. Must be the first argument. Requires the LaTeX package everyshi.
--booklet _bool_
Enable or disable booklet reordering (default true).

FAQ

What is the pdfbook command used for?

pdfbook is a simple wrapper for pdfjam that arranges PDF pages into 2-up signatures suitable for printing as a booklet. Pages are reordered so that when printed double-sided and folded, they form a properly ordered booklet. The default output is suitable for long-edge binding. Use --short-edge for short-edge binding. All options not listed above are passed through to pdfjam.

How do I run a basic pdfbook example?

Run `pdfbook [input.pdf]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -o _file_ do in pdfbook?

Output file name. Defaults to input filename with "-book" suffix.