3 - 59
See Also
padBox, padClearPixel, padFrame, padInvert, padLine
padSetPort
Sets the communications port. The next time
padOn
is executed, only the com port specified by
Port
is used. This function
works only when the library is in an “off” state (i.e., before
padOn
() or after
padOff
()). This is not normally needed, however
it may be useful in some situations.
Syntax
BOOL padSetPort(
int Port
)
Parameter
Description
Port
1 = COM1
2 = COM2
3 = COM3
4 = COM4
0 causes all the ports to be sequentially checked for a Transaction Team device.
Returns
Returns TRUE if the port specified is legal and library is “off”, otherwise FALSE.
See Also
padGetPort, padIsOn, padSetPortAddr, padSetPortIrq, padSetType
padSetPortAddr
Sometimes it may be necessary to manually specify the address used when referring to a communications port.
padSetPortAddr
provides this ability. This function works only when the library is in an “off” state (i.e., before
padOn
() or
after
padOff
()). This is not normally needed, however it may be useful in some situations.
Note: This function is available in the DOS version only!
Syntax
DOS: BOOL padSetPortAddr(
int Port,
int Address
)
Parameter
Description
Port
1 = COM1
2 = COM2
3 = COM3
4 = COM4
Address
The value to be used as the port address
Returns
Returns TRUE if the port specified is legal and library is “off”, otherwise FALSE.
See Also
padSetPort, padSetPortIrq, padSetType
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 ...