3 - 19
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
Description
Width
Pointer to hold the total amount of horizontal touch sensitive points
Height
Pointer to hold the total amount of vertical touch sensitive points
HorzDPI
Pointer to hold the horizontal dots-per-inch of the touch sensitive surface
VertDPI
Pointer to hold the vertical dots-per-inch of the touch sensitive surface
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
(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
Summary of Contents for PadCom TT1500
Page 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Page 88: ...4 2 ...
Page 129: ......
Page 130: ......
Page 131: ......
Page 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...