Справочное Руководство для LXE 1280
172
Expanded Functions
LDS Plus Reference Guide
E-SW-LDSPLUSRG-G
Q: Send Data to the RS-232 Port then Clear the Receive Buffer
Expanded Function Q is a non-form message that enables you to send a message through the
DOS terminal receive buffer to the auxiliary RS-232 output and then clears the receive buffer.
DOS terminal receive buffer to the auxiliary RS-232 output and then clears the receive buffer.
This function is active only for DOS terminals with an RS-232 port.
What Happens
When you use Expanded Function Q, the DOS terminal copies the data from the receive buffer to
the device, such as a printer. After the data is sent to the device, the DOS terminal clears the
receive buffer to prevent the operator from seeing text that could be confusing.
the device, such as a printer. After the data is sent to the device, the DOS terminal clears the
receive buffer to prevent the operator from seeing text that could be confusing.
Application
You could use Expanded Function Q to print barcode labels directly from the DOS terminal, if a
remote printer were attached.
remote printer were attached.
Attributes
No beeps
No change in automatic transmit buffer length
No change in automatic transmit buffer length
Example
Y
is the control character used when sending an
expanded function.
Q
is the N/EF character that sends a message to the
RS-232 output port and clears the receive buffer.
Data to be sent to the RS-232 port.
<02S
Y
Q
Pick Part No. 1234 at Loc. A25
C
R
L
F
Figure 5-20 Expanded Function Q Forced Message