7.5

Table Of Contents
&Document (system object)
This object includes a set of system variables reflecting the current state of the document. All of these variables are read-only
and therefore cannot be changed using the set command. You can access each property individually using the same syntax.
Syntax
&document.property => value
Properties
name
String value containing the name of the PlanetPress Document.
picturecolores
Integer value containing the default resolution of color pictures, in DPI.
picturegreyres
Integer value containing the default resolution of greyscale pictures, in DPI.
picturemonores
Integer value containing the default resolution of monochrome pictures, in DPI.
&EOJob (system variable)
Read-only variable that returns True if the document has processed the last line of data or if the line that follows the last form
feed character (ASCII 12) is empty.
This variable always returns True at design-time when using a user-defined emulation.
Thus if a file ends with the sequence:
FF CR LF
&eojob becomes true before the last line (CR LF) since the last line is empty.
Syntax
&eojob Boolean value
&FirstSide (system variable)
Read-only variable that returns True when a page is printing on the first side of a page in duplex mode (double-sided printing).
In simplex mode (single-sided) &firstside always returns True.
This variable is based on PostScript’s firstside command as implemented in your printer. If your printer does not support
firstside, the document attempts to detect which side of the page is currently printing. Passthrough commands can hamper
the documents ability to return the correct value for &firstside.
Syntax
&firstside Boolean value
©2010 Objectif Lune Inc - 246 -