Page tree

You can do simple addition and subtraction in the Trim Size, Offset, and Scale boxes of the Set Page Geometry dialog box.
This topic provides the syntax for addition and subtraction expressions and examples of valid entries.
Note: You cannot do addition and subtraction in the Geometry Editor plug-in.

Syntax

The basic syntax of a valid entry is:

value [unit of measure] [+ / - value [unit of measure]]

Square brackets indicate optional entries. Units of measure are optional; addition and subtraction are optional.
You can repeat [+ / - value [unit of measure]] as often as you like.
You can mix units of measure in expressions in the Trim Size and Offset boxes.
For the Scale box, % is the only valid unit.

Examples:
You can make any of the following entries in the Trim Size or Offset boxes:
23.5 + 15
25 pt - 2 pt
243 pt + 1.5 in - 7
You can make any of the following entries in the Scale box:
23 + 15
25 % - 2 %
25 + 5 % - 4

General rules

You can enter any number of digits after the decimal in the Trim Size and Offset boxes. Values are rounded to three digits after the decimal. For example, if you enter 1.2345, it is rounded to 1.235.
Trim Size must be greater than or equal to 0.011 pt.
You can mix units of measure in an expression in the Trim Size and Offset boxes, for example 3 in + 2 cm. The following unit entries are valid: pt, pts, mm, cm, in, inch, or inches. If you don't specify any units, the system applies the unit set in the Prinergy Workshop Preferences dialog box to all values.
If some but not all units are specified, the system reads from left to right to find the first value with a unit. The system applies that unit to all preceding values and to all subsequent values without a unit until the next value with a specified unit. The system applies that unit to all subsequent values without a specified unit until the next value with a specified unit, and so on. The system interprets the units when you press tab. See the examples in the table below.
For the Scale box, % is the only valid unit.
The system ignores all spaces in expressions.

Trim size and offset: interpreting units of measure

For Trim Size and Offset boxes, the following table shows valid entries and how the system interprets them in cases where different units were entered or where units are missing. The system interprets units when you press Tab. When you press OK, then redisplay the Set Page Geometry dialog box, all values will have the unit of measure set in the Prinergy Workshop Preferences dialog box and the change you entered will be incorporated.

Trim Size or Offset entry

After you press Tab
(e.g. Preferences unit is inches)

After you press OK and redisplay
(e.g. Preferences unit is inches)

23.5 + 15

The unit of measure specified in Workshop Preferences is applied to all values, for example, 1.25in + 2.5in

38.5 in

25 pt - 2 pt

no change

0.319 in

243 pt + 1.575 in

no change

3.375 in

23 + 15pt - 20

23pt +15pt - 20pt

0.25 in

23pt + 15 - 20

23pt +15pt - 20pt

0.25 in

23 + 15 - 20pt

23pt +15pt - 20pt

0.25 in

23pt + 15 - 10in + 12

23pt + 15pt - 10in + 12in

2.528 in

23 + 15pt - 10 + 12.25in

23pt + 15pt - 10pt + 12.25in

12.639 in

23.554343pts

23.554pt

0.327 in

What happens when you press Tab or OK

When you press Tab:

  • The system displays an error message if either the syntax or the resulting value is invalid. Trim Size must be greater than or equal to 0.011 pt; Scale value must be greater than 0.
  • Values in the Trim Size or Offset boxes are rounded to three digits after the decimal.
  • Units are interpreted according to the rules described above. Units are changed to the standard, for example, pts to pt, and inch or inches to in.

When you press OK:

  • The system displays an error message if either the syntax or the resulting value is invalid. Trim Size must be greater than or equal to 0.011 pt; Scale value must be greater than 0.
  • If they weren't already rounded, values in the Trim Size or Offset boxes are rounded to three digits after the decimal.
  • If you redisplay the Set Page Geometry dialog box after pressing OK, the updated values appear and all values have the Workshop Preferences unit of measure.

Making entries for mixed geometry pages

If you select more than one PDF page in the Pages pane in Job Manager and the pages have different geometry values, [mixed] appears in the Trim Size, Offset, or Scale boxes in the Set Page Geometry dialog box.
Adding and subtracting works slightly differently for mixed pages.
To set geometry for mixed pages perform one of the following actions:

  • Type a single value on top of the [mixed]. That value will be applied to all pages.
  • Type an addition or subtraction expression on top of the [mixed]. The amount will be added to or subtracted from the existing values of the selected pages.

Mixed geometry pages: Interpreting unit of measure

For Trim Size and Offset boxes, the following table shows valid entries for mixed pages. It also shows how the system interprets them in cases where different units were entered or where units are missing. The system interprets the unit when you press Tab.
The values after [mixed] for which no unit was entered will be assigned the unit specified in Prinergy Workshop Preferences dialog box, unless a different unit of measure is specified near the [mixed].

Trim Size or Offset entry

After you press Tab
(for example, Workshop Preferences unit is inches)

After you press OK and redisplay
(for example, Workshop Preferences unit is inches)

[mixed] + 23 + 15.5

The unit of measure specified in Workshop Preferences is applied to all values, for example, [mixed] + 23in + 15.5in

[mixed]

[mixed] + 25 pt - 2 pt

No change

[mixed]

[mixed] - 243 pt + 1.525 in

No change

[mixed]

[mixed] - 23 + 15pt - 20

[mixed] - 23in + 15pt - 20pt

[mixed]

[mixed] + 23pt + 15 - 20

[mixed] - 23pt +15pt - 20pt

[mixed]

[mixed] - 23 + 15pt - 20 + 12in

[mixed] - 23in + 15pt - 20pt + 12in

[mixed]

[mixed] mm - 23 + 15 + 72pt

[mixed] - 23mm + 15mm + 72pt

[mixed]

  • No labels