by James Bott » Fri Nov 12, 2010 6:37 pm
Hua,
This info from my notes may help.
Regards,
James
------------------------
oPrinter:setSize( nWidth, nHeight )
Where nWidth and nHeight are in tenths of a millimeter.
25.4 millimeters per inch
So to set the size in inches
oPrinter:setSize( 254 * nWidth, 254 * nHeight)
Where nWidth and nHeight are in inches.
--------------------------
oPrinter:GetPhySize()
An array with the dimensions of the paper: {nHeight ,Width}
Units of height and width are not given in the help file.
----------------------------