Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

(GetPageInfo)

Mnemonic: (GetPageInfo = item-code)
Discussion: This mnemonic returns the information specified in item-code.

Valid PtrItem values:

PTR.PAGEINFO.PRINTABLESIZE Dimensions of printable area (Width, Height)
PTR.PAGEINFO.PHYSICALSIZE Physical page size (Width, Height)
PTR.PAGEINFO.PHYSICALOFFSET Offset to start of printable area (Left, Top)
PTR.PAGEINFO.LOGPIXELS Number of pixels per inch (Width, Height)

The return value for this function is obtained by requesting the result of the previous operation with (GetFuncResult) and then performing an input of the 4 byte return value.

The paired values are returned in LoResult and HiResult respectively.

History: This mnemonic is valid in Comet98 and greater.