To tell pdfrecycle what to do you use an input file containing simple commands called statements.
pdfrecycle uses one line per statement. Lines starting with # and lines containing only white space are ignored. The file has to be UTF-8 encoded.
Contents
AUTHOR
AUTHOR name
Sets the author to name. Most PDF viewer can display this information somewhere. Often it’s “Properties” in the “File” menu.
AUTOSCALE
AUTOSCALE [true|false]
By default pages are scaled automatically to fit the pages on the output sheet (i.e. AUTOSCALE is on). By disableling AUTOSCALE and using SCALE the user has full control over the scaling process.
COLUMNFIRST
COLUMNFIRST [true|false]
Pdfrecycle normally uses row-major layout, where the PAGE statement places page in rows along the paper. If COLUMNFIRST is enabled, the output is column-major, i.e. pages are arranged in columns down the paper.
CREATOR
CREATOR name
Sets the creator to name. Most PDF viewer can display this information somewhere. Often it’s “Properties” in the “File” menu.
CROP
CROP left top right bottom
Crops the input page by left at the left, top at the top, right at the right and bottom at the bottom
FILE
FILE file
Use file to get input pages from.
This does not add any pages. Use PAGES for this. This does not start a new output sheet. Use PAGEBREAK for this.
KEYWORDS
KEYWORDS keywords
Sets the keywords to keywords. Keywords are seperated by spaces. Most PDF viewer can display this information somewhere. Often it’s “Properties” in the “File” menu.
LANDSCAPE
LANDSCAPE [true|false]
Use landscape for the output pages. Default is false i.e. portrait.
This does not rotate the input pages. Use ANGLE for this.
LANG
LANG name
LANGUAGE name
Sets the language to name. Most PDF viewer can display this information somewhere. Often it’s “Properties” in the “File” menu.
LANGUAGE
LANG name
LANGUAGE name
Sets the language to name. Most PDF viewer can display this information somewhere. Often it’s “Properties” in the “File” menu.
MARK
MARKlevel title
Add a bookmark on level level with title title. level may be omitted and defaults to 0 (top level). The bookmark is set to the first page of the next PAGE statement.
PAGE
PAGE pages
PAGES pages
Add pages pages of the current input file. pages can be
- a single page number (whole number}
- a range A-B (pages A to B) where A and B are page numbers
- a left open range -B (pages 1 to B) whetre B is a page number
- a right open range A- (pages from A up to the end of the file)
- a combination of two or more of the above, seperated by colons
This does not start a new output sheet. Use PAGEBREAK for this.
PAGES
PAGE pages
PAGES pages
Add pages pages of the current input file. pages can be
- a single page number (whole number}
- a range A-B (pages A to B) where A and B are page numbers
- a left open range -B (pages 1 to B) whetre B is a page number
- a right open range A- (pages from A up to the end of the file)
- a combination of two or more of the above, seperated by colons
This does not start a new output sheet. Use PAGEBREAK for this.
PAPERSIZE
PAPERSIZE size
Sets the paper size for the output pages. If there’s more than one PAPERSIZE statement only the last one is used. Allowed values for size are:
a4, a5, b5, letter, legal, executive
PRODUCER
PRODUCER name
Sets the producer to name. Most PDF viewer can display this information somewhere. Often it’s “Properties” in the “File” menu.
SUBJECT
SUBJECT name
Sets the subject to name. Most PDF viewer can display this information somewhere. Often it’s “Properties” in the “File” menu.