Padgetpage; Padgetport - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

padGetPage

Retrieves the size and resolution of the Transaction Team POS device's touch sensitive surface. This function retrieves the
total number of touch points available on the Transaction Team POS device's touch surface area in the locations pointed to
by Width and Height. It retrieves the dots per inch resolution of the Transaction Team POS device's touch surface area in
the locations pointed to by HorzDPI and VertDPI. NULL pointers may be passed for any parameter to suppress gathering
the associated data. The coordinates retrieved are not display coordinates, they are touch surface coordinates. In general,
touch surface coordinates are much higher in resolution than display coordinates. For example, the Transaction Team 3100
Series' touch surface contains 4096x4096 touch points while the TT3100 Series' display contains only 320x240 pixels, even
though they are about the same size in inches.
Syntax
void padGetPage(
int *Width,
int *Height,
int *HorzDPI,
int *VertDPI
)
Parameter
Width
Height
HorzDPI
VertDPI
See Also
padHeight, padWidth, padHorzDPI, padVertDPI

padGetPort

Returns the active port. If the pad is in "off" state, the port number returned represents the "default port" as mentioned in
padSetPort (see page 3-59). If the pad is "on" (after a successful call to padOn or padConnect functions), the port number
is the actual port in use.
Syntax
int padGetPort(
void
)
Returns
Returns an integer representing one of the following ports:
0 for none, 1 for COM1, 2 for COM2, 3 for COM3, or 4 for COM4.
See Also
padSetPort, padSetPorts, padGetPorts
Description
Pointer to hold the total amount of horizontal touch sensitive points
Pointer to hold the total amount of vertical touch sensitive points
Pointer to hold the horizontal dots-per-inch of the touch sensitive surface
Pointer to hold the vertical dots-per-inch of the touch sensitive surface
3 - 19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents