XPRINT_GET

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > XPRINT >

XPRINT_GET

 

Description

 

Retrieve various information from the host printer page.

 

Syntax

 

XPRINT_Get(InfoType, ...)

 

XPRINT_Get(%XPRINT_GET_CLIENT     , VarClientWidth, VarClientHeight)

XPRINT_Get(%XPRINT_GET_DC         , VarHDc)

XPRINT_Get(%XPRINT_GET_LINES       , VarNumberOfLines)

XPRINT_Get(%XPRINT_GET_MARGIN     , VarMLeft, VarMTop, VarMRight, VarMBottom)

XPRINT_Get(%XPRINT_GET_MIX         , VarMixMode)

XPRINT_Get(%XPRINT_GET_ORIENTATION , VarOrientation)

XPRINT_Get(%XPRINT_GET_PIXEL       , XPos, YPos, VarPixelColor)

XPRINT_Get(%XPRINT_GET_POS         , VarXPos, VarYPos)

XPRINT_Get(%XPRINT_GET_PPI         , VarResolutionX, VarResolutionY)

XPRINT_Get(%XPRINT_GET_QUALITY     , VarQuality)

XPRINT_Get(%XPRINT_GET_SIZE       , VarSizeWidth, VarSizeHeight)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

InfoType

Number

No

Use equates in order to specify information type.

 

Remarks

 

 

 

Restrictions

 

See also

 

Examples