6.0

Table Of Contents
127
Possible Values
Code Sample Example
This example changes some colurs to shades of gray for greater legibility on a fax.
Example
setlinewidth(0.1) %Select a thick pen
if(&printermode=10) %If Destination is Fax
setfillcolor([5,5,5,5]) %Set fill to light gray
setstrokecolor([0,0,0,100]) %Set pen to black
elseif()
%Otherwise,set fill colour to yellow
setfillcolor([0,0,50,0])
setstrokecolor([100,100,0,0]) %Set pen colour to blue
endif()
rectstroke(0,0,3,3) %Display rectangle
rectfill(0,0,3,3)
Put (procedure)
Assigns a value to an element of an array.
Value: Description:
0 PlanetPress Design during document
design
1 Screen Preview
2 Screen Preview for
PlanetPress Image
3 Screen Preview for
PlanetPress Fax
4 Printer Preview
5Printer Hard Disk
6Printer Memory
7 Host Computer
8Flash Memory
9
PlanetPress Image
10 PlanetPress Fax
11
PlanetPress Watch