Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 22 of 28

TE 2000 3270 Terminal Emulation Programmer's Guide: Section 7: Extended Commands, pages 183 to 190

Pages 183 to 190 of 240, from TE 2000 3270 Terminal Emulation Programmer's Guide

The original document is the PDF (4.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Intermec 6400

Page 183

Extended Commands

SECTION 7

Return Codes for Receive Only Line 24, Column 1 is the return status byte. The host application defines the 1-byte return status field location. The following chart lists return status codes. Code

Description

Column

Good status, transaction complete (None) Not enough memory, or incorrect setting for speed, number of data bits or stop bits 4, 6, 7 No delimiter (#) on data stream (None) Improper return field (None) Hexadecimal value is outside the range of 00--0F 15--16, 19--20 Error in AID code (None) Incorrect setting for maximum characters to receive 13--14 Incorrect setting for delimiter character 15--16 Incorrect setting for number of delimiter characters 17--18 Incorrect setting for start character 19--20 Incorrect setting for data parity 5, 22 Timeout (None) Overrun of UART receive register (None) Data parity or framing error (None) Syntax error from RD5500 Remote Display (not the expected character; no (None) character error was detected) (Applies only to the 17XX Terminal.) * An uppercase letter indicates an error from the RS-232 device. A lowercase letter indicates an error from the RD5500 Remote Display (applies only to the 17XX Terminal). 0 1 2 6 7 8 9 A B D E f/F* o/O* p/P* R

Example of Receive Only The following example and chart show what would be sent to the terminal to cause data to be received. Note that “b” indicates a 1-byte space. Column 1

Column 11

Column 23 b#G3N81bbbbbb500A0102FP10 Column Character 1 2 3 4 5 6 7 8--12 13 14--15 16--17 18--19 20--21 22 23 24--25 b # G 3 N 8 1 bbbbb b 50 0A 01 02 F P 10

Description This column typically contains a space. Extended command. Receive Only command. 4800 baud. No data parity. Eight data bits. One stop bit. Reserved. AID key is Enter. Receive a maximum of 50 characters. Delimiter character is 0A hexadecimal (line feed). Data sent to host after one delimiter character is received Start character is 02 hexadecimal (STX). Start character will be returned to host. Parity errors will be flagged Receive timeout length is 10 seconds. TE 2000t 3270 Terminal Emulation Programmer’s Guide

7-9

Page 184

Extended Commands

SECTION 7

Set Parameters (#H) Use Set Parameters to set TE configuration parameters that you would otherwise set at the terminal. The parameters are part of the configuration menus. Set most of the parameters once per terminal. You can set them when you install a network or when you add terminals to the network. Unless the terminal fails (perhaps a dead battery) or a user does something destructive (such as a RAM test), you probably will not need to set them again. Table 7-5 lists columns in which characters must appear. Note that “b” indicates a 1-byte space. " NOTE:

Some parameters do not apply to all terminal models. Refer to the terminal’s user manual for applicable parameters. Table 7-5 Set Parameters Characters (6400, 5055, 59XX, 17XX, 11XX Terminals)

Line 1, Columns 2--36 Column Description 2 3 4--6

Extended command Set Parameters command Backlight timer

7--9 10 11 12 13 14 15--17 18--20 21--23 24 25--27 28--30 31--33 34--36

7-10

Character

# H bbb=No change from current setting 000=On continuously; 001--255=Seconds to stay on Sleep timer delay bbb=No change from current setting (legacy RT3210 Terminals) 000=Off; 001--255=Seconds of inactivity before sleep Cursor mode b=No change from current setting (Default is underline) 1=Underline; 2=Underline blink; 3=Block; 4=Block blink Screen mode (screen mode value b=No change from current setting; 1=Center cursor; must be sent, but it is ignored) 2=Corner; 3=Page Remote display b=No change from current setting; 0=Not attached; (17XX, 11XX Terminals) 1=Attached Shift key unlock (shift lock value b=No change from current setting; 0=Disable (default); must be sent, but it is ignored) 1=Enable Keyboard lock b=No change from current setting; 0=Disable (default); 1=Enable Beeper volume bbb=No change from current setting; 000--255=Range in seconds Beeper frequency bbb=No change from current setting; 000--030=Range (larger is higher) Beeper length bbb=No change from current setting; 000--010=Duration in seconds Stream scan b=No change from current setting; 0=Disable; 1=Enable Primary screen row size bbb=No change from current setting 000--255=Number of rows per display screen Primary screen column size bbb=No change from current setting 000--255=Number of columns per display screen bbb=No change from current setting Alternate screen row size 000--255=Number of rows per display screen Alternate screen column size bbb=No change from current setting 000--255=Number of columns per display screen

TE 2000t 3270 Terminal Emulation Programmer’s Guide

Page 185

Extended Commands

SECTION 7

Return Codes for Set Parameters Line 24, Column 1 has the return status field. The code returned in this position tells the host the status of the extended command. The Set Parameters return code is the status sent to the host computer. The following chart lists return codes. Code

Description

Column

0 1 2 3 4 5 6 7 8 9 A B E F

Good status, transaction complete. Backlight timer parameter invalid. Sleep mode timer parameter invalid. Normal cursor set parameter invalid. Insert cursor set parameter invalid. Remote display parameter invalid. Shift key unlock parameter invalid. Keyboard lock parameter invalid. Beeper volume parameter invalid. Beeper frequency parameter invalid. Beeper length parameter invalid. Stream scan parameter invalid. Incorrect setting for number of rows. Incorrect setting for number of columns.

(None) 4--6 7--9 10 11 12 13 14 15--17 18--20 21--23 24 25--27 28--30

Example of Set Parameters This example and chart show data for Set Parameters. Note that “b” indicates a 1-byte space. Column 1

Column 11

Column 19

Column 28 Column 36 b#H099bbb341002550220021010080020080 Column Character Description 1 2 3 4--6 7--9 10 11 12 13 14 15--17 18--20 21--23 24 25--27 28--30 31--33 34--36 b # H 099 bbb 3 b 1 0 0 255 022 002 1 010 080 020 080

This column typically contains a space. Extended command. Set Parameters command. Backlight stays on for 99 seconds. No change from current setting (legacy RT3210 Terminal only) Cursor is in block mode. No change from current setting. Remote display is in use (17XX, 11XX Terminals). Shift key unlock is disabled (ignored). Keyboard lock is disabled. Beeper volume is set at 255. Beeper frequency setting is set at 22. Beeper length is 2 seconds. Stream scan setting is enabled. Number of rows in primary screen size is 10. Number of columns in primary screen size is 80. Number of rows in alternate screen size is 20. Number of columns in primary screen size is 80. TE 2000t 3270 Terminal Emulation Programmer’s Guide

7-11

Page 186

Extended Commands

SECTION 7

Return Version (#V) The Return Version extended command returns the current TE program name and version to the host computer. Table 7-6 lists columns in which characters must appear. Table 7-6 Return Version Characters Line 1, Columns 2--3 Column Description 2 3

Extended command Return Version command

Character # V

Line 2, Column 1 is the input field large enough to hold the program name and version number followed by the # sign, as shown below. “ttt” is the terminal number and “s” is the status. tttK’0000/A0080 “<program name><version>#”/A1841s

Line 24, Column 1 has the return status field. The code returned in this position tells the host the status of the extended command. The code is 0, which means good status or transaction complete.

Tone (#T) The Tone extended command causes the terminal to make a tone of a specified volume, frequency, and length. Note that “b” indicates a 1-byte space. Line 1, Columns 2--12 Column Description 2 3 4--6 7--9 10--12

Character

Extended command Tone command Volume Frequency Length

# T bbb=No change from current setting; 000–255=Range from quiet to loud bbb=No change from current setting; 000–030=Range from low to high bbb=No change from current setting; 001–010=Duration in seconds from short to long (keyboard response time)

The return code is the status sent to the host computer; the code indicates if the extended command was successful. The terminal returns data and the extended command’s status to the host computer in the \\X<CR> format. X is the return code listed in the following chart.

7-12

Code

Description

Column

0 8 9 A

Good status, transaction complete Incorrect setting for volume Incorrect setting for frequency Incorrect setting for length

(None) 4--6 7--9 10--12

TE 2000t 3270 Terminal Emulation Programmer’s Guide

Page 187

Extended Commands

SECTION 7

Scan (#S) The Scan extended command allows host systems to have the same capabilities as terminals using the Native data stream to set bar code parameters and scan. By inserting characters “#S” in the display buffer at Line 1, Columns 2 and 3, the host computer tells the terminal to expect a Bar Code Scanner extended command. Appropriate descriptive characteristics should follow the “#S” characters. The terminal returns a code that indicates if the command was successful. Then it simulates the [Enter] key to return a value to the host computer. Due to possible system fragmentation of a data stream, the “#” in Line 1, Column 2 should be the last character placed on the screen. This will ensure that all data is present before the extended command is parsed (removed). Table 7-7 lists the command. Tables on the following pages list options. Table 7-7 Scan Bar Code Parameters Line 1, Columns 2--3 Column Description 2 3

Extended command Scan command

Character # S

CC Byte 1 Control Character Byte 1 (CC Byte 1) implementation differs between terminals. Note that “b” indicates a 1-byte space. Table 7-8 CC Byte 1 Options for Scanning (2415, 2425, 2435A, 2455, 248X, 5020 Terminals) Line 1, Column 4 CC Byte 1

Laser

0 1 2 3 4 5 6 7 8 9 A B C D E F b x x

Disable Scanner

No Change From Current Setting x x x x x x x x TE 2000t 3270 Terminal Emulation Programmer’s Guide

7-13

Page 188

Extended Commands

SECTION 7

6400 Computers do not support HP Wand Select. Note that a “b” indicates a 1-byte space. Table 7-9 CC Byte 1 Options for Scanning (6400, 5055, 59XX, 17XX, 11XX Terminals) Line 1, Column 4 CC Byte 1 HP Wand Select

Redundancy

0 1 2 3 4 5 6 7 8 9 A B C D E F b x x x x x x x

Laser

No Redundancy x x x x x x x x x x x x x x x x x x x x x x x

Disable scanner. No change from current setting.

CC Byte 2 CC Byte 2 implementation differs between terminals. Note that “b” indicates a 1-byte space. Table 7-10 CC Byte 2 Options Supported by Characters (2415, 2425, 2435A, 2455, 248X, 5020 Terminals) Line 1, Column 5 CC Byte 2

Scan Termination Character

0–3 4–7 8–F (Space)

None Auto Enter Scan Auto Tab Scan No change from current setting

7-14

TE 2000t 3270 Terminal Emulation Programmer’s Guide

Page 189

Extended Commands

SECTION 7

Table 7-11 CC Byte 2 Options Supported by Characters (6400, 5055, 59XX, 17XX, 11XX Terminals) Line 1, Column 5 CC Byte 2

Scan Termination Character

0 1 2 3 4 5 6 7 8 9 A B C D E F

None

Modulo 10 Check Digit x x

[Enter] key x x [Tab] key x x x x

CC Byte 3 Note that “b” indicates a 1-byte space. Table 7-12 CC Byte 3 Options (6400, 5055, 59XX, 17XX, 11XX Terminals) Line 1, Column 6 CC Byte 3 Enable Stream Scanning 0 1 2 3 4 5 6 7 8 9 A B C D E F b

Reserved

Return Bar Code Type

Bar Code Concatenated x x x x x x x x x x x x x x x x x x x x x x x x x x x x x No change from current setting x x x

TE 2000t 3270 Terminal Emulation Programmer’s Guide

7-15

Page 190

Extended Commands

SECTION 7

Bar Code Length Bar Code Length sets the minimum and maximum character lengths for all types of bar codes scanned (Table 7-13). Setting the minimum and maximum values to their optimum can increase scanning performance. If the terminal scans bar codes that are outside the minimum and maximum value, the terminal ignores the bar code. Note that “b” indicates a 1-byte space. Table 7-13 Bar Code Length (6400, 5020, 5055, 59XX, 17XX, 11XX Terminals) Line 1, Columns 7--10 Column Character and Description XX=Bar code length. Maximum length: 99. bb=No change from current setting XX=Bar code length. Minimum length: 00. bb=No change from current setting

7--8 9--10

UPC Use the UPC command to select the combinations of characters listed in Table 7-14. 6400 Computers do not support UPC-E Number System 1. Note that “b” indicates a 1-byte space. Table 7-14 UPC Bar Code Characters (6400, 5055, 59XX, 17XX, 11XX Terminals) Character 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 b

7-16

UPC-E # System 1

Expand UPC-E to UPC-A

UPC-E # System 0

Add-ons

UPC-A x x x x x x x x x x x x x x x x

Disables all. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x No change from current setting

TE 2000t 3270 Terminal Emulation Programmer’s Guide x