<<

Contents

Search

>>

 

GET_LPGRIDCURSOR_X

 

 

Function

 

 

Syntax:

GET_LPGRIDCURSOR_X

 

Meaning:

Returns the current column position on the print form.

 

This instruction only has an effect ENABLE LPGDI.

 

GET_LPGRIDCURSOR_X returns the column position at which the next characters are printed. The position refers to the gridsetting of the print area, which is specified by LPGRIDSETTING or COMPUTE_LPGRIDSETTING.

 

With DISABLE LPGDI or in the case of an error with opening the printer, GET_LPGRIDCURSOR_X returns the value –1.

 

Sample:

COLUMN = GET_LPGRIDCURSOR_X

 

See also:

GET_LPGRIDCURSOR_Y

LPGRIDSETTING

LPGRIDCURSOR

COMPUTE_LPGRIDSETTING

EBUS_GET_LPGRIDCURSOR