/usr/bin/pdfbklt
Text::PDF is a low-level pure-Perl library from SIL International for creating and changing PDF files. Its object model maps directly onto the PDF spec: File, Dict, Array, Name, String, Number, Bool, Null, Objind, Pages, Page, Filter and Utils. It can keep several PDF files open at once, read and write streams compressed with FlateDecode (through Compress::Zlib), and embed the base-14 standard fonts (SFont). With Font::TTF installed it can also embed TrueType fonts, including Type0 glyph-based Unicode fo…
/usr/bin/pdfbklt version [unknown] calling Getopt::Std::getopts (version 1.15 [paranoid]),
running under Perl version 5.44.0.
Usage: pdfbklt [-OPTIONS [-MORE_OPTIONS]] [--] [PROGRAM_ARG1 ...]
The following single-character options are accepted:
With arguments: -b -g -h -p -s -u
Boolean (without arguments): -l -q -r
Options may be merged together. -- stops processing of options.
Space is not required between options and their arguments.
[Now continuing due to backward compatibility and excessive paranoia.
See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION.]
PDFBKLT [-b num/size] [-l] [-p num] [-g num] [-q] [-r] [-s size] pdffile
(c) M. Hosken. Version: 1.8
Converts a PDF file into a booklet. It edits the pdffile to add the
modifications at the end.
-b num/size Specifies which page contains the output page size details [1]
or gives the dimensions of the page in pts (x;y) or A4,ltr,lgl,A5
-g num[;offset] Makes up page groups, or signatures with num pages in each
and offset pages in the first signature.
num and offset must be multiples of 4
-l Flag to indicate linear scaling
-p num Specifies the number of pages on the output page (1, 2, 4) [2]
If 4, can be 4s to flip on short edge. Append r if right to left.
-q Quiet (no on screen messages)
-r Rotates the output (-p 2 rotates automatically, -r rotates back)
-s size Specifies the the location of the actual text on a page:
2 half page right and left (big gutter)
2r half page always on right
2l half page always on left
2b dual half pages on right and left
assumes last page opposite first
4 1/4 page right and left bottom (very big gutter)
4t 1/4 page right and left top (very big gutter)
4r/4l/4rt/4lt 1/4 page always on right or left bottom or top
location as a single string: minx,miny,maxx,maxy in pts
-u width Specify the gutter size (for 2 pages per output page only)
Options (7)
| Option | Description | Source |
|---|
-b num/size | Specifies which page contains the output page size details [1] or gives the dimensions of the page in pts (x;y) or A4,ltr,lgl,A5 | help |
-l | Flag to indicate linear scaling | help |
-p num | Specifies the number of pages on the output page (1, 2, 4) [2] If 4, can be 4s to flip on short edge. | help |
-q | Quiet (no on screen messages) | help |
-r | Rotates the output (-p 2 rotates automatically, -r rotates back) | help |
-s size | Specifies the the location of the actual text on a page: 2 half page right and left (big gutter) 2r half page always on right 2l half page always on left 2b dual half pages on right and left assumes… | help |
-u width | Specify the gutter size (for 2 pages per output page only) | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.