beautypg.com

Measurepage – AMT Datasouth PAL User Manual

Page 141

background image

135

_measurepage

_measurepage

Description

Instructs PAL to measure the size of the current media if possible.

Usage

LimitsArray PagesInt

_measurepage

SizeArray

LimitsArray

Array. Specifies the maximum dimensions of the media.

[

WidthMaxNum HeightMaxNum InterPageMaxNum

]

WidthMaxNum Integer or fixed-point. Specifies the maximum width of the media in

points (1/72"). This value does not use the user coordinate system.

HeightMaxNum Integer or fixed-point. Specifies the maximum height of the media in

points (1/72"). This value does not use the user coordinate system.

InterPageMaxNum

Integer or fixed-point. Specifies the maximum size of the gap between
pages in points (1/72"). This value typically only applies to continuous
media printers. This value does not use the user coordinate system.

PagesInt

Integer. Specifies the number of pages across which PAL will average the media
measurements.

SizeArray

Array. Gives the dimensions of the installed media.

[

WidthNum HeightNum InterPageNum

]

WidthNum

Integer or fixed-point. Specifies the width of the media, as measured by
the mechanism, in points (1/72"). This value does not use the user
coordinate system. PAL will return -1 for this value if the mechanism
cannot perform the required measurement.

HeightNum

Integer or fixed-point. Specifies the height of the media, as measured by
the mechanism, in points (1/72"). This value does not use the user
coordinate system. PAL will return -1 for this value if the mechanism
cannot perform the required measurement.

InterPageNum Integer or fixed-point. Specifies the distance between pages, as meas-

ured by the mechanism, in points (1/72"). This value does not use the
user coordinate system. This value typically only applies to continuous
media printers. PAL will return -1 for this value if the mechanism
cannot perform the required measurement, or the measurement does not
apply to the installed media.