Navigation:  thinBasic Modules > XPRINT >

XPRINT_GET

Previous pageReturn to chapter overviewNext page

 

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

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com