7.5

Table Of Contents
ShowPage (procedure)
Instructs the printer to output the page and move on to the next instruction.
This command has no effect on screen, because it is intended to be executed only inside the printer.
Syntax
showpage()
Argument
None
Code Sample Example
This example specifies the number of pages to print at line 1, between columns 1 and 5.
Example
Define(&NumberOfPages,integer,strtoint(trim(@(1,1,5))))
Define(&x,integer,1)
for(&x,1,1,&NumberOfPages)
execpage('Page1')
showpage()
endfor()
ShowPDF (procedure)
Displays a page of a PDF image resource.
Syntax
showpdf( resname, pagenum, width, height )
Argument
resname
String value containing either the name of the PDF resource within the document, or the path to a PDF file .
pagenum
Integer value specifying the page number within the PDF image resource.
width, height
Measure values specifying the width/height, in inches, the PDF page occupies when it displays. Specifying a value of zero for
one but not both of the two dimensions scales the PDF page to fit the non-zero dimension. Specifying both a width and a height
©2010 Objectif Lune Inc - 359 -