7.4

Table Of Contents
GetNextDataPage(procedure)
Advance to the next data page of the sample data file. Note that this command may have unpredicted behavior if not used cor-
rectly in documents that use a user-defined emulation.
This command should only be executed when printermode is not in design mode. The result will be incorrect on screen, but
there will be no
unexpected behaviors. Therefore, the only solution is for end-users to make sure the command doesn't get executed while in
Design mode by bracketing it within a if(&printermode<>0) ... endif()
structure.
Syntax
getnextdatapage()
SetDataPage(procedure)
Specify the data page of the sample data file.
Syntax
setdatapage( pagenum )
Argument
pagenum
Integer value representing the page number of the data page.
SetEmulation(procedure)
Sets the emulation to use.
Syntax
setemulation( emulation )
Argument
emulation
Integer value indicating the type of emulation.
Value: Emulation:
0 Line printer
1 ASCII
2 Comma Separated Value (CSV)
3 Channel skip
4 Database
5 XML
6 PDF
©2010 Objectif Lune Inc - 616 -