III. Functional objects
107
Developer handbook DATAformXTension © 1992-2004 www.gassenhuber.de
Flags
EPSINCOLOR = 1
EPSDODCS = 32
EPSDODCS2 = 64
These flags implement the choices in the "Format" drop-down of the "Save Page as EPS..."
dialog. If none of these flags are used, a Black & White EPS file will be generated.
EPSNOPREVIEW = 1024
EPSPCFORMAT = 2 = preview in TIFF format
These flags implement the "Preview" drop-down of the "Save Page as EPS..." dialog.
If neither of these flags is used, then (on the Mac only) a PICT preview will be generated.
Add EPSPCFORMAT for cross platform usage of the picture.
EPS8BITDATA = 4096
EPSASCIIDATA = 16
These flags implement the "Data" drop-down of the "Save Page as EPS..." dialog, and have to
do with how binary data is encoded in the output file. They specify that binary data will be
encoded in "clean 8-bit" form or as regular ASCII characters respectively, using encoding algo-
rithms. When the file is opened by a PostScript-aware device, that device will then decode it
using the appropriate algorithms. Use only one of these flags at a time; if neither of them is
used, a binary EPS file will be created.
INCLUDEIMAGEDATA = 0
OMITTIFF = 4
OMITTIFFANDEPS = 8
These flags implement the "OPI" drop-down of the "Save Page as EPS..." dialog. Use only
one of these flags at a time.
Examples
You have to redirect the examples file paths to your volume and for Windows into OS conven-
tion from HDG4:Test.eps into something like C:\Test.eps if you don't use the QuarkXPress
folder.
*e[PageNumber ; UseWholeSpread ; left ; top ; right ; bottom ; Scaling ; Flags]
¶*T3*p1*$Hello¶*
T110*e[1;0;0;0;0;0;1;3]*$Test.eps¶
- Creates a text box on page 1 with the text "Hello".
- Saves the page as the eps file "Test.eps", in the QuarkXPress folder, because a file name
only is specified.
¶*T3*B2*-0*p3*x100*y200*X300*Y450*$Hello¶*
T110*e[3;0;100;200;300;450;1;3]*$Test.eps¶*
T12*p4*$Test.eps¶
- Creates a red text box at 100/200 200pt wide and 250pt high on page 3
- Saves this part of page 3 only as an eps file.
- Loads the eps file on page 4.