Padtohimetric; Padtolometric; Padtype - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

Parameter
X
Y
See Also
padToHIENGLISH, padToLOMETRIC, padToHIMETRIC

padToHIMETRIC

This function scales horizontal and vertical pad coordinates to units representing 0.01 millimeters. It is designed to provide
proper aspect ratio scaling for accurate output, and converts the values pointed to by X and Y pointers. The function
corresponds to the Windows mapping mode MM_HIMETRIC units. NULL pointers may be passed for either X or Y
parameters to suppress scaling of the associated coordinate.
Syntax
void padToHIMETRIC(
int *X,
int *Y
)
Parameter
X
Y
See Also
padToLOMETRIC, padToLOENGLISH, padToHIENGLISH

padToLOMETRIC

This function scales horizontal and vertical pad coordinates to units representing 0.1 millimeters. It is designed to provide
proper aspect ratio scaling for accurate output, and converts the values pointed to by X and Y pointers. The function
corresponds to the Windows mapping mode MM_LOMETRIC units. NULL pointers may be passed for either X or Y
parameters to suppress scaling of the associated coordinate.
Syntax
void padToLOMETRIC(
int *X,
int *Y
)
Parameter
X
Y
See Also
padToHIMETRIC, padToLOENGLISH, padToHIENGLISH

padType

Returns a value that identifies the type of pad attached. The numeric value returned by padType may be one of the following
constant values defined in the file "PadCom.H":
UNKNOWN
PW1500
PW3000
This command differs from padName in that it returns a numeric value rather than a string.
Description
Pointer to an integer to hold the horizontal coordinate to be scaled
Pointer to an integer to hold the vertical coordinate to be scaled
Description
Pointer to an integer to hold the horizontal coordinate to be scaled
Pointer to an integer to hold the vertical coordinate to be scaled
Description
Pointer to an integer to hold the horizontal coordinate to be scaled
Pointer to an integer to hold the vertical coordinate to be scaled
No recognizable device has been found
A Transaction Team 1500 pad has been found
A Transaction Team 3100 Series pad has been found
3 - 65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents