Download TE 2000(TM) 5250 Terminal Emulation Programmer`s Guide

Transcript
Section 7
Extended Commands
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
Overview
Extended commands govern abilities unique to terminals. You can use extended
commands to transmit or receive data over the terminal's RSĆ232 port, send
information to an RSĆ232 device (such as a printer or bar code printer), or collect
data. The following chart lists the commands.
Name
Characters
Transmit and Receive On RSĆ232 Port
Transmit Only On RSĆ232 Port
Receive Only On RSĆ232 Port
Set Parameters (supported only on 6400 and 5055 computers)
Return Version
Tone
Scan
#F
#P
#G
#H
#V
#T
#S
To use extended commands, you must enable the extended command option
through the TE configuration menus. See Section 4 for information about
enabling the command on a 2415, 2425, 2455, or 248X terminal. For a 6400 or
5055 computer, refer to the computer's user manual.
Transmit and Receive On RS-232 Port (#F)
Use the Transmit and Receive On RSĆ232 Port extended command to transmit
and receive data on the terminal's RSĆ232 port. The command uses #F"
characters to request communication on the port.
When constructing a Transmit and Receive command, the data to be sent should
be placed at Line 2, Column 1. The data must be less than 1840 bytes in length
(after =yy" compression). The last character must be a #" (pound). The
terminal sends the data to the RSĆ232 port until it detects a #" character.
TE 2000t 5250 Terminal Emulation Programmer’s Guide
7-1