Examples

 

Examples

This examples demonstrate the usage of pdfrecycle 0.05. They are using the files bigabc.pdf (each page contains one big letter) and big123.pdf (each page contains one big digit).

ANGLE

ANGLE.prc:

FILE big123.pdf
LAYOUT 2x2

MARK Not rotated (default)
PAGE 1-4

MARK Rotate 45°
ANGLE 45
PAGE 1-4

MARK Rotate  90°
ANGLE 90
PAGE 1-4

MARK Rotate 180°
ANGLE 180
PAGE 1-4

MARK Rotate 270°
ANGLE 270
PAGE 1-4

ANGLE.pdf:

Page 1 Page 2 Page 3 Page 4 Page 5

AUTHOR

AUTHOR.prc:

FILE bigabc.pdf

AUTHOR Sam Author
TITLE About stupid titles
SUBJECT Titles and such
CREATOR Not yet created
PRODUCER Rod Ucer
KEYWORDS Key, Words
LANGUAGE poor English

MARK See page properties
PAGE 1

AUTHOR.pdf:

Page 1

AUTOSCALE

See CROP for an example.

CLIP

See CROP for an example.

COLUMNFIRST

COLUMNFIRST.prc:

FILE big123.pdf
LAYOUT 3x3

MARK COLUMNFIRST no (default)
PAGE 1-8

COLUMNFIRST yes
MARK COLUMNFIRST yes
PAGE 1-8

COLUMNFIRST.pdf:

Page 1 Page 2

CREATOR

See AUTHOR for an example.

CROP

CROP.pdf:

FILE bigabc.pdf

MARK full page
PAGE 1

MARK with clip
CLIP yes

MARK1 cropped with autoscale
AUTOSCALE yes
CROP 5cm 3cm 7.5cm 20cm
PAGE 1

MARK1 cropped without autoscale
AUTOSCALE no
CROP 5cm 3cm 7.5cm 20cm
PAGE 1

MARK without clip
CLIP no

MARK1 cropped with autoscale
AUTOSCALE yes
CROP 5cm 3cm 7.5cm 20cm
PAGE 1

MARK1 cropped without autoscale
AUTOSCALE no
CROP 5cm 3cm 7.5cm 20cm
PAGE 1

MARK full page again
CROP 0cm 0cm 0cm 0cm
PAGE 1

CROP.pdf:

Page 1 Page 2 Page 3 Page 4 Page 5 Page 6

FILE

FILE.prc:

LAYOUT 2x2

FILE bigabc.pdf
MARK file bigabc.pdf
PAGE 1-4

FILE big123.pdf
MARK file big123.pdf
PAGE 1-4

MARK both
PAGE -2
FILE bigabc.pdf
PAGE -2

FILE.pdf:

Page 1 Page 2 Page 3

FRAME

FRAME.prc:

FILE big123.pdf
LAYOUT 3x3

MARK Without frames (default)
PAGE 1-8

MARK With frames
FRAME yes
PAGE 1-8

FRAME.pdf:

Page 1 Page 2

KEYWORDS

See AUTHOR for an example.

LANDSCAPE

LANDSCAPE.prc:

FILE big123.pdf
LAYOUT 2x2


MARK portrait (default)
PAGE 1-3

MARK landscape
LANDSCAPE true
PAGE 1-3

MARK landscape with rotated input pages
ANGLE 90
PAGE 1-3

MARK portrait again
LANDSCAPE false
ANGLE 0
PAGE 1-3

LANDSCAPE.pdf:

Page 1 Page 2 Page 3 Page 4

LANG

LANG is an alias for LANGUAGE.

LANGUAGE

See AUTHOR for an example.

LAYOUT

LAYOUT.prc:

FILE bigabc.pdf
MARK default is 1x1
PAGE 1

MARK 2x2
LAYOUT 2x2
PAGES -4

MARK 1x4
LAYOUT 1x4
PAGES -4

MARK 3x5
LAYOUT 3x5
PAGES -15

MARK 7x2
LAYOUT 7x2
PAGES -14

MARK 1x1 again
LAYOUT 1x1
PAGES 1

LAYOUT.pdf:

Page 1 Page 2 Page 3 Page 4 Page 5 Page 6

MARK

MARK.prc:

FILE big123.pdf

# No mark for page 1
PAGE 1

# A mark for page 2
MARK page 2
PAGE 2

# No mark for page 3
PAGE 3

# Page 4 has a mark
MARK page 4
PAGE 4

# Not used - it doesn't belong to any page
MARK The End

MARK.pdf:

Page 1 Page 2 Page 3 Page 4

NEWPAGE

NEWPAGE is an alias for PAGEBREAK.

PAGE

PAGE.prc:

FILE big123.pdf

LAYOUT 2x2

MARK 1-4
PAGE 1-4

MARK 4-1
PAGE 4-1

MARK 1,3,5,7
PAGE 1,3,5,7

MARK 1-3,9
PAGE 1-3,9

MARK 1,7-9
PAGE 1,7-9

MARK 2,5-6,8
PAGE 2,5-6,8

MARK 1-1,2-2,3-3,4-4
PAGE 1-1,2-2,3-3,4-4

MARK 8,4-2
PAGE 8,4-2

MARK -2,9-
PAGE -2,9-

PAGE.pdf:

Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page 8 Page 9

PAGEBREAK

PAGEBREAK.prc:

LAYOUT 2x2

FILE bigabc.pdf
MARK without page break
PAGE 1-2
PAGE 3-4

MARK with page break
PAGE 1-2
PAGEBREAK
PAGE 3-4

MARK NEWPAGE does the same
NEWPAGE
PAGE 5-7

PAGEBREAK.pdf:

Page 1 Page 2 Page 3 Page 4

PAGES

PAGES is an alias for PAGE.

PAPERSIZE

PAPERSIZE.prc:

FILE bigabc.pdf

LAYOUT 2x2

MARK a4
PAPERSIZE a4 - ignored
PAGE 1-4

MARK a5
PAPERSIZE a5 - ignored
PAGE 1-4

MARK letter
PAPERSIZE letter - ignored
PAGE 1-4

MARK legal
PAPERSIZE legal - ignored
PAGE 1-4

MARK executive
PAPERSIZE executive - this one is used
PAGE 1-4

PAPERSIZE.pdf:

Page 1 Page 2 Page 3 Page 4 Page 5

PRODUCER

See AUTHOR for an example.

SCALE

SCALE.prc:

FILE big123.pdf
LAYOUT 2x2


MARK not scaled
PAGE 1-3

MARK Scaled by 0.5
SCALE 0.5
PAGE 1-3

MARK Scaled by 1.2
SCALE 1.2
PAGE 1-3

SCALE.pdf:

Page 1 Page 2 Page 3

SUBJECT

See AUTHOR for an example.

TITLE

See AUTHOR for an example.