7.4

Table Of Contents
Syntax
endpageset()
Argument
None
Code Sample Examples
In both modes, the command is called the same way.
% Print using a Windows driver mode
if(&is_CA)
endpageset()
selectprinter('MyCanadianPrinter')
else
endpageset()
selectprinter('MyOtherPrinter')
endif()
% Work with VDX
if(&is_LastBookletPage)
endpageset()
endif()
EPSWidth/EPSHeight (function)
Returns the width or height, in inches, of an Encapsulated PostScript (EPS) image resource.
Syntax
epswidth( name ) measure value
epsheight( name ) measure value
Argument
name
String value that specifies the name of the EPS image resource.
Code Sample Example
This example sets the variable maxwidth to the width, and the variable maxheight to the height of the EPS image resource
wing_nut.
Example
&maxwidth := EPSwidth('wing_nut')
&maxheight := EPSheight('wing_nut')
©2010 Objectif Lune Inc - 273 -