3 - 53
all com ports for all possible Transaction Team devices using all possible baud rates, starting with the default of 9600 baud.
If a Transaction Team 3100 Series is connected to com port 2 and is configured to communicate at 57600 baud, first PadCom
searches port 1 at the default baud rate for both the TT1500 and TT3100 Series (9600). If it fails, it searches for a Transaction
Team 3100 Series at 57600, 19200, and then at 38400. PadCom then repeats this course of action for port 2, port 3, port
4, and so on, until a Transaction Team device is found. If the default baud rate is set to 57600, then it will be the first baud
rate at which the port is opened, if a connection fails at 57600. Next it tries 9600, followed by 19200, then 38400. For the
fastest possible connection, use this command in conjunction with
(see page 3-59) and
Syntax
DWORD padSetDefaultBaudRate(
DWORD BaudRate
)
Parameter
Description
BaudRate
Specifies the baud rate to use as the default baud rate. Valid values are 9600, 19200,
38400 and 57600.
Returns
Returns the old default baud rate, or zero if it fails.
See Also
padConnect, padGetDefaultBaudRate, padGetBaudRate, padSetBaudRate, padResetBaudRate,
padResetDefaultBaudRate
padSetFlowControl
Enables/disables FlowControl for a connected Transaction Team device. This command only works when a connection is
established with the Transaction Team device. Once this command has been successfully issued to the Transaction Team
device you must call
padConnect
(or
padOff
followed by
padOn
) in order for the changes to take place. The default is flow
control enabled.
Syntax
BOOL padSetFlowControl(
BOOL FlowControl
)
Parameter
Description
FlowControl
TRUE enables flow control, FALSE disables flow control
Returns
Returns TRUE if successful, FALSE otherwise.
See Also
padOn, padConnect, padOff
padSetFont
Sets the font used for text output to value specified in
Font
.
Syntax
int padSetFont(
int Font
)
Parameter
Description
Font
ID of the desired font
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 ...