The Punch pagedevice feature determines when a sheet is punched.
Punching is done on sheet level. Set /Punch to 4 to specify punching. Physical constraints disable certain punching types. Some examples are: A3 can not be punched on the long edge side, A5 can only be punched on the long edge side with 2 holes.
Punch options are specified in the PunchDetails dictionary.
/PunchDetails contains:
The supported values for /PunchLocation and /Type are:
PunchLocation |
Type |
Comment |
---|---|---|
(Top) |
12 |
Relative to the ReadingOrientation given in PunchDetails |
(Bottom) |
12 |
|
(Left) |
12 |
|
(Right) |
12 |
The supported values for /PunchPattern are:
PunchPattern |
Comment |
---|---|
(2-hole) |
Number of holes |
(3-hole) |
|
(4-hole) |
|
(fixed) |
Selects a puncher with a fixed punch pattern |
(none) |
No punching |
The punch holes are placed along the sheet edge specified by PunchLocation and relative to the ReadingOrientation.