Intermec VT220/ANSI Programmer's Reference Manual
Below you will find brief information for Radio Terminal RT3210, Radio Terminal RT1100, Radio Terminal RT1700, Radio Terminal RT5900, Computer PEN*KEY 6400. These devices provide a comprehensive set of features and capabilities for data entry and communication in various applications. The guide covers VT220/ANSI terminal emulation, programming, extended commands, and bar code scanning to help you effectively utilize these devices.
Advertisement
Advertisement
VT220/ANSI Terminal Emulation
PROGRAMMER’S
REFERENCE GUIDE
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
P/N 977-047-037
Revision C
July 1998
"
NOTICE
Ó
This publication contains information proprietary to Intermec Technologies Corporation. It is being supplied to you with the express understanding that the information contained herein is for the benefit of the contracting party only, and may not be copied, distributed, or displayed to third parties without the express written consent of Intermec Technologies Corporation, and shall be returned to
Intermec Technologies Corporation upon written request. If a purchase, license, or nondisclosure agreement has been executed, the terms of that agreement shall govern this document.
This publication is furnished for information only, and the information in it is subject to change without notice. Although every effort has been made to provide complete and accurate information, Intermec Technologies Corporation assumes no responsibility or liability for any errors or inaccuracies that may appear in this document.
Disclaimer of Warranties. The sample source code included in this document is presented for reference only. The code does not necessarily represent complete, tested programs. The code is provided “AS IS WITH ALL FAULTS.” ALL
WARRANTIES ARE EXPRESSLY DISCLAIMED, INCLUDING THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE.
We welcome your comments concerning this publication. Although every effort has been made to keep it free of errors, some may occur. When reporting a specific problem, please describe it briefly and include the book title and part number, as well as the paragraph or figure number and the page number.
Send your comments to:
Intermec Technologies Corporation
Publications Department
550 Second Street SE
Cedar Rapids, IA 52401
INTERMEC, NORAND, and PEN*KEY are registered trademarks of Intermec
Technologies Corporation.
1994 Intermec Technologies Corporation. All rights reserved.
This publication printed on recycled paper.
Acknowledgments
Ethernet is a trademark of Xerox Corporation.
IBM is a registered trademark of International Business Machines Corporation.
MS-DOS is a registered trademark of Microsoft Corporation.
VT131, VT220, VT330, VT340, and VT52 are trademarks of Digital Equipment
Corporation.
Some material in this programmer’s reference guide has been reproduced courtesy of Digital Equipment Corporation. Character set tables on pages 8-3, 8-7, 8-11, and 8-13: Copyright, Digital Equipment Corporation (1983, 1984). All rights reserved. Reprinted by permission. Adapted from original material.
European Notice
The 902--928 MHz SST (Spread Spectrum Transmission) radio referred to in this manual is not available for sale or use in Europe (including, but not limited to,
Great Britain, Italy, Germany, France, Spain, Norway, Denmark, Sweden,
Finland, Portugal, and the Benelux countries). Any references in this manual to
902--928 MHz SST, or modules containing 902--928 MHz SST radios, should be disregarded by users of this product in Europe.
CONTENTS
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
SECTION 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Radio Network Overview
Purpose of This Guide
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Intended Audience
What to Read First
Organization of this Guide
Conventions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
If You Need Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Related Publications
Wireless Stations
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controllers and Gateways . . . . . . . . . . . . . . . . . . . . . . . .
Access Points and Base Radios
Comparing the Keyboards
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 2
RT3210 Radio Terminal
Corner Mode
Page Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VT220/ANSI Display Emulation
Character Sizes
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Center Cursor Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lazy Mode
Locked Mode
Display Annunciators
Keyboard
Overlay
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1
2-1
2-1
2-2
2-2
2-3
2-3
2-3
2-4
2-4
2-6
2-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide i
1-1
1-1
1-2
1-2
1-2
1-3
1-4
1-4
1-4
1-4
1-5
1-6
1-6
CONTENTS
"
Main Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Standard Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Function Keys
Editing Keypad
Editing Keys
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cursor Control Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Windowing Within the VT220 Screen
Paging Through the Display
Scrolling Through the Display
. . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
Auxiliary Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Top-Row Function Keys
Transmission Mode
Backlight
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 3
RT1100 Radio Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VT220/ANSI Display Emulation
Host View Size
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen Size
Screen Modes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Center Cursor Mode
Corner Mode
Page Mode
Lazy Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Locked Mode
Display Annunciators
Keyboard
Overlay
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Main Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Standard Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Function Keys
Editing Keypad
Editing Keys
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Auxiliary Keypad
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cursor Control Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Top-Row Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Control Keys
Transmission Mode
Local Edit Mode
Backlight
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
2-9
2-9
2-10
2-11
2-11
2-12
2-12
2-13
2-14
2-14
2-15
2-16
2-16
3-1
3-3
3-4
3-4
3-6
3-8
3-9
3-9
3-10
3-1
3-1
3-1
3-2
3-2
3-2
3-3
3-3
3-11
3-11
3-12
3-14
3-15
3-15
3-16
3-16
3-16
CONTENTS
"
SECTION 4
RT1700 Radio Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VT220/ANSI Display Emulation
Host View Size
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen Size
Screen Modes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Center Cursor Mode
Corner Mode
Page Mode
Lazy Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Locked Mode
Display Annunciators
Keyboards
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Standard 57-Key Keyboard . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37-Key Keyboard
Overlays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Main Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Standard Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Editing Keypad
Editing Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cursor Control Keys
Auxiliary Keypad
Top-Row Function Keys
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Control Keys
57-Key Keyboard
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37-Key Keyboard
Transmission Mode
Local Edit Mode
Backlight
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-1
4-11
4-15
4-15
4-15
4-17
4-18
4-19
4-19
4-20
4-20
4-21
4-21
4-3
4-3
4-4
4-5
4-6
4-8
4-10
4-11
4-1
4-1
4-1
4-2
4-2
4-2
4-3
4-3
SECTION 5
RT5900 Radio Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-1
VT220/ANSI Display Emulation
Host View Size
Screen Size
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-1
5-1
5-1
VT220/ANSI Terminal Emulation Programmer’s Reference Guide iii
CONTENTS
"
Screen Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Center Cursor Mode
Corner Mode
Page Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lazy Mode
Screen Lock Mode
Locked Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Display Annunciators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Keyboard
Overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Main Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Standard Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Function Keys
Editing Keypad
Editing Keys
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cursor Control Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Auxiliary Keypad
Top-Row Function Keys
Control Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transmission Mode
Local Edit Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 6
PEN*KEY
R
6400 Computer . . . . . . . . . . . . . . . . . . . . . . . . . . .
VT220/ANSI Display Emulation
Screen Size
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Center Cursor Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Corner Mode
Page Mode
Lazy Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Locked Mode
Display Annunciators
Keyboards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
51-Key Keyboard
41-Key Keyboard
Overlays
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6
5-8
5-9
5-9
5-11
5-12
5-12
5-12
5-14
5-15
5-15
5-16
5-16
5-2
5-2
5-2
5-3
5-3
5-3
5-3
5-4
6-1
6-3
6-4
6-5
6-5
6-8
6-11
6-1
6-1
6-1
6-2
6-2
6-2
6-3
6-3
iv
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
CONTENTS
"
Main Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Letters -- 51-Key Keyboard
Letters -- 41-Key Keyboard
Numbers and Symbols
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Function Keys
Editing Keypad
Editing Keys
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cursor Control Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Auxiliary Keypad
Top-Row Function Keys
51-Key Keyboard
41-Key Keyboard
Control Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
51-Key Keyboard
41-Key Keyboard
Transmission Mode
Local Edit Mode
Backlight
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 7
PEN*KEY 6500 Computer
Locked Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
VT220/ANSI Display Emulation
Host View Size
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen Size
Screen Modes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Center Cursor Mode
Corner Mode
Page Mode
Lazy Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Display Annunciators
Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Shifted Planes
Main Keypad
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Standard Keys
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Function Keys
Editing Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cursor Control Keys
Auxiliary Keypad
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7-1
7-3
7-3
7-4
7-5
7-7
7-8
7-8
7-9
7-1
7-1
7-1
7-2
7-2
7-2
7-3
7-3
7-10
7-11
7-13
VT220/ANSI Terminal Emulation Programmer’s Reference Guide v
6-19
6-20
6-20
6-21
6-22
6-22
6-22
6-23
6-24
6-24
6-12
6-12
6-12
6-13
6-15
6-16
6-16
6-17
CONTENTS
"
Top-Row Function Keys
Control Keys
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transmission Mode
Local Edit Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 8
Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Character Encoding
Character Sets
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multinational Character Set . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C0 and GL Codes
C1 and GR Codes
Display Controls Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Dynamically Redefinable Character Set . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Special Graphics Character Set
National Replacement Character Sets
Character Set Selection
. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Designating Hard Character Sets . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Locking Shifts
Received Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Select C1 Controls
Terminal Modes
Cursor Positioning
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tab Stops
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Character Rendition and Attributes
Select Graphic Rendition (SGR)
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
Select Character Attributes (DECSCA)
Line Attributes
Double-Height Line (DECDHL)
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single-Width Line (DECSWL)
Double-Width Line (DECDWL)
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
Erasure Mode
Editing
Erasing
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scrolling Margins (Top and Bottom)
Printing
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7-14
7-14
7-16
7-16
8-1
8-28
8-29
8-30
8-32
8-34
8-34
8-23
8-25
8-26
8-26
8-27
8-27
8-28
8-28
8-11
8-13
8-15
8-15
8-17
8-17
8-18
8-19
8-1
8-2
8-2
8-2
8-3
8-7
8-11
8-11
vi
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
CONTENTS
"
User-Defined Keys (DECUDK)
Using UDKs
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UDK Memory Space
Programming UDKs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Loading UDKs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Examples of Device Control Strings
Down-Line Loadable Character Set
Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Device Attributes (DA)
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Device Status Reports (DSR) . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identification
Terminal Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tests and Adjustments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VT52 Mode Escape Sequence . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define Area Qualification
Private Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Proprietary Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Line Edit and Character Modes . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Norcompress
VT330/VT340 Applications
Right Margin
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Text Forms
Transmitted Keyboard Codes
Line Edit Mode
Character Mode
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transmitted Keyboard Keys
Main Keypad
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Editing Keypad
Editing Keys
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cursor Control Key
Auxiliary Keypad
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Sending Host Cursor Keys . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Top-Row Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Local Edit Mode
Edit Mode and Interactive Mode
Local Editing Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting Characters to Send
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
Guarded Area Transfer Mode (GATM)
Selected Area Transfer Mode (SATM)
Multiple Area Transfer Mode (MATM)
. . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . .
8-54
8-55
8-55
8-56
8-57
8-57
8-57
8-58
8-48
8-48
8-49
8-49
8-49
8-50
8-50
8-54
8-59
8-60
8-61
8-61
8-62
8-63
8-63
8-64
8-65
8-43
8-44
8-45
8-45
8-46
8-46
8-47
8-48
8-36
8-36
8-37
8-37
8-41
8-41
8-42
8-43
VT220/ANSI Terminal Emulation Programmer’s Reference Guide vii
CONTENTS
"
Defining Selected Areas
Local Edit Mode Keys
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scanning in Local Edit Mode . . . . . . . . . . . . . . . . . . . . . .
Set Transmit Termination Character (DECTTC) . . . .
SECTION 9
Extended Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transmit and Receive On RS-232
Port (#F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Return Codes for Transmit and Receive . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
Examples of Transmit and Receive
APC and ST Sequences
Space and “#” Character
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
Transmit Only On RS-232 Port (#P) . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Flow Control
Return Codes for Transmit Only
Examples of Transmit Only
APC and ST Sequences
Space and “#” Character
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
Receive Only On RS-232 Port (#G)
Return Codes for Receive Only
Examples of Receive Only
APC Sequence
Space
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set Parameters (#H)
APC Sequence
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Return Codes for Set Parameters
Examples of Set Parameters
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Space
Return Version (#V) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Return Code for Return Version
Example of Return Version
Tone (#T)
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-65
8-66
8-69
8-69
9-1
9-1
9-14
9-15
9-15
9-15
9-16
9-19
9-20
9-20
9-2
9-7
9-7
9-9
9-9
9-9
9-11
9-13
9-20
9-21
9-25
9-26
9-26
9-26
9-27
9-28
9-28
9-28
viii
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
CONTENTS
"
Scan Bar Code Parameters (#S)
Control Byte 1
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Control Byte 2
Control Byte 3
Bar Code Length
UPC
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EAN Algorithms
Code 39
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Plessey
Codabar
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Code 11
Code 93
Code 128
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Straight or Computer Identics 2of5
Interleaved 2of5
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Return Codes for Scan Bar Code Parameters
Examples of Scan Bar Code Parameters
APC Sequence
. . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Space
Encoded Code 39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terminating Keys
Escape Characters
Concatenation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-37
9-37
9-38
9-39
9-39
9-40
9-41
9-42
9-30
9-31
9-32
9-33
9-34
9-34
9-36
9-36
9-42
9-42
9-43
9-45
9-52
9-53
9-54
APPENDIX A
Bar Code Scanning
Overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How to Enable Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How the Host Gets Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . .
A-1
A-1
A-2
A-2
INDEX
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Index-1
FIGURES
Figure 1-1 VT220 Terminal Standard Keyboard
(North American) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-1 RT3210 Keyboard . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-2 RT3210 Windowing Mode . . . . . . . . . . . . . . . . . .
1-7
2-7
2-13
VT220/ANSI Terminal Emulation Programmer’s Reference Guide ix
CONTENTS
"
Figure 3-1 RT1100 Keyboard . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 3-2 RT1100 Windowing Mode
Figure 4-1 RT1700 57-Key Keyboard
Figure 4-2 RT1700 37-Key Keyboard
Figure 4-3 RT1700 Windowing Mode
Figure 5-1 RT5900 Keyboard
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
Figure 5-2 RT5900 Windowing Mode
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
Figure 6-1 PEN*KEY 6400 51-Key Keyboard . . . . . . . . . .
. . . . . . . . . .
Figure 6-2 PEN*KEY 6400 41-Key Keyboard
Figure 6-3 PEN*KEY 6400 Windowing Mode
Figure 7-1 PEN*KEY 6500 Keyboard
Figure 7-2 PEN*KEY 6500 Windowing Mode
. . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . .
TABLES
Table 2-1 RT3210 Standard Keys . . . . . . . . . . . . . . . . . . . . .
Table 2-2 RT3210 Special Function Keys
Table 2-3 RT3210 Editing Keys . . . . . . . . . . . . . . . . . . . . . . .
Table 2-4 RT3210 Auxiliary Keypad
. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
Table 2-5 RT3210 Top-Row Function Keys . . . . . . . . . . . . .
Table 3-1 RT1100 Standard Keys
Table 3-3 RT1100 Editing Keys
. . . . . . . . . . . . . . . . . . . . .
Table 3-2 RT1100 Special Function Keys . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
Table 3-4 RT1100 Auxiliary Keypad
Table 3-5 RT1100 Top-Row Function Keys
Table 3-6 RT1100 Control Keys
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
Table 4-1 RT1700 Standard Keys
Table 4-2 RT1700 Special Function Keys
Table 4-3 RT1700 Editing Keys
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
Table 4-4 RT1700 Auxiliary Keypad . . . . . . . . . . . . . . . . . . .
Table 4-5 RT1700 Top-Row Function Keys
. . . . . . . . . . . . . .
. . . . . . . . . . . . .
Table 4-6 RT1700 Control Keys (57-Key Keyboard)
Table 4-7 RT1700 Control Keys (37-Key Keyboard)
. . . . .
. . . . .
3-7
3-13
4-7
4-9
4-16
5-7
5-13
6-6
6-9
6-18
7-6
7-12
2-9
2-11
2-12
2-15
2-15
3-9
3-11
3-12
3-14
3-15
3-15
4-11
4-14
4-15
4-18
4-19
4-19
4-20
x
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
CONTENTS
"
Table 5-1 RT5900 Standard Keys
Table 5-3 RT5900 Editing Keys
. . . . . . . . . . . . . . . . . . . . .
Table 5-2 RT5900 Special Function Keys . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
Table 5-4 RT5900 Auxiliary Keypad . . . . . . . . . . . . . . . . . . .
Table 5-5 RT5900 Top-Row Function Keys . . . . . . . . . . . . .
Table 5-6 RT5900 Control Key Combinations . . . . . . . . . .
Table 6-1 PEN*KEY 6400 Letters, 51-Key Keyboard
Table 6-2 PEN*KEY 6400 Letters, 41-Key Keyboard
Table 6-3 PEN*KEY 6400 Numbers and Symbols
Table 6-4 PEN*KEY 6400 Special Function Keys
. . .
. . .
. . . . . .
. . . . . . .
Table 6-5 PEN*KEY 6400 Editing Keys . . . . . . . . . . . . . . .
Table 6-6 PEN*KEY 6400 Auxiliary Keypad . . . . . . . . . . .
Table 6-7 PEN*KEY 6400 Top-Row Function Keys,
51-Key Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 6-8 PEN*KEY 6400 Top-Row Function Keys,
41-Key Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 6-9 PEN*KEY 6400 Control Keys (51-Key
Keyboard) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 6-10 PEN*KEY 6400 Control Keys (41-Key
Keyboard) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 7-1 PEN*KEY 6500 Standard Keys
Table 7-3 PEN*KEY 6500 Editing Keys
. . . . . . . . . . . . .
Table 7-2 PEN*KEY 6500 Special Function Keys . . . . . . .
. . . . . . . . . . . . . . .
Table 7-4 PEN*KEY 6500 Auxiliary Keypad
Table 7-5 PEN*KEY 6500 Top-Row Function Keys
Table 7-6 PEN*KEY 6500 Control Keys
. . . . . . . . . . .
. . . . .
. . . . . . . . . . . . . . .
Table 8-1 C0 Control and Graphic Characters
Table 8-2 C0 Control Characters and Wireless
. . . . . . . . . .
Station Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-3 C1 Control Characters . . . . . . . . . . . . . . . . . . . . . .
Table 8-4 C1 Control Characters and Wireless
Station Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-5 Special Graphics Character Set . . . . . . . . . . . . .
Table 8-6 National Replacement Character Set . . . . . . . . .
Table 8-7 Greek National Replacement Character Set
Table 8-8 Hard Character Set Escape Sequences
Table 8-9 Hard Character Set Final Characters
Table 8-10 Locking Shifts
. .
. . . . . . .
. . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-4
8-5
8-8
8-9
8-12
8-13
8-14
8-15
8-16
8-17
6-23
7-8
7-10
7-11
7-13
7-14
7-14
6-12
6-13
6-14
6-16
6-17
6-19
5-9
5-11
5-12
5-14
5-15
5-16
6-21
6-21
6-22
VT220/ANSI Terminal Emulation Programmer’s Reference Guide xi
CONTENTS
"
Table 8-11 Select C1 Controls
Table 8-13 Cursor Positioning
Table 8-14 Tab Stops
. . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-12 Selectable Terminal Modes . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-15 Select Graphic Rendition
Table 8-17 Double-Height Line
Table 8-18 Single-Width Line
Table 8-19 Double-Width Line
. . . . . . . . . . . . . . . . . .
Table 8-16 Select Character Attributes . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-20 Erasure Mode
Table 8-27 Device Attributes
Table 8-29 Identification
Table 8-30 Terminal Reset
. . . . . . . . . . . . . . . . . . . . . . . .
Table 8-21 Control Functions Affected by Character
Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-22 Editing
Table 8-23 Erasing
Table 8-24 Scrolling Margins (Top and Bottom)
Table 8-25 Printing
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-28 Device Status Reports
Table 8-31 Tests and Adjustments
. . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-26 Down-Line Loadable Character Set . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-33 Private Sequence
. . . . . . . . . . . . . . . . . . . .
Table 8-32 Define Area Qualification . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-34 Line Edit and Character Mode Sequences . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-35 Norcompress
Table 8-36 Special Function Keys and Codes Generated
Table 8-37 Editing Keys and Codes Generated . . . . . . . . .
Table 8-38 Cursor Control Key and Codes Generated . . .
. . . . . . .
8-57
8-58
Table 8-39 Auxiliary Keys and Codes Generated 8-59
Table 8-40 Top-Row Function Keys and Codes Generated 8-60
Table 8-41 Local Edit Modes . . . . . . . . . . . . . . . . . . . . . . . . .
Table 8-42 Local Editing Setup . . . . . . . . . . . . . . . . . . . . . . .
Table 8-43 Selecting Character Fields for Transmission
Table 8-44 Guarded Area Transfer Modes
Table 8-45 Selected Area Transfer Modes
Table 8-46 Multiple Area Transfer Modes
. . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
Table 8-47 Start Selected Area and End Selected Area
Table 8-48 Local Edit Mode Keys
. .
. . . . . . . . . . . . . . . . . . . . .
.
8-45
8-45
8-46
8-47
8-48
8-49
8-49
8-56
8-30
8-30
8-32
8-34
8-35
8-42
8-43
8-44
8-61
8-62
8-63
8-64
8-64
8-65
8-66
8-67
8-18
8-19
8-23
8-25
8-26
8-27
8-28
8-28
8-29
8-29
xii
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
CONTENTS
"
Table 9-1 Transmit and Receive Characters
Table 9-2 Transmit Only Characters
. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
Table 9-3 Receive Only Characters
Table 9-8 Control Byte 1 Characters
Table 9-9 Control Byte 2 Characters
Table 9-11 Bar Code Length
Table 9-13 EAN Algorithms
. . . . . . . . . . . . . . . . . . . .
Table 9-4 Set Parameters Characters
Table 9-5 Return Version Characters
Table 9-6 Tone Options
Table 9-10 Control Byte 3 Characters
Table 9-12 UPC Bar Code Characters
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 9-7 Scan Bar Code Parameters . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
Table 9-14 Code 39 Algorithms Characters
Table 9-15 Plessey Characters
Table 9-16 Codabar Characters
. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
Table 9-17 Plessey Check Digit Characters
Table 9-18 Code 11 Characters
Table 9-19 Code 93 Characters
Table 9-20 Code 128 Characters
Table 9-21 2of5 Characters
. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 9-22 Interleaved 2of5 Characters . . . . . . . . . . . . . . . .
Table 9-23 Key Press Sequences for Encoded Code 39 . . .
Table A-1 Bar Code Data String Formats . . . . . . . . . . . . . .
9-32
9-33
9-34
9-35
9-36
9-36
9-37
9-37
9-4
9-12
9-16
9-22
9-27
9-29
9-30
9-31
9-38
9-39
9-39
9-39
9-40
9-41
9-46
A-3
VT220/ANSI Terminal Emulation Programmer’s Reference Guide xiii
CONTENTS
"
xiv
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Section 1
Introduction
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
Radio Network Overview
The radio network with ultra high frequency (UHF), 900
MHz, or 2.4 GHz radio products enables a user to operate an INTERMEC R wireless terminal emulation station as if it was a VT220 terminal. The mobility of the wireless station enables the user to take it any place in the facility and interface with a large variety of networks and host computers. This results in increased data collection, improved time control, and the ability to run a large number of applications without the need to custom program, change software, or learn new programming languages or protocols.
The radio network also:
"
"
"
Provides industry standards.
Supports Ethernet Version 2 (DIX) and IEEE 802.3, and these connections: 10BASE2 (thin), 10BASE5
(thick), and 10BASE-T (UTP).
Automatically recognizes the model of the wireless station on the network. Wireless station models that support VT220 terminal emulation are RT3210,
RT1100, RT1700, and RT5900 Radio Terminals; and
PEN*KEY
R
6400 and 6500 Computers.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 1-1
SECTION 1
"
Introduction
Purpose of This Guide
The purpose of this programmer’s guide is to describe wireless terminal emulation stations and how they emulate
VT220 terminal operation. This guide describes:
"
"
"
"
How the wireless stations’ keyboards and overlays emulate VT220 terminal operation.
Received codes and transmitted keyboard codes that the wireless stations support.
Extended commands for the wireless stations.
Wireless station support for VT330 and VT340 applications.
Intended Audience
This programmer’s guide was prepared with the assumption that you are already familiar with the operation of the
VT220 terminal. The intended audience is the host computer programmer who is familiar with the VT220/ANSI data stream, and needs to design interfaces to the wireless stations.
What to Read First
Before you begin using the wireless station as an emulation product, read the section about the wireless station you are using. The information will give you a basic understanding of the equipment you will be working with. You can also skim the appropriate program commands for programming guidance on the VT220/ANSI commands the wireless station supports.
1-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 1
"
Introduction
If your radio network has not yet been installed, read first the installation and operations guide provided with your software. The guide describes how to install the hardware and software, and then configure the software according to the requirements of your site.
Organization of this Guide
This guide is divided into sections that specifically address the operation and programming of wireless stations. This
Introduction contains a brief overview of this programmer’s guide. Sections 2 through 7 describe how the wireless stations’ annunciators and keyboards emulate VT220 terminal operation. Specific sections are:
Section 2, “RT3210 Radio Data Terminal”
Section 3, “RT1100 Radio Data Terminal”
Section 4, “RT1700 Radio Data Terminal”
Section 5, “RT5900 Radio Data Terminal”
Section 6, “PEN*KEY 6400 Computer”
Section 7, “PEN*KEY 6500 Computer”
The remaining sections do the following:
"
"
"
Section 8, “Programming,” describes the character sets, received codes, transmitted codes, and other commands the wireless station supports. This section also describes how to set local editing mode (a feature of the VT330/VT340 terminal), and how to create forms.
Section 9, “Extended Commands,” describes the extended commands that print, scan bar codes, and send communications over the wireless station’s
RS-232 port.
Appendix A contains bar code scanning information.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 1-3
SECTION 1
"
Introduction
Conventions
To help you quickly locate and interpret information, this publication uses the conventions in the following chart.
Convention
ALL CAPS
[KEY]
Meaning
Wireless station firmware menu options.
On the wireless station, press the key or keys specified in brackets.
If You Need Help
The best way to reach us is by phone. Following are Customer Response Hotline phone numbers.
In the United States, call: 1-800-221-9236
In Canada, call: 1-800-633-6149
Related Publications
The following publications provide information beyond the purpose of this programmer’s guide. The numbers in parentheses refer to publication part numbers.
Wireless Stations
The user’s guide for each wireless station describes each firmware menu option in detail and how to operate and maintain the computer.
1-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 1
"
Introduction
Specific user’s guides are:
PEN*KEY Model 6400
(961-047-093)
PEN*KEY Model 6500/6550
(961-047-099)
RT1100
(961-047-069)
RT1700
(961-047-068)
RT3210
(961-047-074)
RT5900
(961-047-121)
Maintaining NiCd Batteries User’s Guide
(961-028-063)
The battery user’s guide describes how to maintain the life of nickel-cadmium batteries.
Controllers and Gateways
6950 Enterprise Gateway Server User’s Guide
(961-047-091)
The user’s guide for the 6950 Enterprise Gateway Server describes how to install and configure the gateway server.
MBA3000 Multiple Base Adapter User’s Guide
(961-047-032)
This guide describes how to operate the MBA3000 Multiple
Base Adapter.
RCB4030 Base and Base/Controller User’s Guide
(961-047-075)
The user’s guide for the RCB4030 Base and Base/Controller describes how the device operates. The guide also describes how to install the device, interpret its LEDs, set its switches, and troubleshoot it.
Wireless Network Access Server User’s Guide
(961-051-006)
This user’s guide describes how to configure the Wireless
Network Access Server software that runs on a host.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 1-5
SECTION 1
"
Introduction
Access Points and Base Radios
6710 Access Point User’s Guide
(961-047-081)
The user guide for the 6710 Access Point describes how to install, configure, and troubleshoot the access point on the open wireless LAN.
RB3000 Base Station User’s Guide
(962-047-012)
This guide describes how to operate the RB3000 and
RB3001 Base Stations.
RCB4030 Base and Base/Controller User’s Guide
(961-047-075)
The user’s guide for the RCB4030 base describes how the base operates. The guide also describes how to install the base, interpret its LEDs, set its switches, and troubleshoot.
Comparing the Keyboards
So that you can compare your wireless station’s keyboard with the VT220 keyboard, an illustration of the VT220 keyboard has been placed on the next page. As you read how your wireless station’s keyboard and overlay emulate
VT220 operation, you may want to frequently refer to Figure 1-1 (standard VT220 keyboard) and the figure in this publication for the wireless station you are using.
If you are unfamiliar with the location of the keys on the
VT220’s keyboard, study the figure now to learn where the keys are located and the different parts of the keyboard.
1-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 1
"
Introduction
Figure 1-1
VT220 Terminal Standard Keyboard (North American)
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 1-7
SECTION 1
"
Introduction
1-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Section 2
RT3210 Radio Terminal
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
VT220/ANSI Display Emulation
" NOTE:
The RT3210 Radio Terminal’s 128 by 128 pixel liquid crystal display (LCD) shows radio terminal and VT220 prompts, and information you type. Because the VT220 terminal’s screen is 80 columns by 24 lines, the radio terminal represents a part of the information on the larger VT220 screen.
RT3210 Radio Terminals have UHF radios only.
Character Sizes
The radio terminal supports two character sizes: 7-by-9 dot and 5-by-7 dot. The sizes affect how much information appears in the display; each dot occupies one pixel. The
5-by-7 dot characters are smaller, but let you view a larger portion of the 1920-byte screen represented on the VT220 terminal. To change the character size, open the firmware by pressing [FUNC]+[SPACE]. Then select the following options in this order: SET-UP PARMS (password:
CR52401), DISPLAY OPTS, CHARACTER SIZE.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 2-1
SECTION 2
"
RT3210 Radio Terminal
When the radio terminal powers up, it defaults to a 7-by-9 dot character size. This size is the larger of the two character sets, and yields a screen size of 16 columns by 9 lines of display information (the bottom line is reserved for annunciators and system messages). The total number of characters this size can display is 144.
The 5-by-7 dot character size yields a screen size of 21 columns by 15 lines (the bottom line is reserved for annunciators and system messages). The total number of characters this size can display is 315.
Screen Modes
The radio terminal has these screen modes: center cursor, corner, page, lazy, screen lock, and locked. The modes present a window onto a standard VT220 display buffer. You can set the type of screen mode through the radio terminal’s firmware menus.
You can move the cursor by using the four direction arrows on the radio terminal’s diamond-shaped keypad. When you try to move the cursor onto one of the boundaries, an error tone sounds and the display retains its last position.
The screen modes govern which portion of the larger VT220 terminal’s screen the radio terminal first presents and how the window moves as the cursor moves.
Center Cursor Mode
Center cursor mode works best for applications that use the entire VT220 data stream’s 80-character by 24-line logical display. In this mode, the cursor remains in the center of the radio terminal’s window.
2-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 2
"
RT3210 Radio Terminal
As the cursor moves within the window, the radio terminal’s display window moves to keep it centered. When the cursor moves off the right, left, top, or bottom edge of the VT220 terminal’s display, the window remains fixed despite the cursor’s movement.
Corner Mode
Corner mode begins with the window in the upper left corner of the larger VT220 terminal. It keeps the cursor in the lower right corner of the display. Corner mode works best for applications that use the upper left corner of the logical screen.
As the cursor moves off the right or bottom edge of the radio terminal’s display, the window moves to show the cursor.
When you use corner mode with the [FUNC] or [ALT] key, you can move the cursor a predetermined number of key presses in all four directions.
Page Mode
Page mode provides predefined pages within the larger
VT220 terminal. The size of these pages depends on the number of rows and columns selected for display. The radio terminal moves the window by a multiple of the page size.
As the cursor moves off the edge of the radio terminal’s display, the window changes to the next page.
Lazy Mode
Lazy mode starts the cursor in the upper left corner of the display. The cursor moves across the display in the scrolled direction. When the cursor goes beyond the edge of the display, the data begins to move in the scrolled direction and the cursor remains at the edge of the display. When you try to go beyond an outside boundary, an error tone sounds.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 2-3
SECTION 2
"
RT3210 Radio Terminal
Locked Mode
If locked mode is selected through the firmware menus, the view window is locked to the upper left-hand corner of the display. The screen does not window around, and only the area that has been selected to be the screen size is visible.
Locked mode disables the windowing keys, or only allows you to window around the physical display size selected through the firmware menus.
Display Annunciators
The bottom line of the radio terminal’s display is reserved for annunciators that show the radio terminal’s current status or operation in progress. The following annunciators can appear.
The radio terminal is transmitting information to the base station.
The radio terminal is receiving information from the base station. This annunciator appears only when the information is for the radio terminal’s unique address number.
Communications loss. No communication with the host computer has occurred for at least
60 seconds. The radio terminal may be out of radio range, the base station may not have power, or communications from the host computer to the base station may not be properly set up.
Radio terminal’s keyboard is in function mode.
The key you press on the keyboard with [FUNC] returns the function or programmable function key code assigned by the programmer, or does an operation. Key codes and operations are located just above the keys and to the left (black lettering).
2-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 2
"
RT3210 Radio Terminal
The radio terminal’s keyboard is in alternate
mode. The key you press on the keyboard in combination with [ALT] types the character or does the operation just above the key and to the right (yellow lettering).
The radio terminal’s keyboard is in control
mode. The key you press on the keyboard in combination with [CTRL] generates the 7-bit control character commonly used in DEC applications.
The battery needs to be recharged. When this annunciator appears, you have only two minutes of operating time left before the radio terminal disables operator input and radio communications. After two minutes, the message
“CONNECT UNIT TO CHARGER” blinks.
Recharging. The radio terminal is connected to a battery charger.
The radio terminal’s battery pack is fully
charged. This annunciator is used by the fast charge algorithm to indicate the fully charged condition.
High speed. The base station is transmitting information at 9600 baud (versus 4800 baud).
Radio terminal’s keyboard is in character
mode (versus line edit mode). The radio terminal is sending, to the host computer, each key as you press it. (No annunciator appears for line edit mode.)
The radio terminal’s keyboard is in shift lock
mode. The letters you press on the keyboard after you press [SFT] will be in uppercase, until you press [SFT] again.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 2-5
SECTION 2
"
RT3210 Radio Terminal
Keyboard
The radio terminal has a 47-key keyboard (Figure 2-1). The keys are color-coded according to function to make recognition and key entry easier. The key in the upper left corner of the keyboard is the power on and power off button. Press the button once to turn the radio terminal on. To turn it off, press the button a second time and hold it about three seconds. Following are the remaining keys and their descriptions.
[
Key(s)
[FUNC]
[ALT]
[SFT]
[CTRL]
¬ ]
Description
Places keyboard into function mode.
Places keyboard into alternate mode.
Places keyboard into shift mode.
Places keyboard into control mode.
Sends a backspace or a delete key, depending on how the firmware is set up.
Cursor control key that allows you to move the cursor around the radio terminal’s display.
[A]--[Z]
[.]
Send letters a through z or A through Z.
Sends a period.
[--] Sends a hyphen.
[SPACE] Sends one space.
[0]--[9] Send numbers 0 through 9 or SS3 p through SS3 y.
2-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 2
"
RT3210 Radio Terminal
Figure 2-1
RT3210 Keyboard
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 2-7
SECTION 2
"
RT3210 Radio Terminal
Overlay
Key
ON/OFF
[FUNC]
[ALT]
[SFT]
[CTRL]
[ ¬ ]
[A]--[Z]
[.]
[--]
[SPACE]
[0]--[9]
[ENTER]
Type the characters and do the operations printed on the overlay when the keyboard is in function [FUNC] mode or alternate [ALT] mode. Figure 2-1 shows that the [FUNC] key is to the left and the [ALT] key is to the right. Characters printed on the overlay have the same relative relationship; the operation above a key and to the left (black lettering) indicates function mode, and the character or operation above a key and to the right (yellow lettering) indicates alternate mode.
You can also use the cursor control key in the upper right corner of the keyboard in combination with the function and alternate modes.
Radio terminal keys and their colors are listed in the following chart.
Color
White
Blue
Blue
Blue
Blue
Blue
Tan
Tan
Tan
Tan
White
Green
Letters
Black
White
White
White
White
White
White
White
White
White
Black
White
2-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 2
"
RT3210 Radio Terminal
Main Keypad
The VT220 terminal’s main keypad has standard keys and function keys. Standard keys type letters, numbers, and symbols. Function keys do special operations.
Standard Keys
Table 2-1 describes how to use the radio terminal to type letters, numbers, and symbols.
To Type
a--z
A--Z
0--9
@ (at)
-- (hyphen)
+ (plus)
( (left parenthesis)
$ (dollar)
) (right parenthesis)
# (pound)
* (asterisk)
% (percent)
/ (forward slash)
& (ampersand)
; (semicolon)
, (comma)
: (colon)
? (question mark)
Table 2-1
RT3210 Standard Keys
Press
[A] -- [Z]
[A] -- [Z] or [SFT]+[A] -- [SFT]+[Z]
[0] -- [9] or [SFT]+[0] -- [SFT]+[9]
[ALT]+[A]
[ALT]+[B]
[ALT]+[C]
[ALT]+[D]
[ALT]+[E]
[ALT]+[F]
[ALT]+[G]
[ALT]+[H]
[ALT]+[I]
[ALT]+[J]
[ALT]+[K]
[ALT]+[L]
[ALT]+[M]
[ALT]+[N]
[ALT]+[O]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 2-9
SECTION 2
"
RT3210 Radio Terminal
Table 2-1 (Continued)
RT3210 Standard Keys
To Type
_ (underscore)
{ (left brace)
} (right brace)
’ (single quote)
” (double quote)
\ (backslash)
= (equal)
Press
[ALT]+[P]
[ALT]+[Q]
[ALT]+[R]
[ALT]+[S]
[ALT]+[T]
[ALT]+[U]
[ALT]+[V]
< (less than)
> (greater than)
~ (tilde)
| (vertical bar)
[ALT]+[W]
[ALT]+[X]
[ALT]+[Y]
[ALT]+[Z]
[
(left bracket)
]
(right bracket)
. (period)
[ALT]+[.]
[ALT]+[--]
[.]
‘
--
(hyphen) [--]
!
(exclamation mark) [ALT]+[7]
(grave accent)
^
(circumflex)
[ALT]+[8]
[ALT]+[9]
Special Function Keys
Table 2-2 describes how to use the radio terminal to do special VT220 terminal function operations. Note that the radio terminal does not support key operation COMPOSE
CHARACTER, which creates characters that do not exist as standard keys on the VT220 keyboard.
2-10
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 2
"
RT3210 Radio Terminal
Operation of the delete key depends on how the
KEYBOARD OPTS parameter is set in the radio terminal’s firmware. The key either sends a delete (DEL, hexadecimal
7F) or a backspace (BS, hexadecimal 08). To select backspace mode or delete mode, open the firmware by pressing
[FUNC]+[SPACE]. Then select the following options in this order: SET-UP PARMS (password: CR52401), KEYBOARD
OPTS, DELETE MODE or BACKSPACE MODE.
Table 2-2
RT3210 Special Function Keys
To Do Function Operation Press
Delete
Tab
Return
[ ¬ ]
[CTRL]+[I] or [CTRL]+[®]
[ENTER]
Ctrl
Lock
[CTRL]
Not supported
Shift (uppercase characters) [SFT]
Space bar [SPACE]
Compose character Not supported
Editing Keypad
The VT220 terminal’s editing keypad has editing keys and cursor control keys. Editing keys have functions assigned to them by the application software in use. Refer to your application’s software manual for the programmed values of the editing keys. Arrow keys allow you to move the cursor and page through the radio terminal’s display.
Editing Keys
Table 2-3 describes how to use the radio terminal to do
VT220 terminal editing operations.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 2-11
SECTION 2
"
RT3210 Radio Terminal
Table 2-3
RT3210 Editing Keys
To Do Editing Operation Press
Find [ALT]+[4]
Insert here
Remove
Select
Prev screen
Next screen
[ALT]+[5]
[ALT]+[6]
[ALT]+[1]
[ALT]+[2]
[ALT]+[3]
Cursor Control Key
The blue cursor control key in the upper right corner of the keyboard operates in keyboard function, alternate, unshifted, and control modes. The following pages describe all cursor control key operations.
Windowing Within the VT220 Screen
The cursor control key operates in a local windowing mode when you use the key in combination with [FUNC] or
[ALT]. “Local” means the radio terminal does not send characters to the host computer.
The windowing mode is always enabled. It provides a “window” into the VT220’s screen (Figure 2-2), and allows you to move the radio terminal’s display window by using the four corners of the cursor control key. Each corner of the diamond moves the window in that direction. In this manual, the corners are represented by arrows.
2-12
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 2
"
RT3210 Radio Terminal
INDOW DISPLA
S THE TERMIN
EW ANY PART
L VT220 SCRE
THE WINDOW DISPLAY MODE
ALLOWS THE TERMINAL USER
TO VIEW ANY PART OF THE
ACTUAL VT220 SCREEN AND
TO MOVE ABOUT THE VT220
SCREEN USING THE CURSOR
CONTROL KEY.
RT3210 Radio
Terminal
Figure 2-2
RT3210 Windowing Mode
VT220 Terminal
If you try to move the cursor off the display in any direction, the window shifts one line or column in the direction of the cursor movement. This lets you move the viewing window around within the larger VT220’s screen. The display does not wrap around when the window reaches the top or side boundaries of the larger screen. A beep error tone sounds when you try to move the window beyond one of the boundaries.
Paging Through the Display
Use the cursor control key in combination with [FUNC] to page through the radio terminal’s display. Each corner of the diamond moves the cursor in that direction.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 2-13
SECTION 2
"
RT3210 Radio Terminal
To Move
One page right
One page left
One page up
One page down
Press
[FUNC]+["]
[FUNC]+[A]
[FUNC]+[Y]
[FUNC]+[B]
Scrolling Through the Display
Use the cursor control key in combination with [ALT] to scroll through the radio terminal’s display. Each corner of the diamond moves the cursor in that direction.
To Move
One space right
One space left
One space up
One space down
Press
[ALT]+["]
[ALT]+[A]
[ALT]+[Y]
[ALT]+[B]
Auxiliary Keypad
The VT220 terminal’s auxiliary keypad consists of numeric keys (which enter numeric data) and programmable function (PF) keys. The PF keys have operations assigned to them by the application software in use. Refer to your application’s software manual for the uses of the PF keys.
Press [FUNC] to lock the radio terminal into auxiliary keypad mode. To unlock it, press [FUNC] again. Table 2-4 describes how to use the radio terminal to do VT220 terminal auxiliary operations.
2-14
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 2
"
RT3210 Radio Terminal
Table 2-4
RT3210 Auxiliary Keypad
For Auxiliary Operation
0--9
-- (hyphen)
, (comma)
. (period)
Enter
PF1--PF4
Press
[FUNC]+[0] -- [FUNC]+[9]
[FUNC]+[--]
Not supported
[FUNC]+[.]
[FUNC]+[ENTER]
[FUNC]+[U] -- [FUNC]+[X]
Top-Row Function Keys
Function keys [F1] through [F4] on the radio terminal’s keyboard are reserved for future expansion. On the VT220 terminal’s keyboard, function keys [F1] through [F5] are used for hold screen, print screen, set-up, data/talk, and break. The radio terminal supports only the break function, which is [FUNC]+[E] on the radio terminal’s keyboard.
Function keys [F6] through [F20] are user-defined keys
(UDKs) that have operations assigned to them by the application software in use. Refer to your application’s software manual for their programmed uses.
To Do Function
F5--F20
Table 2-5
RT3210 Top-Row Function Keys
Press
[FUNC]+[E] -- [FUNC]+[T]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 2-15
SECTION 2
"
RT3210 Radio Terminal
Transmission Mode
Use the transmission mode (labeled “mode” on the overlay) to put the radio terminal into line edit (block) mode or character mode. To alternate between modes, press
[FUNC]+[Z]. The modes are described on pages 8-55 and
8-56 in Section 8, “Programming.”
When “lock mode” is disabled through the firmware menus, you can press the mode key to toggle between line edit mode and character mode. When lock mode is enabled, you cannot toggle between line edit (block) mode and character mode. The default setting is “disabled.”
Backlight
" NOTE:
Use the backlight to read the radio terminal’s display in dim light. To turn the light on, press [FUNC]+[Y]. To turn it off, press [FUNC]+[Y] again.
You can use the firmware’s setup menus to set the length of time the backlight stays on before the radio terminal “goes to sleep” to conserve power. Refer to the radio terminal’s user’s guide for more information about backlighting.
The longer the backlight stays on, the sooner the battery will need to be recharged.
2-16
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Section 3
RT1100 Radio Terminal
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
VT220/ANSI Display Emulation
" NOTE:
The RT1100 Radio Terminal’s 128 by 128 pixel liquid crystal displays (LCD) shows radio terminal and VT220 prompts, and information you type. Because the VT220 terminal’s screen is 80 columns by 24 lines, the radio terminal represents a part of the information on the larger VT220 screen.
Radio terminals in the RT1100 Series have UHF, 900 MHz, or 2.4
GHz radio modules.
Host View Size
For VT220 terminal emulation, the host view size is 24 characters high by 80 characters wide.
Screen Size
You can select the number of display lines and characters per line. The options are 12 or 16 characters per line by 4,
6, 8, or 9 lines.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 3-1
SECTION 3
"
RT1100 Radio Terminal
The default is 9 lines and 16 characters. To change the screen size, open the firmware and then select the following options in this order: LCD PARMS, SCREEN SIZE.
Screen Modes
The radio terminal has these screen modes: center cursor, corner, page, lazy, screen lock, screen lock, and locked. The modes present a window onto a standard VT220 terminal’s
80-character by 24-line display buffer. You can set the type of screen mode through the radio terminal’s firmware menus.
The screen modes govern which portion of the larger VT220 terminal’s screen the radio terminal first presents and how the window moves as the cursor moves.
Center Cursor Mode
Center cursor mode works best for applications that use the entire VT220 data stream’s 80-character by 24-line logical display. In this mode, the cursor remains in the center of the radio terminal’s window.
As the cursor moves within the window, the radio terminal’s display window moves to keep it centered. When the cursor moves off the right, left, top, or bottom edge of the VT220 terminal, the window remains fixed despite the cursor’s movement.
Corner Mode
Corner mode begins with the window in the upper left corner of the larger VT220 terminal. It keeps the cursor in the lower right corner of the display. Corner mode works best for applications that use the upper left corner of the logical screen.
3-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 3
"
RT1100 Radio Terminal
As the cursor moves off the right or bottom edge of the radio terminal’s display, the window moves to show the cursor.
When you use corner mode with the gold-colored key, you can move the cursor a predetermined number of key presses in all four directions.
Page Mode
Page mode provides predefined pages within the larger
VT220 terminal. The size of these pages depends on the number of rows and columns selected for display. The radio terminal moves the window by a multiple of the page size.
As the cursor moves off the edge of the radio terminal’s display, the window changes to the next page.
Lazy Mode
Lazy mode starts the cursor in the upper left corner of the display. The cursor moves across the display in the scrolled direction. When the cursor goes beyond the edge of the display, the data begins to move in the scrolled direction and the cursor remains at the edge of the display. When you try to go beyond an outside boundary, an error tone sounds.
Screen Lock Mode
Screen lock mode allows a specified screen size to be set up and locked. Only the commands issued to the selected screen size are operated on. For example, if the host sends characters to the display, and the number of characters to display is greater than the number of columns specified, the last column(s) on the screen are overwritten.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 3-3
SECTION 3
"
RT1100 Radio Terminal
Locked Mode
If locked mode is selected through the firmware menus, the view window is locked to the upper left-hand corner of the display. The screen does not window around, and only the area that has been selected to be the screen size is visible.
Locked mode disables the windowing keys, or only allows you to window around the physical display size selected through the firmware menus.
Display Annunciators
T
X
C
L
Annunciators show the radio terminal’s current status or operation in progress. The following annunciators can appear in the radio terminal’s display.
The radio terminal is transmitting information to the base station.
Communications loss. No communication with the host computer has occurred for at least 60 seconds.
The radio terminal may be out of radio range, the base station may not have power, or communications from the host computer to the base station may not be properly set up.
A
The radio terminal’s keyboard is in black shift
mode. The key you press while the terminal is in this mode does programmable function key operations, or sends the character printed in black on the overlay and to the upper left of the key.
"
The radio terminal’s keyboard is in gold shift mode.
The key you press while the terminal is in this mode sends the character or does the function printed in gold on the overlay and to the upper right of the key.
3-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 3
"
RT1100 Radio Terminal
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 3-5
SECTION 3
"
RT1100 Radio Terminal
Keyboard
The radio terminal has a 47-key keyboard with keys defined to emulate VT220 terminal operation (Figure 3-1). Keys are color-coded according to function to make recognition and key entry easier. The key in the upper left corner of the keyboard turns the radio terminal on. To turn it off, press the key for about 3 seconds.
Following are the remaining keys and their descriptions.
Key(s)
[A]--[Z]
[SP]
[ ¬ ]
Description
Send letters a through z or A through Z, depending on how the shift lock is set.
Sends one space.
Sends a backspace or a delete key, depending on how the firmware is set up.
Places keyboard into black shift mode.
Places keyboard into gold shift mode.
[0]--[9] Send numbers 0 through 9 or SS3 p through SS3 y, depending on how the keypad mode is set.
Places keyboard into keypad mode.
[ENTER] Sends CR, CR LF, or SS3 M, depending on terminal mode settings.
3-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 3
"
RT1100 Radio Terminal
W S W S W S W S
CTRL
Figure 3-1
RT1100 Keyboard
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 3-7
SECTION 3
"
RT1100 Radio Terminal
Overlay
Type the characters and do the operations printed on the overlay when the keyboard is in black shift [BLACK] mode or gold shift [GOLD] mode. On the keyboard (Figure 3-1), note that [BLACK] is to the left and [GOLD] is to the right.
Characters printed on the overlay have the same relative relationship; the character or operation above a key and to the left (black lettering) indicates black shift mode, and the character or operation above a key and to the right (gold lettering) indicates gold shift mode. An annunciator along the right side of the display shows the current mode.
The following chart lists radio terminal keys and their colors.
Key
ON/OFF
[A]--[Z]
[SP]
[ ¬ ]
Color
Light gray
Dark gray
Dark gray
Dark gray
Black
Letters
None
White
White
White
None
Gold None
[0] -- [9]
[ENTER]
Light gray
Brown
Green
Black
None
White
3-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 3
"
RT1100 Radio Terminal
Main Keypad
The VT220 terminal’s main keypad has standard keys and function keys. Standard keys type letters, numbers, and symbols. Function keys do special operations.
Standard Keys
Table 3-1 describes how to use the radio terminal to type letters, numbers, and symbols.
Table 3-1
RT1100 Standard Keys
To Type Press
a--z
A--Z
0--9
@ (at)
-- (hyphen)
[A]--[Z]
[GOLD]+[7]+[A] -- [GOLD]+[7]+[Z]
[0]--[9]
[GOLD]+[A]
[GOLD]+[B]
+ (plus)
( (left parenthesis)
[GOLD]+[C]
[GOLD]+[D]
) (right parenthesis) [GOLD]+[E]
$ (dollar) [GOLD]+[F]
# (pound)
* (asterisk)
% (percent)
/ (forward slash)
[GOLD]+[G]
[GOLD]+[H]
[GOLD]+[I]
[GOLD]+[J]
& (ampersand)
; (semicolon)
, (comma)
: (colon)
? (question mark)
[GOLD]+[K]
[GOLD]+[L]
[GOLD]+[M]
[GOLD]+[N]
[GOLD]+[O]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 3-9
SECTION 3
"
RT1100 Radio Terminal
Table 3-1 (Continued)
RT1100 Standard Keys
To Type Press
_ (underscore)
{ (left brace)
} (right brace)
’ (single quote)
” (double quote)
\ (backslash)
= (equal)
[GOLD]+[P]
[GOLD]+[Q]
[GOLD]+[R]
[GOLD]+[S]
[GOLD]+[T]
[GOLD]+[U]
[GOLD]+[V]
< (less than)
> (greater than)
~ (tilde)
| (vertical bar)
[GOLD]+[W]
[GOLD]+[X]
[GOLD]+[Y]
[GOLD]+[Z]
. (period)
^ (circumflex)
[BLACK]+[U]
[BLACK]+[V]
! (exclamation mark) [BLACK]+[W]
‘ (grave accent)
[ (left bracket)
] (right bracket)
[BLACK]+[X]
[BLACK]+[Z]
[BLACK]+[SP]
Special Function Keys
Table 3-2 describes how to use the radio terminal to do special VT220 terminal function operations. Note that the radio terminal does not support key operation COMPOSE
CHARACTER, which creates characters that do not exist as standard keys on the VT220 keyboard.
Operation of the delete key depends on how the
PROTOCOL OPTS parameter is set in the radio terminal’s firmware. The key either sends a delete (DEL, 7F hexadecimal) or a backspace (BS, 08 hexadecimal).
3-10
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 3
"
RT1100 Radio Terminal
To change from delete mode to backspace mode, open the firmware by pressing [GOLD]+[BLACK]. Then select the following options in this order: SET-UP PARMS (password:
CR52401), PROTOCOL OPTS, VT220, DEL TO BS.
Table 3-2
RT1100 Special Function Keys
To Do Operation
Delete
Press
[BLACK]+[ ¬ ]
Backspace
Tab
Return
Ctrl
[ ¬ ]
[GOLD]+[9]
[ENTER]
[GOLD]+[8]
Lock (sets and clears shift lock) [BLACK]+[GOLD]
Shift (uppercase characters)
Space bar
Compose character
[GOLD]+[7]
[SP]
Not supported
Editing Keypad
The VT220 terminal’s editing keypad has editing keys and cursor control (arrow) keys. Editing keys have functions assigned to them by the application software in use. Refer to your application’s software manual for the uses of the editing keypad keys. The cursor control keys in black shift or gold shift mode allow you to scroll through the radio terminal’s local display memory.
Editing Keys
Table 3-3 describes how to use the radio terminal to do
VT220 terminal editing operations.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 3-11
SECTION 3
"
RT1100 Radio Terminal
Table 3-3
RT1100 Editing Keys
To Do Editing Operation Press
Find [GOLD]+[4]
Insert here
Remove
Select
Prev screen
Next screen
[GOLD]+[5]
[GOLD]+[6]
[GOLD]+[1]
[GOLD]+[2]
[GOLD]+[3]
Cursor Control Keys
The following chart describes how to use the radio terminal to do VT220 terminal cursor control.
To Do Cursor Key Press
-
¯
¬
®
[Y]
[B]
[A]
["]
In addition to sending VT220 cursor control sequences, the arrow keys at the top of the keyboard allow you to move the cursor through the radio terminal’s display. The keys operate in a local windowing mode, which is enabled with the black shift or gold shift key.
This mode provides a “window” into the VT220’s screen and allows you to move the radio terminal’s display window
(Figure 3-2). Each key moves the window in the direction indicated by the arrow.
3-12
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 3
"
RT1100 Radio Terminal
If you try to move the cursor off the display in any direction, the window shifts one or eight lines or columns in the direction of the cursor movement. This lets you move the viewing window around within the larger VT220 terminal screen. The display does not wrap when the window reaches the top or side boundaries of the virtual VT220 screen. A beep tone sounds when you try to move the window beyond a top, bottom, left, or right boundary.
INDOW DISPLA
S THE TERMIN
TO VIEW ANY
E ACTUAL VT2
O MOVE ABOUT
THE WINDOW DISPLAY MODE
ALLOWS THE TERMINAL
USER TO VIEW ANY PART
OF THE ACTUAL VT220 SCREEN
AND TO MOVE ABOUT THE
VT220 SCREEN USING THE
CURSOR CONTROL KEY.
RT1100 Radio
Terminal
Figure 3-2
RT1100 Windowing Mode
VT220 Terminal
Use the arrow keys in combination with [GOLD] and
[BLACK] to move through the radio terminal’s display a single space at a time (indicated by “S” on the overlay) or eight spaces at a time (indicated by “W” on the overlay).
The following chart shows key combinations.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 3-13
SECTION 3
"
RT1100 Radio Terminal
To Move Display
One space right
One space left
One space up
One space down
Eight spaces right
Eight spaces left
Eight spaces up
Eight spaces down
Press
[GOLD]+["]
[GOLD]+[A]
[GOLD]+[Y]
[GOLD]+[B]
[BLACK]+["]
[BLACK]+[A]
[BLACK]+[Y]
[BLACK]+[B]
Auxiliary Keypad
The VT220 terminal’s auxiliary keypad consists of numeric keys (which enter numeric data) and programmable function (PF) keys. The PF keys have operations assigned to them by the application software in use. Refer to your application’s software manual for the programmed uses of the
PF keys.
Table 3-4 describes how to use the radio terminal to do
VT220 terminal auxiliary keypad operations.
Table 3-4
RT1100 Auxiliary Keypad
For Auxiliary Operation
0--9
-- (hyphen)
, (comma)
. (period)
Enter
PF1--PF4
Press
[KEYPAD]+[0] -- [KEYPAD]+[9]
[KEYPAD]+[GOLD]+[B]
[KEYPAD]+[GOLD]+[M]
[KEYPAD]+[BLACK]+[U]
[KEYPAD]+[ENTER]
[BLACK]+[A] -- [BLACK]+[D]
3-14
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 3
"
RT1100 Radio Terminal
Top-Row Function Keys
On the VT220 terminal’s keyboard, function keys [F1] through [F5] are used for hold screen, print screen, set-up, data/talk, and break. The radio terminal supports only the break function, which is [BLACK]+[E] ([F5]) on the radio terminal’s keyboard.
Function keys [F6] through [F20] are user-defined keys
(UDKs) that have operations assigned to them by the application software in use. Refer to your application’s software manual for their uses.
To Do Function
F5--F20
Table 3-5
RT1100 Top-Row Function Keys
Press
[BLACK]+[E] -- [BLACK]+[T]
Control Keys
Table 3-6 lists some control key combinations. On the radio terminal’s keyboard, the control key is [GOLD]+[8].
To Do Action
ESC (escape)
FS (file separator)
GS (group separator)
RS (record separator)
US (unit separator)
DEL (delete)
Table 3-6
RT1100 Control Keys
Press
[GOLD]+[8]+[3]
[GOLD]+[8]+[4]
[GOLD]+[8]+[5]
[GOLD]+[8]+[6]
[GOLD]+[8]+[7]
[GOLD]+[8]+[8]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 3-15
SECTION 3
"
RT1100 Radio Terminal
Transmission Mode
Use the transmission mode (labeled “mode” on the overlay) to put the radio terminal into line edit (block) mode or character mode. To alternate between modes, press
[BLACK]+[Y]. The modes are described on pages 8-55 and
8-56 in Section 8, “Programming.”
When “lock mode” is disabled through the firmware menus, you can press the mode key to toggle between line edit mode and character mode. When lock mode is enabled, you cannot toggle between line edit (block) mode and character mode. The default setting is “disabled.”
Local Edit Mode
If your application software program supports local editing you can use the radio terminal in local edit mode, which is a feature of the VT330/ VT340 terminal. Local edit mode is described on page 8-62 in Section 8.
Backlight
" NOTE:
Use the backlight to read the radio terminal’s display in dim light. To turn the light on, press [GOLD]+[0] (zero). To turn it off, press [GOLD]+[0] again.
You can use the firmware’s setup menus to set the length of time the backlight stays on before the radio terminal’s backlight “goes to sleep” to conserve power. Refer to the radio terminal’s user’s guide for more information about backlighting.
The longer the backlight stays on, the sooner the battery will need to be recharged.
3-16
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Section 4
RT1700 Radio Terminal
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
VT220/ANSI Display Emulation
" NOTE:
The RT1700 Radio Terminal’s liquid crystal display (LCD) shows radio terminal and VT220 prompts, and information you type. Because the VT220 terminal’s screen is 80 columns by 24 lines, the radio terminal represents a part of the information on the larger VT220 screen.
Radio terminals in the RT1700 Series have UHF, 900 MHz, or 2.4
GHz radio modules.
Host View Size
The host view size is 24 characters high by 80 characters wide.
Screen Size
You can select the number of display lines and characters per line. The options are 12, 17, 22, or 26 characters per line by 4, 6, 8, 10, 12, 16, or 21 lines. The default is 22 characters per line by 8 lines.
To change the screen size, open the firmware by pressing
[GOLD]+[BLACK]. Then select the following options in this order: LCD PARMS, SCREEN SIZE.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-1
SECTION 4
"
RT1700 Radio Terminal
Screen Modes
The radio terminal has these screen modes: center cursor, corner, page, lazy, screen lock, and locked. The modes present a window onto a standard VT220 terminal’s 80-character by 24-line display buffer. You can set the type of screen mode through the radio terminal’s firmware menus.
The screen modes govern which portion of the larger VT220 terminal’s screen the radio terminal first presents and how the window moves as the cursor moves.
Center Cursor Mode
Center cursor mode works best for applications that use the entire VT220 data stream’s 80-character by 24-line logical display. In this mode, the cursor remains in the center of the radio terminal’s window.
As the cursor moves within the window, the radio terminal’s display window moves to keep it centered. When the cursor moves off the right, left, top, or bottom edge of the larger
80x24 display, the window remains fixed despite the cursor’s movement.
Corner Mode
Corner mode begins with the window in the upper left corner of the larger VT220 terminal. It keeps the cursor in the lower right corner of the display. Corner mode works best for applications that use the upper left corner of the logical screen.
As the cursor moves off the right or bottom edge of the radio terminal’s display, the window moves to show the cursor.
When you use corner mode with the gold-colored key, you can move the cursor a predetermined number of key presses in all four directions.
4-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 4
"
RT1700 Radio Terminal
Page Mode
Page mode provides predefined pages within the larger
VT220 terminal. The size of these pages depends on the number of rows and columns selected for display. The radio terminal moves the window by a multiple of the page size.
As the cursor moves off the edge of the radio terminal’s display, the window changes to the next page.
Lazy Mode
Lazy mode starts the cursor in the upper left corner of the display. The cursor moves across the display in the scrolled direction. When the cursor goes beyond the edge of the display, the data begins to move in the scrolled direction and the cursor remains at the edge of the display. When you try to move the cursor beyond an outside boundary, an error tone sounds.
Screen Lock Mode
Screen lock mode allows a specified screen size to be set up and locked. Only the commands issued to the selected screen size are operated on. For example, if the host sends characters to the display, and the number of characters to display is greater than the number of columns specified, the last column(s) on the screen are overwritten.
Locked Mode
If locked mode is selected through the firmware menus, the view window is locked to the upper left-hand corner of the display. The screen does not window around, and only the area that has been selected to be the screen size is visible.
Locked mode disables the windowing keys, or only allows you to window around the physical display size selected through the firmware menus.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-3
SECTION 4
"
RT1700 Radio Terminal
Display Annunciators
Annunciators show the radio terminal’s current status or operation in progress. The following annunciators can appear in the radio terminal’s display. Refer to the radio terminal’s user guide for detailed information about the annunciators that can appear for various battery conditions.
T
X
C
L
A
"
Y
+
--
The radio terminal is transmitting information to base station.
Communications loss. No communication with the host computer has occurred for at least 60 seconds.
The radio terminal may be out of radio range, the base station may not have power, or communications from the host computer to the base station may not be properly set up.
The radio terminal’s keyboard is in black shift
mode. The key you press while the terminal is in this mode does programmable function key operations, or sends the character printed in black on the overlay and to the upper left of the key.
The radio terminal’s keyboard is in gold shift mode.
The key you press while the terminal is in this mode sends the character or does the function printed in gold on the overlay and to the upper right of the key.
The radio terminal’s keyboard is in shift mode. The letter key you press while the keyboard is in this mode sends letters in uppercase.
The battery needs to be recharged. When this annunciator appears, you will not be able to operate your radio terminal until you place it on a charger.
4-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 4
"
RT1700 Radio Terminal
C
E
X
K
C
A
N
S
C
B e
The battery is charging.
The radio terminal is connected to a charging source; however, charging is not possible.
The radio terminal is in control mode. The key you press while the terminal is in this mode sends a control character.
Keyboard action mode (KAM) has been set. The radio terminal ignores all keystrokes that send characters to the host. This state stays on until KAM has been reset.
Laser scanner is in use. This annunciator ensures you are aware of the laser scanner and the cautions you must exercise. Read and obey the caution labels on your laser scanner so that you do not injure your eyes.
The radio terminal is in line edit (block) mode. The radio terminal is sending, to the host computer, cumulative data when you press a terminating key.
The radio terminal is in keypad mode.
The radio terminal is in character mode. The radio terminal is sending, to the host computer, each key as you press it.
The radio terminal is in local edit mode, which is a feature of the VT330/VT340 terminal.
Keyboards
The RT1700 Radio Data Terminal has either a 37-key keyboard or standard 57-key keyboard. The 37-key keyboard does not have the primary alphabetic keys found on the standard keyboard.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-5
SECTION 4
"
RT1700 Radio Terminal
" NOTE:
Standard 57-Key Keyboard
The keys on the standard keyboard (Figure 4-1) are colorcoded according to function to make recognition and key entry easier. Press the key in the upper left corner to turn the radio terminal on. To turn it off, press the key for about
3 seconds. Following are the remaining keys and their descriptions.
[
Key(s) Description
[A] -- [Z] Send letters a through z or A through Z, depending on how the shift lock is set.
[SP]
¬ ]
Sends one space.
Sends a backspace or a delete key, depending on how the firmware is set up.
The black key places the keyboard into black shift mode.
[0] -- [9]
The gold key places the keyboard into gold shift mode.
Send numbers 0 through 9 or SS3 p through SS3 y, depending on how the keypad mode is set.
The brown key in the lower left corner places the key- board into keypad mode. Brown keys in the top three rows do function, programmable function, or scanning operations.
[ENTER] Sends CR, CR LF, or SS3 M, depending on terminal mode settings.
[SCAN] The brown scan key enables an integrated scanner to be operated after this key is pressed.
If you press an unlabeled key (such as the key to the left of the brown [F5] key, or a shift key (black, gold, brown) plus a number or letter (such as [BLACK]+[A]), the radio terminal will beep and flush the type ahead buffer.
4-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 4
"
RT1700 Radio Terminal
WS WS SCAN WS WS
ON/OFF
F9 F17
PF1
F10
PF2
F18 F11
PF3
F19 F12
PF4
F20
F13
F5
F14
F6
F15
F7
F16
F8
@
A
F
[
K
_
P
.
\
U
&
I
Z
$
--
+
(
B C D
#
*
%
G H I
;
,
L
]
SP
M N
{ }
Q R S
^ = !
< ‘
>
V W X
’
MENU
:
E
/
J
?
O
T
MODE
Y
~
”
)
7
SHIFT
FIND
4
8
CTRL
5
INSERT
TAB
9
REMOVE
6
1
SELECT PREV SCRN
2
NXT SCRN
3
0
ENTER
RT1700 SERIES
Figure 4-1
RT1700 57-Key Keyboard
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-7
SECTION 4
"
RT1700 Radio Terminal
The following chart lists standard keyboard keys and their colors.
Key
ON/OFF
[A] -- [Z]
[SP]
[ ¬ ]
Color
Light gray
Dark gray
Dark gray
Dark gray
Black
Letters
None
White
White
White
None
[0] -- [9]
[ENTER]
[SCAN]
Gold
Light gray
Brown
Green
Brown
None
Black
None
White
None
37-Key Keyboard
The 37-key keyboard (Figure 4-2) has standard numeric and [ENTER] keys, plus application-defined function keys.
It does not have alphabetic keys in its primary plane.
Because a radio terminal with a 37-key keyboard does not have alphabetic keys in its primary plane, follow these procedures when using its firmware and downloading software:
"
"
"
To access password-protected menus, press [F12] and then [F11], and enter the password. For example, the password for the SET-UP PARMS menu is 52401.
To initiate the COLD START? menu option, press
[F10] to answer “yes.”
To download software, hold down the [F1] key as you power up the radio terminal to go into download mode.
This is similar to holding down the [I] key on the standard 57-key keyboard.
4-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 4
"
RT1700 Radio Terminal
WS WS SCAN WS WS
ON/OFF
{
SHIFT
} Z
.
~
<
,
>
A
F1
@
E
F5
)
I
M
F9
%
_
SP
B
F2
--
C
F3
+
D
F4
(
F
F6
$
G
F7
=
H
F8
*
J
F10
/
K
F11
;
L
F12
:
N ’ MENU
O
7
MODE P
8
CTRL Q
9
TAB
R
4
FIND S
5
INSERT T REMOVE
6
U SELECT
1
V PREV SCRN
2
W NXT SCRN
3
X
#
Y
0
ENTER
RT1700 SERIES
Figure 4-2
RT1700 37-Key Keyboard
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-9
SECTION 4
"
RT1700 Radio Terminal
The keys are color-coded according to function to make recognition and key entry easier. Press the key in the upper left corner to turn the radio terminal on. To turn it off, press the key for 3 seconds. Following are the remaining keys and their descriptions.
[
Key(s) Description
[F1] -- [F12] Perform operations defined by the application.
[SP]
¬ ]
Sends one space.
Sends a backspace or a delete key, depending on how the firmware is set up.
The black key places the keyboard into black shift mode.
[0] -- [9]
[ENTER]
[SCAN]
The gold key places the keyboard into gold shift mode.
Send numbers 0 through 9 or SS3 p through SS3 y, depending on how the keypad mode is set.
The brown key in the lower left corner places the keyboard into keypad mode.
Sends CR, CR LF, or SS3 M, depending on terminal mode settings.
The brown scan key enables an integrated scanner to be operated after this key is pressed.
Overlays
Type the characters and do the operations printed on the overlays when the keyboard is in black shift ([BLACK]) mode or gold shift ([GOLD]) mode.
4-10
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 4
"
RT1700 Radio Terminal
Note that [BLACK] is to the left and [GOLD] is to the right on the keyboards (Figure 4-1 and Figure 4-2). Characters printed on the overlays have the same relative relationship; the character or operation above a key and to the left (black lettering) indicates black shift mode, and the character or operation above a key and to the right (gold lettering) indicates gold shift mode. An annunciator in the display shows the current mode.
Main Keypad
The 57-key and 37-key keyboards have standard keys and function keys. Standard keys type letters, numbers, and symbols. Function keys do special operations.
Standard Keys
Table 4-1 describes how to type letters, numbers, and symbols.
To Type
a--l m n o--q r--t u--w x
Table 4-1
RT1700 Standard Keys
57-Key Keyboard 37-Key Keyboard
A--L [SHIFT]+[F1] --
[SHIFT]+[F12]
M
N
[SHIFT]+[SP]
O--Q
[SHIFT]+[ ¬ ]
[SHIFT]+[7] --
[SHIFT]+[9]
R--T
U--W
X
[SHIFT]+[4] --
[SHIFT]+[6]
[SHIFT]+[1] --
[SHIFT]+[3]
[SHIFT]+
[KEYPAD]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-11
SECTION 4
"
RT1700 Radio Terminal
Table 4-1 (Continued)
RT1700 Standard Keys
To Type
y z
A--L
57-Key Keyboard
Y
Z
[GOLD]+[7]+[A] --
[GOLD]+[7]+[L]
37-Key Keyboard
[SHIFT]+[0]
[SHIFT]+[.]
[BLACK]+[F1] --
[BLACK]+[F12]
M
N
O--Q
R--T
U--W
X
[GOLD]+[7]+[M] [BLACK]+[SP]
[GOLD]+[7]+[N]
[GOLD]+[7]+[O] --
[GOLD]+[7]+[Q]
[BLACK]+[ ¬ ]
[BLACK]+[7] --
[BLACK]+[9]
[GOLD]+[7]+[R] --
[GOLD]+[7]+[T]
[GOLD]+[7]+[U] --
[GOLD]+[7]+[W]
[GOLD]+[7]+[X]
Y
Z
[0] -- [9]
@ (at)
[GOLD]+[7]+[Y]
[GOLD]+[7]+[Z]
[0] -- [9]
[GOLD]+[A]
-- (hyphen)
+ (plus)
[GOLD]+[B]
[GOLD]+[C]
( (left parenthesis) [GOLD]+[D]
) (right parenthesis) [GOLD]+[E]
$ (dollar)
# (pound)
* (asterisk)
[GOLD]+[F]
[GOLD]+[G]
[GOLD]+[H]
% (percent)
/ (forward slash)
[GOLD]+[I]
[GOLD]+[J]
[BLACK]+[4] --
[BLACK]+[6]
[BLACK]+[1] --
[BLACK]+[3]
[BLACK]+
[KEYPAD]
[BLACK]+[0]
[BLACK]+[.]
[0] -- [9]
[GOLD]+[F1]
[GOLD]+[F2]
[GOLD]+[F3]
[GOLD]+[F4]
[GOLD]+[F5]
[GOLD]+[F6]
[GOLD]+[KEYPAD]
[GOLD]+[F8]
[GOLD]+[F9]
[GOLD]+[F10]
4-12
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 4
"
RT1700 Radio Terminal
Table 4-1 (Continued)
RT1700 Standard Keys
To Type
& (ampersand)
; (semicolon)
, (comma)
: (colon)
? (question mark)
_ (underscore)
{ (left brace)
’ (single quote)
57-Key Keyboard
[GOLD]+[K]
[GOLD]+[L]
[GOLD]+[M]
[GOLD]+[N]
[GOLD]+[O]
[GOLD]+[P]
[GOLD]+[Q]
[GOLD]+[S]
” (double quote)
\ (backslash)
= (equal)
< (less than)
> (greater than)
~ (tilde)
| (vertical bar)
. (period)
[GOLD]+[T]
[GOLD]+[U]
[GOLD]+[V]
[GOLD]+[W]
[GOLD]+[X]
[GOLD]+[Y]
[GOLD]+[Z]
[BLACK]+[U]
^ (circumflex) [BLACK]+[V]
! (exclamation mark) [BLACK]+[W]
‘ (grave accent)
[ (left bracket)
] (right bracket)
[BLACK]+[X]
[BLACK]+[Z]
[BLACK]+[SP]
37-Key Keyboard
Not applicable
[GOLD]+[F11]
[,]
[GOLD]+[F12]
Not applicable
[GOLD]+[SP]
[BLACK]+[SHIFT]
[GOLD]+[ ¬ ]
Not applicable
Not applicable
[GOLD]+[F7]
[BLACK]+[,]
[GOLD]+[,]
[GOLD]+[.]
Not applicable
[.]
Not applicable
Not applicable
Not applicable
Not applicable
Not applicable
Table 4-2 describes how to use the keyboards to do special
VT220 terminal function operations. Note that the keyboards do not support key operation COMPOSE
CHARACTER, which creates characters that do not exist as standard keys on the VT220 keyboard.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-13
SECTION 4
"
RT1700 Radio Terminal
Operation of the delete key depends on how the
PROTOCOL OPTS parameter is set in the radio terminal’s firmware. The key either sends a delete (DEL, 7F hexadecimal) or a backspace (BS, 08 hexadecimal).
To change from delete mode to backspace mode on the
57-key keyboard, open the firmware by pressing
[GOLD]+[BLACK]. Select the following options in this order: SET-UP PARMS (password: CR52401), PROTOCOL
OPTS, VT220, DEL TO BS.
To change from delete mode to backspace mode on the
37-key keyboard, open the firmware by pressing
[GOLD]+[BLACK]. Select the following options in this order: SET-UP PARMS (press [F12] and then [F11], and then enter password 52401 to access the menu), PROTO-
COL OPTS, VT220, DEL TO BS.
Table 4-2
RT1700 Special Function Keys
To Do Operation
57-Key
Delete
[BLACK]+[ ¬ ]
Delete or Backspace
[ ¬ ]
Tab [GOLD]+[9]
Return
Ctrl
Shift
Lock (sets and clears
SHIFT LOCK mode)
37-Key
Not applicable
[ ¬ ]
[GOLD]+[9]
[ENTER]
[GOLD]+[8]
[ENTER]
[GOLD]+[8]
[GOLD]+[7] [SHIFT]
[BLACK]+[GOLD] [BLACK]+[GOLD]
(lowercase letters)
Space bar [SP]
Compose character Not supported
[SP]
Not supported
4-14
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 4
"
RT1700 Radio Terminal
Editing Keypad
The VT220 terminal’s editing keypad has editing keys and cursor control (arrow) keys. Editing keys have functions assigned to them by the application software in use. Refer to your application’s software manual for the uses of the editing keypad keys. The cursor control keys in black shift or gold shift mode allow you to scroll through the radio terminal’s local display memory.
Editing Keys
Table 4-3 describes how to do VT220 terminal editing operations on the 57-key and 37-key keyboards.
Table 4-3
RT1700 Editing Keys
To Do Editing Operation Press
Find [GOLD]+[4]
Insert here
Remove
[GOLD]+[5]
[GOLD]+[6]
Select
Prev screen
Next screen
[GOLD]+[1]
[GOLD]+[2]
[GOLD]+[3]
Cursor Control Keys
The following chart describes how to do VT220 terminal cursor control operations on the 57-key and 37-key keyboards.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-15
SECTION 4
"
RT1700 Radio Terminal
To Do Cursor Key Press
-
[Y]
¯
¬
®
[B]
[A]
["]
In addition to sending VT220 cursor control sequences, the arrow keys at the tops of the keyboards allow you to move the cursor through the radio terminal’s display. The keys operate in a local windowing mode, which is enabled with the black shift or gold shift key. This mode provides a “window” into the VT220’s screen and allows you to move the radio terminal’s display window (Figure 4-3). Each key moves the window in the direction indicated by the arrow.
INDOW DISPLA
S THE TERMIN
TO VIEW ANY
E ACTUAL VT2
O MOVE ABOUT
THE WINDOW DISPLAY MODE
ALLOWS THE TERMINAL
USER TO VIEW ANY PART
OF THE ACTUAL VT220 SCREEN
AND TO MOVE ABOUT THE
VT220 SCREEN USING THE
CURSOR CONTROL KEY.
RT1700 Radio
Terminal
Figure 4-3
RT1700 Windowing Mode
VT220 Terminal
4-16
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 4
"
RT1700 Radio Terminal
If you try to move the cursor off the display in any direction, the window shifts one or eight lines or columns in the direction of the cursor movement. This lets you move the viewing window around within the larger VT220 terminal screen. The display does not wrap when the window reaches the top or side boundaries of the virtual VT220 screen. A beep tone sounds when you try to move the window beyond a top, bottom, left, or right boundary.
Use the arrow keys in combination with [GOLD] and
[BLACK] to move through the radio terminal’s display a single space at a time (indicated by “S” on the overlay) or eight spaces at a time (indicated by “W” on the overlay).
The following chart shows key movements.
To Move Display
One space right
One space left
One space up
One space down
Eight spaces right
Eight spaces left
Eight spaces up
Eight spaces down
Press
[GOLD]+["]
[GOLD]+[A]
[GOLD]+[Y]
[GOLD]+[B]
[BLACK]+["]
[BLACK]+[A]
[BLACK]+[Y]
[BLACK]+[B]
Auxiliary Keypad
The VT220 terminal’s auxiliary keypad consists of numeric keys (which enter numeric data) and programmable function (PF) keys. The PF keys have operations assigned to them by the application software in use. Refer to your application’s software manual for the programmed uses of the
PF keys.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-17
SECTION 4
"
RT1700 Radio Terminal
Table 4-4 describes how to use the radio terminal to do
VT220 terminal auxiliary keypad operations.
Table 4-4
RT1700 Auxiliary Keypad
For Auxiliary
Operation
0--9
-- (hyphen)
, (comma)
. (period)
Enter
PF1--PF4
57-Key Keyboard
[KEYPAD]+[0] --
[KEYPAD]+[9]
[KEYPAD]+[GOLD]+[B]
[KEYPAD]+[GOLD]+[M]
[KEYPAD]+[BLACK]+[U]
[KEYPAD]+[ENTER]
[PF1] -- [PF4]
37-Key Keyboard
[KEYPAD]+[0] --
[KEYPAD]+[9]
[KEYPAD]+[GOLD]+[F2]
[KEYPAD]+[,]
[KEYPAD]+[.]
[KEYPAD]+[ENTER]
[F1] -- [F4]
Top-Row Function Keys
On the VT220 terminal’s keyboard, function keys [F1] through [F5] are used for hold screen, print screen, set-up, data/talk, and break. The radio terminal supports only the break function, which is [F5] on the radio terminal’s keyboard. Table 4-5 shows how to perform function operations.
Function keys [F6] through [F20] are user-defined keys
(UDKs) that have operations assigned to them by the application software in use. Refer to your application’s software manual for their uses.
4-18
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 4
"
RT1700 Radio Terminal
To Do
Function
F5--F8
F9--F12
F13--F16
F17--F20
Table 4-5
RT1700 Top-Row Function Keys
57-Key Keyboard 37-Key Keyboard
[F5] -- [F8] [F5] -- [F8]
[BLACK]+[PF1] --
[BLACK]+[PF4]
[F9] -- [F12]
[BLACK]+[F5] --
[BLACK]+[F8]
[GOLD]+[PF1] --
[GOLD]+[PF4]
Not applicable
Not applicable
Control Keys
Both keyboards have control key combinations.
57-Key Keyboard
Table 4-6 lists some combinations on the 57-key keyboard.
The control key is [GOLD]+[8].
Table 4-6
RT1700 Control Keys (57-Key Keyboard)
To Do Action
ESC (escape)
FS (file separator)
GS (group separator)
RS (record separator)
US (unit separator)
DEL (delete)
Press
[GOLD]+[8]+[3]
[GOLD]+[8]+[4]
[GOLD]+[8]+[5]
[GOLD]+[8]+[6]
[GOLD]+[8]+[7]
[GOLD]+[8]+[8]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-19
SECTION 4
"
RT1700 Radio Terminal
37-Key Keyboard
You can use the control keys on the 37-key keyboard only when the keyboard is in SHIFT LOCK mode. To put the keyboard into SHIFT LOCK mode, press [BLACK]+
[GOLD]. Then press the key sequences listed in Table 4-7.
Table 4-7
RT1700 Control Keys (37-Key Keyboard)
To Do Action
CTRL A -- CTRL L
CTRL M
CTRL N
CTRL O -- CTRL Q
CTRL R -- CTRL T
CTRL U -- CTRL W
CTRL X
CTRL Y
CTRL Z
Press
[GOLD]+[8]+[F1] -- [GOLD]+[8]+[F12]
[GOLD]+[8]+[SP]
[GOLD]+[8]+[ ¬ ]
[GOLD]+[8]+[7] -- [GOLD]+[8]+[9]
[GOLD]+[8]+[4] -- [GOLD]+[8]+[6]
[GOLD]+[8]+[1] -- [GOLD]+[8]+[3]
[GOLD]+[8]+[KEYPAD]
[GOLD]+[8]+[0]
[GOLD]+[8]+[.]
Transmission Mode
Use the transmission mode (labeled “mode” on the overlay) to put the radio terminal into line edit (block) mode or character mode. To alternate between modes, press the following keys:
[GOLD]+[7] on the 37-key keyboard
[BLACK]+[Y] on the 57-key keyboard
The modes are described on pages 8-55 and 8-56 in Section
8, “Programming.”
4-20
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 4
"
RT1700 Radio Terminal
When “lock mode” is disabled through the firmware menus, you can press the mode key to toggle between line edit mode and character mode. When lock mode is enabled, you cannot toggle between line edit (block) mode and character mode. The default setting is “disabled.”
Local Edit Mode
If your application software program supports local editing you can use the radio terminal in local edit mode, which is a feature of the VT330/VT340 terminal. Local edit mode is described on page 8-62 in Section 8.
Backlight
" NOTE:
Use the backlight to read the radio terminal’s display in dim light. To turn the light on, press [GOLD]+[0] (zero) on the 57-key and 37-key keyboards. To turn it off, press
[GOLD]+[0] again.
You can use the firmware’s setup menus to set the length of time the backlight stays on before the radio terminal’s backlight “goes to sleep” to conserve power. Refer to the radio terminal’s user’s guide for more information about backlighting.
The longer the backlight stays on, the sooner the battery will need to be recharged.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 4-21
SECTION 4
"
RT1700 Radio Terminal
4-22
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Section 5
RT5900 Radio Terminal
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
VT220/ANSI Display Emulation
" NOTE:
The RT5900 Mobile Mount Radio Terminal’s display shows radio terminal and VT220 prompts, and information you type. Because the VT220 terminal’s screen is 80 columns by 24 lines, the radio terminal represents a part of the information on the larger VT220 screen.
RT5900 Series radio terminals have UHF, 900 MHz, or 2.4 GHz radios.
Host View Size
The host view size is 24 characters high by 80 characters wide.
Screen Size
You can select the number of display lines and characters per line. The options are 40, 60, or 80 characters per line by 8, 10, 12, 16, 21, or 25 lines. The default is 12 lines and
40 characters. To change the screen size, open the firmware and then select the following options in this order: LCD
PARMS, SCREEN SIZE.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 5-1
SECTION 5
"
RT5900 Radio Terminal
Screen Modes
The radio terminal has these screen modes: center cursor, corner, page, lazy, screen lock, and locked. The modes present a window onto a standard VT220 terminal’s 80-character by 24-line display buffer. You can set the type of mode through the radio terminal’s firmware menus.
The screen modes govern which portion of the larger VT220 terminal’s screen the radio terminal first presents and how the window moves as the cursor moves.
Center Cursor Mode
Center cursor mode works best for applications that use the entire VT220 data stream’s 80-character by 24-line logical display. In this mode, the cursor remains in the center of the radio terminal’s window.
As the cursor moves within the window, the radio terminal’s display window moves to keep it centered. When the cursor moves off the right, left, top, or bottom edge of the VT220 terminal, the window remains fixed despite the cursor’s movement.
Corner Mode
Corner mode begins with the window in the upper left corner of the larger VT220 terminal. It keeps the cursor in the lower right corner of the display. Corner mode works best for applications that use the upper left corner of the logical screen.
As the cursor moves off the right or bottom edge of the radio terminal’s display, the window moves to show the cursor.
When you use corner mode with the brown-colored key, you can move the cursor a predetermined number of key presses in all four directions.
5-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 5
"
RT5900 Radio Terminal
Page Mode
Page mode provides predefined pages within the larger
VT220 terminal. The size of these pages depends on the number of rows and columns selected for display. The radio terminal moves the window by a multiple of the page size.
As the cursor moves off the edge of the radio terminal’s display, the window changes to the next page.
Lazy Mode
Lazy mode starts the cursor in the upper left corner of the display. The cursor moves across the display in the scrolled direction. When the cursor goes beyond the edge of the display, the data begins to move in the scrolled direction and the cursor remains at the edge of the display. When you try to go beyond an outside boundary, an error tone sounds.
Screen Lock Mode
Screen lock mode allows a specified screen size to be set up and locked. Only the commands issued to the selected screen size are operated on. For example, if the host sends characters to the display, and the number of characters to display is greater than the number of columns specified, the last column(s) on the screen are overwritten.
Locked Mode
If locked mode is selected through the firmware menus, the view window is locked to the upper left-hand corner of the display. The screen does not window around, and only the area that has been selected to be the screen size is visible.
Locked mode disables the windowing keys, or only allows you to window around the physical display size selected through the firmware menus.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 5-3
SECTION 5
"
RT5900 Radio Terminal
Display Annunciators
Annunciators show the radio terminal’s current status or operation in progress. The following annunciators can appear.
C
L
A
Y
"
C
The radio terminal is transmitting information to the base station.
Communications loss. No communication with the host computer has occurred for at least 60 seconds.
The radio terminal may be out of radio range, the base station may not have power, or communications from the host computer to the base station may not be properly set up.
The radio terminal’s keyboard is in brown shift
mode. The key you press while the terminal is in this mode does the operation or types the character printed in brown on the overlay and to the upper left of the key.
The radio terminal’s keyboard is in gold shift mode.
The key you press while the terminal is in this mode does the function printed in gold on the overlay and to the upper right of the key.
The radio terminal’s keyboard is in shift mode. The letter key you press while the keyboard is in this mode types letters in uppercase.
The battery is charging.
5-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 5
"
RT5900 Radio Terminal
K
C
B e
X
A
N
S
C
+
--
Keyboard action mode (KAM) has been set. The radio terminal ignores all keystrokes that send characters to the host. This state stays on until KAM has been reset.
Laser scanner is in use. This annunciator ensures you are aware of the laser scanner and the cautions you must exercise. Read and obey the caution labels on your laser scanner so that you do not injure your eyes.
The radio terminal is in line edit (block) mode. The radio terminal is sending, to the host computer, cumulative data when you press a terminating key.
The radio terminal is in keypad mode.
The radio terminal is in character mode. The radio terminal is sending, to the host computer, each key as you press it.
The radio terminal is in local edit mode, which is a feature of the VT330/VT340 terminal.
The battery needs to be recharged. When this annunciator appears, you will not be able to operate your radio terminal until you place it on a charger.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 5-5
SECTION 5
"
RT5900 Radio Terminal
Keyboard
The radio terminal has a 47-key keyboard with keys defined to emulate VT220 terminal operation (Figure 5-1). Keys are color-coded according to function to make recognition and key entry easier. The key in the upper left corner of the keyboard turns the radio terminal on and off. To turn the radio terminal off, press the key for about 3 seconds.
Following are the remaining keys and their descriptions.
[
Key(s)
[A] -- [Z]
[.]
[--]
[SPACE]
[TAB]
[KEYPD]
[SHIFT]
[0] -- [9]
[ENTER]
¬
]
Description
Send letters a through z or A through Z, depending on how the shift lock is set.
Sends a period.
Sends a hyphen.
Sends one space.
Tabs to next column.
Places keyboard into keypad mode.
Places keyboard into shift mode.
Send numbers 0 through 9 or SS3 p through SS3 y, depending on how the keypad mode is set.
Sends CR, CR LF, or SS3 M, depending on terminal mode settings.
Sends a backspace or a delete key, depending on how the firmware is set up.
Places keyboard into brown shift mode.
Places keyboard into gold shift mode.
5-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 5
"
RT5900 Radio Terminal
C T R L
A L T
T A B K E Y P A D S H I F T
P F 4
P F 3
P F 2
P F 1
Figure 5-1
RT5900 Keyboard
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 5-7
SECTION 5
"
RT5900 Radio Terminal
Overlay
Type the characters and do the operations printed in brown on the overlay when the keyboard is in brown shift
[BROWN] mode. Do the operations printed in gold on the overlay when the keyboard is in gold shift [GOLD] mode.
Figure 5-1 shows that [BROWN] is to the left and [GOLD] is to the right. Characters printed on the overlay have the same relative relationship; the character or operation above a key and to the left indicates brown shift mode, and the operation above a key and to the right indicates gold shift mode. An annunciator along the right side of the display shows the current mode.
You can also use the cursor control key in the upper right corner of the keyboard in combination with the brown and gold shift modes for local windowing.
The following chart lists radio terminal keys, and their colors.
Key
[PF1] -- [PF8]
[A] -- [Z]
[.]
[--]
[TAB]
[KEYPD]
[SHIFT]
[ ¬ ]
[SPACE]
[0] -- [9]
[ENTER]
Color
Blue
Dark gray
Dark gray
Dark gray
Blue
Blue
Blue
Blue
Light gray
Light gray
Green
Brown
Letters
White
Black
Black
Black
None
None
None
White
Black
Black
White
None
Gold None
5-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 5
"
RT5900 Radio Terminal
Main Keypad
The VT220 terminal’s main keypad has standard keys and function keys. Standard keys type letters, numbers, and symbols. Function keys do special operations.
Standard Keys
Table 5-1 describes how to use the radio terminal to type letters, numbers, and symbols.
Table 5-1
RT5900 Standard Keys
To Type
a--z
A--Z
0--9
Press
[A] -- [Z]
[A] -- [Z] or [SHIFT]+[A] -- [SHIFT]+[Z]
[0] -- [9] or [SHIFT]+[0] -- [SHIFT]+[9]
@ (at)
-- (hyphen)
[BROWN]+[A]
[BROWN]+[B]
+ (plus) [BROWN]+[C]
( (left parenthesis) [BROWN]+[D]
$ (dollar) [BROWN]+[E]
) (right parenthesis) [BROWN]+[F]
# (pound)
* (asterisk)
[BROWN]+[G]
[BROWN]+[H]
% (percent)
/ (forward slash)
& (ampersand)
[BROWN]+[I]
[BROWN]+[J]
[BROWN]+[K]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 5-9
SECTION 5
"
RT5900 Radio Terminal
Table 5-1 (Continued)
RT5900 Standard Keys
To Type
; (semicolon)
, (comma)
: (colon)
? (question mark)
_ (underscore)
{ (left brace)
} (right brace)
’ (single quote)
Press
[BROWN]+[L]
[BROWN]+[M]
[BROWN]+[N]
[BROWN]+[O]
[BROWN]+[P]
[BROWN]+[Q]
[BROWN]+[R]
[BROWN]+[S]
” (double quote)
\ (backslash)
= (equal)
< (less than)
> (greater than)
~ (tilde)
| (vertical bar)
[ (left bracket)
[BROWN]+[T]
[BROWN]+[U]
[BROWN]+[V]
[BROWN]+[W]
[BROWN]+[X]
[BROWN]+[Y]
[BROWN]+[Z]
[BROWN+[.]
] (right bracket)
. (period)
[BROWN]+[--]
[.]
-- (hyphen) [--]
! (exclamation mark) [BROWN]+[1]
‘ (grave accent)
^ (circumflex)
[BROWN]+[2]
[BROWN]+[3]
5-10
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 5
"
RT5900 Radio Terminal
Special Function Keys
Table 5-2 describes how to use the radio terminal to do special VT220 terminal function operations. Note that the radio terminal does not support key operation COMPOSE
CHARACTER, which creates characters that do not exist as standard keys on the VT220 keyboard.
Operation of the delete key depends on how the PROTO-
COL OPTS parameter is set in the radio terminal’s firmware. The key either sends a delete (DEL, 7F hexadecimal) or a backspace (BS, 08 hexadecimal).
To change from delete mode to backspace mode, open the firmware by pressing [BROWN]+[SPACE]. Then select the following options in this order: SET-UP PARMS (password:
CR52401), PROTOCOL OPTS, VT220, DEL TO BS.
Table 5-2
RT5900 Special Function Keys
To Do Operation
Delete
Tab
Return
Ctrl
Lock
Press
[ ¬ ]
[TAB]
[ENTER]
[GOLD]
Not supported
Shift (uppercase characters) [SHIFT]
Space bar
Compose character
[SPACE]
Not supported
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 5-11
SECTION 5
"
RT5900 Radio Terminal
Editing Keypad
The VT220 terminal’s editing keypad has editing keys and cursor control keys. Editing keys have functions assigned to them by the application software in use. Refer to your application’s software manual for the uses of the editing keys. You can use the arrow keys to move the cursor and page through the radio terminal’s display.
Editing Keys
Table 5-3 describes how to use the radio terminal to do
VT220 terminal editing operations.
Table 5-3
RT5900 Editing Keys
To Do Editing Operation Press
Find [BROWN]+[4]
Insert here
Remove
[BROWN]+[5]
[BROWN]+[6]
Select
Prev screen
Next screen
[BROWN]+[1]
[BROWN]+[2]
[BROWN]+[3]
Cursor Control Key
The blue cursor control key in the upper right corner of the keyboard allows you to move the cursor and page through the radio terminal’s display. The keys operate in a local windowing mode, which is always enabled. The mode provides a “window” into the VT220’s screen and allows you to move the radio terminal’s display window (Figure 5-2).
Each key moves the window in the direction indicated by the arrow.
5-12
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 5
"
RT5900 Radio Terminal
INDOW DISPLA
S THE TERMIN
EW ANY PART
L VT220 SCRE
THE WINDOW DISPLAY MODE
ALLOWS THE TERMINAL USER
TO VIEW ANY PART OF THE
ACTUAL VT220 SCREEN AND
TO MOVE ABOUT THE VT220
SCREEN USING THE CURSOR
CONTROL KEY.
RT5900 Radio
Terminal
Figure 5-2
RT5900 Windowing Mode
VT220 Terminal
If you try to move the cursor off the display in any direction, the window shifts one or eight lines or columns in the direction of the cursor movement. This lets you move the viewing window around within the larger VT220’s screen. The display does not wrap around when the window reaches the top or side boundaries of the virtual VT220 screen. A beep error tone sounds when you try to move the window beyond the top, bottom, left, or right boundary.
The following chart shows how to use the arrow keys in combination with [GOLD] and [BROWN] to move through the radio terminal’s display.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 5-13
SECTION 5
"
RT5900 Radio Terminal
To Move Display
One space right
One space left
One line up
One line down
Eight spaces right
Eight spaces left
Eight lines up
Eight lines down
Press
[BROWN]+["]
[BROWN]+[A]
[BROWN]+[Y]
[BROWN]+[B]
[GOLD]+["]
[GOLD]+[A]
[GOLD]+[Y]
[GOLD]+[B]
Auxiliary Keypad
The VT220 terminal’s auxiliary keypad consists of numeric keys (which enter numeric data) and programmable function (PF) keys. The PF keys have operations assigned to them by the application software in use. Refer to your application’s software manual for the uses of the PF keys.
Table 5-4 describes how to use the radio terminal to do
VT220 terminal auxiliary keypad operations.
Table 5-4
RT5900 Auxiliary Keypad
For Auxiliary Operation
0--9
-- (hyphen)
, (comma)
. (period)
Enter
PF1--PF4
Press
[KEYPD]+[0] -- [KEYPD]+[9]
[KEYPD]+[--]
[KEYPD]+[M]
[KEYPD]+[.]
[KEYPD]+[ENTER]
[F1] -- [F4]
5-14
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 5
"
RT5900 Radio Terminal
Top-Row Function Keys
On the VT220 terminal’s keyboard, function keys [F1] through [F5] are used for hold screen, print screen, set-up, data/talk, and break. The radio terminal supports only the break function, which is [F5] on the radio terminal’s keyboard.
Function keys [F6] through [F20] are user-defined keys
(UDKs) that have operations assigned to them by the application software in use. Refer to your application’s software manual for their programmed uses.
Table 5-5 shows how to perform function operations.
Table 5-5
RT5900 Top-Row Function Keys
To Do Function
F5--F8
F9--F16
F17--F20
Press
[F5] -- [F8]
[BROWN]+[F1] -- [BROWN]+[F8]
[GOLD]+[F1] -- [GOLD]+[F4]
Control Keys
Table 5-6 lists some control key combinations. On the radio terminal’s keyboard, the control key is [CTRL].
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 5-15
SECTION 5
"
RT5900 Radio Terminal
Table 5-6
RT5900 Control Key Combinations
To Do Action
0 (zero)
ESC (escape)
FS (file separator)
GS (group separator)
RS (record separator)
US (unit separator)
DEL (delete)
Press
[CTRL]+[2]
[CTRL]+[3]
[CTRL]+[4]
[CTRL]+[5]
[CTRL]+[6]
[CTRL]+[7]
[CTRL]+[8]
Transmission Mode
Use the transmission mode (labeled “mode” on the overlay) to put the radio terminal into line edit (block) mode or character mode. To alternate between modes, press
[GOLD]+[F5]. The modes are described on pages 8-55 and
8-56 in Section 8, “Programming.”
When “lock mode” is disabled through the firmware menus, you can press the mode key to toggle between line edit mode and character mode. When lock mode is enabled, you cannot toggle between line edit (block) mode and character mode. The default setting is “disabled.”
Local Edit Mode
If your application software program supports local editing you can use the radio terminal in local edit mode, which is a feature of the VT330/VT340 terminal. Local edit mode is described on page 8-62 in Section 8.
5-16
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Section 6
PEN*KEY
R
6400 Computer
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
VT220/ANSI Display Emulation
The PEN*KEY 6400 Computer’s liquid crystal display
(LCD) shows PEN*KEY computer and VT220 prompts, and information you type. Because the VT220 terminal’s screen is 80 columns by 24 lines, the PEN*KEY computer represents a part of the information on the larger VT220 screen.
Screen Size
You can select the number of display lines and characters per line. The options are 3, 6, 9, or 18 lines by 10, 13, 16,
20, 26, or 32 characters per line. To set the screen size open the firmware and select the following options in this order:
LCD PARMS, SCREEN SIZE.
Screen Modes
The PEN*KEY computer has these screen modes: center cursor, corner, page, lazy, screen lock, and locked. The modes present a window onto a standard VT220 terminal’s
80-character by 24-line display buffer. You can set the type of screen mode through the PEN*KEY computer’s firmware menus.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-1
SECTION 6
"
PEN*KEY 6400 Computer
The screen modes govern which portion of the larger VT220 terminal’s screen the PEN*KEY computer first presents and how the window moves as the cursor moves.
Center Cursor Mode
Center cursor mode works best for applications that use the entire VT220 data stream’s 80-character by 24-line logical display. In this mode, the cursor remains in the center of the PEN*KEY computer’s window.
As the cursor moves within the window, the PEN*KEY computer’s display window moves to keep it centered. When the cursor moves off the right, left, top, or bottom edge of the larger 80x24 display, the window remains fixed despite the cursor’s movement.
Corner Mode
Corner mode begins with the window in the upper left corner of the larger VT220 terminal. It keeps the cursor in the lower right corner of the display. Corner mode works best for applications that use the upper left corner of the logical screen.
As the cursor moves off the right or bottom edge of the
PEN*KEY computer’s display, the window moves to show the cursor. When you use corner mode with the gold-colored key, you can move the cursor a predetermined number of key presses in all four directions.
Page Mode
Page mode provides predefined pages within the larger
VT220 terminal. The size of these pages depends on the number of rows and columns selected for display.
6-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
The PEN*KEY computer moves the window by a multiple of the page size. As the cursor moves off the edge of the
PEN*KEY computer’s display, the window changes to the next page.
Lazy Mode
Lazy mode starts the cursor in the upper left corner of the display. The cursor moves across the display in the scrolled direction. When the cursor goes beyond the edge of the display, the data begins to move in the scrolled direction and the cursor remains at the edge of the display. When you try to move the cursor beyond an outside boundary, an error tone sounds.
Screen Lock Mode
Screen lock mode allows a specified screen size to be set up and locked. Only the commands issued to the selected screen size are operated on. For example, if the host sends characters to the display, and the number of characters to display is greater than the number of columns specified, the last column(s) on the screen are overwritten.
Locked Mode
If locked mode is selected through the firmware menus, the view window is locked to the upper left-hand corner of the display. The screen does not window around, and only the area that has been selected to be the screen size is visible.
Locked mode disables the windowing keys, or only allows you to window around the physical display size selected through the firmware menus.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-3
SECTION 6
"
PEN*KEY 6400 Computer
Display Annunciators
Annunciators show the PEN*KEY computer’s current status or operation in progress. The following annunciators can appear in the computer’s display.
K
X
The PEN*KEY computer is in green shift mode.
The key you press while the computer is in this mode does the function or operation printed in green on the overlay.
The PEN*KEY computer is in gold shift mode. The key you press while the computer is in this mode sends the character or does the operation printed in gold on the overlay.
The PEN*KEY computer is in blue shift mode. The key you press while the computer is in this mode sends the character or does the operation printed in blue on the overlay.
The PEN*KEY computer is in keypad mode.
Keyboard action mode (KAM) has been set. The
PEN*KEY computer ignores all keystrokes that send characters to the host. This state stays on until KAM has been reset.
Battery capacity. These symbols show the amount of power left in the main battery pack. When all four symbols appear, the battery has more than 75 percent of full capacity. As the battery power decreases to between 50--75 percent capacity, the number of battery icons decreases to three. When the battery pack has between 25--50 percent capacity, two symbols appear. And when the battery pack has less than 25 percent capacity, one symbol appears.
6-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
B
C e
The PEN*KEY computer is in line edit (block)
mode. The computer is sending, to the host computer, cumulative data when you press a terminating key.
The PEN*KEY computer is in character mode. The computer is sending, to the host computer, each key as you press it.
The PEN*KEY computer is in local edit mode, which is a feature of the VT330/VT340 terminal.
Keyboards
The PEN*KEY 6400 Computer has either a 41-key keyboard or a standard 51-key keyboard.
51-Key Keyboard
The keys on the 51-key keyboard (Figure 6-1) are colorcoded according to function to make recognition and key entry easier.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-5
SECTION 6
"
PEN*KEY 6400 Computer
Figure 6-1
PEN*KEY 6400 51-Key Keyboard
6-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
Following are the keys and their descriptions.
Key(s)
[SCAN]
[ENT]
[.]
[--]
[0] -- [9]
Description
The scan key enables an integrated scanner to be operated when this key is pressed.
The two enter keys send CR, CR LF, or SS3 M, depending on PEN*KEY computer mode settings.
Types a period.
Types a hyphen.
Send numbers 0 through 9 or SS3 p through SS3 y, depending on how the keypad mode is set.
[ ¬ ]
[SHFT]
Sends a backspace or a delete key, depending on how the firmware is set up.
Places the keyboard into green shift mode.
[A] -- [Z] Send letters a through z or A through Z, depending on how the shift lock is set.
I/O
Suspends and resumes operation.
Four unlabeled keys are in the bottom row of the 51-key keyboard. Following are the keys’ functions when they are unshifted (in the primary plane):
"
"
"
"
The white key with “CTRL” printed above it is the
Control key ([CTRL]) which, in combination with other keys, does control functions.
The white key with “SP” printed above it is the Space key ([SP)], which types one space.
The blue key ([BLUE]) places the keyboard into blue shift mode.
The gold key ([GOLD]) places the keyboard into gold shift mode.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-7
SECTION 6
"
PEN*KEY 6400 Computer
Key
[SCAN]
[ENT]
[.]
[--]
[0] -- [9]
[ ¬ ]
[SHFT]
[A] -- [Z]
I/O
The following chart lists keys and their colors.
Color
White
Green
White
White
White
White
Green
White
White
Letters
Black
Black
Black
Black
Black
Black
Black
Black
Black
41-Key Keyboard
The PEN*KEY 6400 Computer’s 41-key keyboard
(Figure 6-2) has standard numeric and [ENT] keys, plus application-defined function keys. The keys are color-coded according to function to make recognition and key entry easier.
Because a PEN*KEY computer with a 41-key keyboard does not have alphabetic keys in its primary plane, follow these procedures to enter passwords and cold-start the computer:
"
"
To enter the password for the SET-UP PARMS firmware menu press [SHFT]+[BLUE]+[3] (a “C”) and then
[SHFT]+[BLUE]+ [F8] (an “R”). Then press the correct numbers, which are “52401.”
To initiate the COLD START? firmware menu option, press [BLUE]+[$] to answer “yes.”
6-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
Figure 6-2
PEN*KEY 6400 41-Key Keyboard
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-9
SECTION 6
"
PEN*KEY 6400 Computer
Following are the keys and their descriptions.
[
Key(s)
[SCAN]
[ENT]
[.]
[--]
[0] -- [9]
¬ ]
Description
The scan key enables an integrated scanner to be operated after this key is pressed.
The two enter keys send CR, CR LF, or SS3 M, depending on PEN*KEY computer mode settings.
Types a period.
Types a hyphen.
Send numbers 0 through 9 or SS3 p through
SS3 y, depending on how the keypad mode is set.
Sends a backspace or a delete key, depending on how the firmware is set up.
[SHFT] Places the keyboard into green shift mode.
[F1] -- [F12] Do operations defined by the application.
[SP]
I/O
Types one space.
Suspends and resumes operation.
Six unlabeled keys are in the bottom two rows of the 41-key keyboard. Following are their functions when they are in the primary plane:
"
"
"
"
"
"
The white key with “CTRL” printed above it is the control key ([CTRL]) which, in combination with other keys, does control functions.
The white key with “%” printed above it is the percent key ([%]), which types a percent sign.
The white key with “$” printed above it is the dollar key ([$]), which types a dollar sign.
The white key with “:” printed above it is the colon key
([:]), which types a colon.
The blue key ([BLUE]) places the keyboard into blue shift mode.
The gold key ([GOLD]) places the keyboard into gold shift mode.
6-10
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
The following chart lists keys and their colors.
Key
[SCAN]
[ENT]
[.]
[--]
[0] -- [9]
[ ¬ ]
[SHFT]
[F1] -- [F12]
[SP]
I/O
Color
Brown
Green
White
White
White
White
Green
White
White
White
Letters
None
Black
Black
Black
Black
Black
Black
Black
Black
Black
Overlays
The 51-key and 41-key keyboards have overlays designed for VT220 terminal emulation. Type the characters and do the operations printed on the overlay when the keyboard is in blue shift mode ([BLUE]), gold shift mode ([GOLD]), or green shift mode ([SHFT]).
Note that on the 51-key and 41-key keyboards, [BLUE] is to the left and [GOLD] is to the right on the keyboards
(Figure 6-1 and Figure 6-2). Characters printed on the overlay have the same relative relationship; the character or operation above a key and to the left (blue lettering) indicates blue shift mode, and the character or operation above a key and to the right (gold lettering) indicates gold shift mode. An annunciator in the display shows the current mode. Characters and operations printed in green on the overlay indicate green shift ([SHFT]) mode.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-11
SECTION 6
"
PEN*KEY 6400 Computer
Main Keypad
The 51-key and 41-key keyboards have standard keys and function keys. Standard keys type letters, numbers, and symbols. Function keys do special operations.
Letters - 51-Key Keyboard
Table 6-1 shows how to type letters on the 51-key keyboard.
To put the keyboard into shift lock (caps lock) mode, press
[BLUE]+[SHFT]. The keyboard stays in shift lock mode until you press [BLUE]+[SHFT] again to unlock it.
To Type
a--y z
A--Y
Z
Table 6-1
PEN*KEY 6400 Letters, 51-Key Keyboard
Press
A--Y
[BLUE]+[SP]
[SHFT]+[A] -- [SHFT]+[Y]
[SHFT]+[BLUE]+[SP]
" NOTE:
Letters - 41-Key Keyboard
You can use one of two methods to type letters on the
41-key keyboard: standard mode or alpha lock mode.
When engaged, alpha lock mode switches the alphabetic keys with the function keys. That is, it moves lowercase alphabetic keys from their standard [BLUE] plane to the primary plane. It moves uppercase alphabetic keys from their standard [SHFT]+[BLUE] plane to the [SHFT] plane.
Alpha lock provides a faster way to type a series of letters because it reduces the number of key presses.
Alpha lock mode moves only lowercase alphabetic keys to the primary plane.
6-12
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
Table 6-2 describes how to type letters on the 41-key keyboard in standard mode and alpha lock mode. To engage alpha lock mode press [BLUE]+[GOLD]. Then, to type a series of letters, press the correct key combinations in the table. The keyboard stays in alpha lock mode until you press [BLUE]+[GOLD] again to unlock it.
y z w x
A--I
Y
Z
W
X
To Type
j a--i k--v
J
K--V
Table 6-2
PEN*KEY 6400 Letters, 41-Key Keyboard
Standard Mode Alpha Lock Mode
[BLUE]+[1] -- [BLUE]+[9] [1] -- [9]
[BLUE]+[0]
[BLUE]+[F1] --
[BLUE]+[F12]
[0]
[F1] -- [F12]
[BLUE]+[CTRL]
[BLUE]+[%]
[BLUE]+[$]
[BLUE]+[:]
[SHFT]+[BLUE]+[1] --
[SHFT]+[BLUE]+[9]
[SHFT]+[BLUE]+[0]
[SHFT]+[BLUE]+[F1] --
[SHFT]+[BLUE]+[F12]
[CTRL]
[%]
[$]
[:]
[SHFT]+[1] --
[SHFT]+[9]
[SHFT]+[0]
[SHFT]+[F1] --
[SHFT]+[F12]
[SHFT]+[BLUE]+[CTRL] [SHFT]+[CTRL]
[SHFT]+[BLUE]+[%] [SHFT]+[%]
[SHFT]+[BLUE]+[$]
[SHFT]+[BLUE]+[:]
[SHFT]+[$]
[SHFT]+[:]
Numbers and Symbols
Table 6-3 describes how to type numbers and symbols on the 51-key and 41-key keyboards.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-13
SECTION 6
"
PEN*KEY 6400 Computer
Table 6-3
PEN*KEY 6400 Numbers and Symbols
To Type
[0] -- [9]
-- (hyphen)
51-Key Keyboard 41-Key Keyboard
[0] -- [9] [0] -- [9]
[--] [--]
# (pound)
* (asterisk)
/ (forward slash)
\ (backslash)
| (vertical bar)
@ (at)
[GOLD]+[ ¬ ]
[GOLD]+[A]
[GOLD]+[B]
[GOLD]+[C]
[GOLD]+[D]
[GOLD]+[E]
( (left parenthesis) [GOLD]+[F]
[ (left bracket)
{ (left brace)
< (less than)
+ (plus)
[GOLD]+[G]
[GOLD]+[H]
[GOLD]+[I]
[GOLD]+[J]
) (right parenthesis) [GOLD]+[K]
[GOLD]+[ ¬ ]
[GOLD]+[F1]
[GOLD]+[F2]
[GOLD]+[F3]
[GOLD]+[F4]
[GOLD]+[F8]
[GOLD]+[F5]
[BLUE]+[.]
[GOLD]+[F6]
[GOLD]+[F7]
[GOLD]+[F12]
[GOLD]+[F9]
] (right bracket)
} (right brace)
> (greater than)
$ (dollar)
% (percent)
& (ampersand)
; (semicolon)
, (comma)
? (question mark)
[GOLD]+[L]
[GOLD]+[M]
[GOLD]+[N]
[GOLD]+[O]
[GOLD]+[Q]
[GOLD]+[R]
[GOLD]+[S]
[GOLD]+[T]
[GOLD]+[U]
[GOLD]+[.]
[GOLD]+[F10]
[GOLD]+[F11]
[$]
[%]
Not applicable
[GOLD]+[CTRL]
[GOLD]+[$]
[BLUE]+[--]
6-14
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
Table 6-3 (Continued)
PEN*KEY 6400 Numbers and Symbols
To Type
’ (single quote)
^ (circumflex)
! (exclamation)
‘ (grave accent)
: (colon)
_ (underscore)
” (double quote)
= (equal)
~ (tilde)
51-Key Keyboard
[GOLD]+[V]
[GOLD]+[2]
[GOLD]+[X]
[GOLD]+[Y]
[BLUE]+[U]
[BLUE]+[V]
[BLUE]+[W]
[BLUE]+[X]
[BLUE]+[Y]
41-Key Keyboard
[GOLD]+[SP]
Not applicable
Not applicable
Not applicable
[ : ]
[BLUE]+[SP]
[GOLD]+[--]
[GOLD]+[%]
[GOLD]+[:]
Special Function Keys
Table 6-4 describes how to use the 51- and 41-key keyboards to do special VT220 terminal function operations.
Note that the keyboards do not support key operation
COMPOSE CHARACTER, which creates characters that do not exist as standard keys on the VT220 keyboard.
Operation of the delete key depends on how the
PROTOCOL OPTS parameter is set in the firmware. The key either sends a delete (DEL, 7F hexadecimal) or a backspace (BS, 08 hexadecimal).
To change from delete mode to backspace mode, open the firmware by pressing [GOLD]+[BLUE]. Select the following options in this order: SET-UP PARMS, PROTOCOL
OPTS, VT220, DEL TO BS.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-15
SECTION 6
"
PEN*KEY 6400 Computer
Table 6-4
PEN*KEY 6400 Special Function Keys
To Do Operation
Delete
Delete or Backspace
Forward Tab
Return
Ctrl
Shift
Lock (sets and clears
SHIFT LOCK mode)
Space bar
Compose character
Press
[BLUE]+[ ¬ ]
[
¬
]
[GOLD]+[3]
[ENT]
[CTRL]
[SHFT]
[BLUE]+[SHFT]
[SP]
Not supported
Editing Keypad
The VT220 terminal’s editing keypad has editing keys and cursor control (arrow) keys. Editing keys have functions assigned to them by the application software in use. Refer to your application’s software manual for the uses of the editing keypad keys. The cursor control keys in blue shift or green shift mode allow you to scroll through the
PEN*KEY computer’s local display memory.
Editing Keys
Table 6-5 describes how to do VT220 terminal editing operations on the 51-key and 41-key keyboards.
6-16
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
Table 6-5
PEN*KEY 6400 Editing Keys
To Do Editing Operation Press
Find [GOLD]+[4]
Insert here
Remove
Select
Prev screen
Next screen
[GOLD]+[5]
[GOLD]+[6]
[GOLD]+[7]
[GOLD]+[8]
[GOLD]+[9]
Cursor Control Keys
The following chart describes how to do VT220 terminal cursor control operations on the 51-key and 41-key keyboards.
To Do Cursor Key Press 6400 Key
-
[Y]
¯
¬
®
[B]
[A]
["]
In addition to sending VT220 cursor control sequences, the arrow keys at the tops of the keyboards allow you to move the cursor through the PEN*KEY computer’s display. The keys operate in a local windowing mode, which is enabled with the blue shift or gold shift key. This mode provides a
“window” into the VT220’s screen and allows you to move the PEN*KEY computer’s display window (Figure 6-3).
Each key moves the window in the direction indicated by the arrow.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-17
SECTION 6
"
PEN*KEY 6400 Computer
THE WINDOW DISPLAY MODE
ALLOWS THE COMPUTER
USER TO VIEW ANY PART
OF THE ACTUAL VT220 SCREEN
AND TO MOVE ABOUT THE
VT220 SCREEN USING THE
CURSOR CONTROL KEY.
INDOW DISPLA
S THE COMPUT
TO VIEW ANY
E ACTUAL VT2
O MOVE ABOUT
PEN*KEY 6400
Computer
VT220 Terminal
Figure 6-3
PEN*KEY 6400 Windowing Mode
If you try to move the cursor off the display in any direction, the window shifts one or eight lines or columns in the direction of the cursor movement. This lets you move the viewing window around within the larger VT220 terminal screen. The display does not wrap when the window reaches the top or side boundaries of the virtual VT220 screen. A beep tone sounds when you try to move the window beyond a top, bottom, left, or right boundary.
Use the arrow keys in combination with [GOLD] and
[BLUE] to move through the PEN*KEY computer’s display a single space at a time or eight spaces at a time. The following chart shows key movements.
6-18
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
To Move
One space right
One space left
One space up
One space down
Eight spaces right
Eight spaces left
Eight spaces up
Eight spaces down
Press
[GOLD]+["]
[GOLD]+[A]
[GOLD]+[Y]
[GOLD]+[B]
[BLUE]+["]
[BLUE]+[A]
[BLUE]+[Y]
[BLUE]+[B]
Auxiliary Keypad
The VT220 terminal’s auxiliary keypad consists of numeric keys (which enter numeric data) and programmable function (PF) keys. The PF keys have operations assigned to them by the application software in use. Refer to your application’s software manual for the programmed uses of the
PF keys.
Table 6-6 describes how to use the PEN*KEY computer to do auxiliary keypad operations.
Table 6-6
PEN*KEY 6400 Auxiliary Keypad
For Auxiliary
Operation
0--9
-- (hyphen)
51-Key Keyboard 41-Key Keyboard
[GOLD]+[0]+[1] --
[GOLD]+[0]+[9]
[GOLD]+[0]+[1] --
[GOLD]+[0]+[9]
[GOLD]+[0]+[--] [GOLD]+[0]+[--]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-19
SECTION 6
"
PEN*KEY 6400 Computer
For Auxiliary
Operation
, (comma)
. (period)
Enter
PF1--PF4
Table 6-6 (Continued)
PEN*KEY 6400 Auxiliary Keypad
51-Key Keyboard
[GOLD]+[0]+
[GOLD]+[T]
41-Key Keyboard
[GOLD]+[0]+
[GOLD]+[$]
[GOLD]+[0]+[.] [GOLD]+[0]+[.]
[GOLD]+[0]+[ENT] [GOLD]+[0]+[ENT]
[BLUE]+[A] --
[BLUE]+[D]
[F1] -- [F4]
Top-Row Function Keys
On the VT220 terminal’s keyboard, function keys [F1] through [F5] are used for hold screen, print screen, set-up, data/talk, and break. The PEN*KEY computer supports only the break function, which is [F5] on the PEN*KEY computer’s keyboard.
Function keys [F6] through [F20] are user-defined keys
(UDKs) that have operations assigned to them by the application software in use. Refer to your application’s software manual for their uses.
51-Key Keyboard
Table 6-7 describes how to do function operations on the
51-key keyboard.
6-20
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
Table 6-7
PEN*KEY 6400 Top-Row Function Keys,
51-Key Keyboard
To Do Function
F5--F20
Press
[BLUE]+[E] -- [BLUE]+[T]
41-Key Keyboard
When alpha lock mode is engaged on the 41-key keyboard, it switches the function keys with the alphabetic keys.
That is, function keys normally in the primary plane ([F1] through [F12]) move to the [BLUE] plane. Function keys normally in the [SHFT] plane ([F13] through [F20]) move to the [SHFT]+[BLUE] plane.
Table 6-8 describes how to do function operations when the
41-key keyboard is in standard mode or alpha lock mode.
To engage alpha lock mode press [BLUE]+[GOLD]. Then press the correct key combinations in the table. The keyboard stays in alpha lock mode until you press [BLUE]+
[GOLD] again to unlock it.
Table 6-8
PEN*KEY 6400 Top-Row Function Keys,
41-Key Keyboard
To Do Function Standard Mode Alpha Lock Mode
F5--F12 [F5] -- [F12] [BLUE]+[F5] --
[BLUE]+[F12]
F13--F20 [SHFT]+[F1] --
[SHFT]+[F8]
[SHFT]+[BLUE]+[F1] --
[SHFT]+[BLUE]+[F8]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-21
SECTION 6
"
PEN*KEY 6400 Computer
Control Keys
Both keyboards have control key combinations. The control key is the white key with “CTRL” printed above it.
51-Key Keyboard
Table 6-9 lists some combinations on the 51-key keyboard.
Table 6-9
PEN*KEY 6400 Control Keys (51-Key Keyboard)
To Do Action
ESC (escape)
FS (file separator)
GS (group separator)
RS (record separator)
US (unit separator)
DEL (delete)
Press
[CTRL]+[3]
[CTRL]+[4]
[CTRL]+[5]
[CTRL]+[6]
[CTRL]+[7]
[CTRL]+[8]
41-Key Keyboard
To use the control keys on the 41-key keyboard, press the key combinations listed in Table 6-10.
6-22
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 6
"
PEN*KEY 6400 Computer
Table 6-10
PEN*KEY 6400 Control Keys (41-Key Keyboard)
To Do
CTRL A--
CTRL I
CTRL J--
CTRL V
Standard Mode
[CTRL]+[BLUE]+[1] --
[CTRL]+[BLUE]+[9]
[CTRL]+[BLUE]+[0] --
[CTRL]+[BLUE]+[F12]
Alpha Lock Mode
[BLUE]+[CTRL]+[1] --
[BLUE]+[CTRL]+[9]
[BLUE]+[CTRL]+[0] --
[BLUE]+[CTRL]+[F12]
CTRL W [CTRL]+[BLUE]+[CTRL] [BLUE]+[CTRL]+[CTRL]
CTRL X [CTRL]+[BLUE]+[%] [BLUE]+[CTRL]+[%]
CTRL Y [CTRL]+[BLUE]+[$]
CTRL Z [CTRL]+[BLUE]+[:]
[BLUE]+[CTRL]+[$]
[BLUE]+[CTRL]+[:]
Transmission Mode
Use the transmission mode (labeled “mode” on the overlay) to put the PEN*KEY computer into line edit (block) mode or character mode. To alternate between modes, press
[GOLD]+[1] on both keyboards.
When “lock mode” is disabled through the firmware menus, you can press the mode key to toggle between line edit mode and character mode. When lock mode is enabled, you cannot toggle between line edit (block) mode and character mode. The default setting is “disabled.”
The modes are described on pages 8-55 and 8-56 in Section
8, “Programming.”
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 6-23
SECTION 6
"
PEN*KEY 6400 Computer
Local Edit Mode
If your application software program supports local editing you can use the PEN*KEY computer in local edit mode, which is a feature of the VT330/VT340 terminal. Local edit mode is described on page 8-62 in Section 8.
Backlight
" NOTE:
Use the backlight to read the PEN*KEY computer’s display in dim light. To turn the light on, press [SHFT]+[Y]. To turn it off, press [SHFT]+[Y] again.
You can use the firmware’s setup menus to set the length of time the backlight stays on before the PEN*KEY computer’s backlight “goes to sleep” to conserve power. Refer to the
PEN*KEY computer’s user’s guide for more information about backlighting.
The longer the backlight stays on, the sooner the battery will need to be recharged.
6-24
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Section 7
PEN*KEY
R
6500 Computer
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
VT220/ANSI Display Emulation
" NOTE:
The PEN*KEY 6500 Computer’s liquid crystal display
(LCD) shows PEN*KEY computer and VT220 prompts, and information you type. Because the VT220 terminal’s screen is 80 columns by 24 lines, the PEN*KEY computer represents a part of the information on the larger VT220 screen.
PEN*KEY computers in the PEN*KEY 6500 Series have WLIF radios only.
Host View Size
The host view size is 24 characters high by 80 characters wide.
Screen Size
You can select the number of display lines and characters per line. The options are 20, 40, or 80 characters per line by 8, 10, 12, 16, 21, or 25 lines. The default is 12 lines and
40 characters. To change the screen size open the firmware and select the following options in this order: LCD PARMS,
SCREEN SIZE.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 7-1
SECTION 7
"
PEN*KEY 6500 Computer
Screen Modes
The PEN*KEY computer has these screen modes: center cursor, corner, page, lazy, screen lock, and locked. The modes present a window onto a standard VT220 terminal’s
80-character by 24-line display buffer. You can set the type of screen mode through the PEN*KEY computer’s firmware menus.
The screen modes govern which portion of the larger VT220 terminal’s screen the PEN*KEY computer first presents and how the window moves as the cursor moves.
Center Cursor Mode
Center cursor mode works best for applications that use the entire VT220 data stream’s 80-character by 24-line logical display. In this mode, the cursor remains in the center of the PEN*KEY computer’s window.
As the cursor moves within the window, the PEN*KEY computer’s display window moves to keep it centered. When the cursor moves off the right, left, top, or bottom edge of the larger 80x24 display, the window remains fixed despite the cursor’s movement.
Corner Mode
Corner mode begins with the window in the upper left corner of the larger VT220 terminal. It keeps the cursor in the lower right corner of the display. Corner mode works best for applications that use the upper left corner of the logical screen.
As the cursor moves off the right or bottom edge of the
PEN*KEY computer’s display, the window moves to show the cursor. When you use corner mode with the gold-colored key, you can move the cursor a predetermined number of key presses in all four directions.
7-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 7
"
PEN*KEY 6500 Computer
Page Mode
Page mode provides predefined pages within the larger
VT220 terminal. The size of these pages depends on the number of rows and columns selected for display. The
PEN*KEY computer moves the window by a multiple of the page size. As the cursor moves off the edge of the
PEN*KEY computer’s display, the window changes to the next page.
Lazy Mode
Lazy mode starts the cursor in the upper left corner of the display. The cursor moves across the display in the scrolled direction. When the cursor goes beyond the edge of the display, the data begins to move in the scrolled direction and the cursor remains at the edge of the display. When you try to go beyond an outside boundary, an error tone sounds.
Screen Lock Mode
Screen lock mode allows a specified screen size to be set up and locked. Only the commands issued to the selected screen size are operated on. For example, if the host sends characters to the display, and the number of characters to display is greater than the number of columns specified, the last column(s) on the screen are overwritten.
Locked Mode
If locked mode is selected through the firmware menus, the view window is locked to the upper left-hand corner of the display. The screen does not window around, and only the area that has been selected to be the screen size is visible.
Locked mode disables the windowing keys, or only allows you to window around the physical display size selected through the firmware menus.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 7-3
SECTION 7
"
PEN*KEY 6500 Computer
Display Annunciators
Annunciators show the PEN*KEY computer’s current status or operation in progress. The following annunciators can appear.
The PEN*KEY computer is in shift mode. The key you press while the computer is in this mode types letters in uppercase.
The PEN*KEY computer is in gold shift (Alt) mode.
The key you press while the computer is in this mode does the operation printed in gold on the keyboard.
K
X
The PEN*KEY computer is in blue shift (Ctrl)
mode. The key you press while the computer is in this mode does the operation printed in blue on the keyboard, or sends a control character.
The PEN*KEY computer is in keypad mode.
Keyboard action mode (KAM) has been set. The
PEN*KEY computer ignores all keystrokes that send characters to the host. This state stays on until KAM has been reset.
NL
The PEN*KEY computer is in green shift (number
lock) mode. The key you press while the computer is in this mode types the number or character printed in green on the keyboard.
CL
The PEN*KEY computer is in caps (shift) lock. The key you press while the computer is in this mode types letters in uppercase.
7-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 7
"
PEN*KEY 6500 Computer
B
C e
The PEN*KEY computer is in line edit (block)
mode. The computer is sending, to the host computer, cumulative data when you press a terminating key.
The PEN*KEY computer is in character mode. The computer is sending, to the host computer, each key as you press it.
The PEN*KEY computer is in local edit mode, which is a feature of the VT330/VT340 terminal.
Keyboard
The PEN*KEY computer has an 81-key external keyboard with keys defined to emulate VT220 terminal operation
(Figure 7-1). Note that these keys are not operational: Fn,
Setup, SysReq, Pause, Home, End, Ins, ScrLk, PgDn, and
PgUp.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 7-5
SECTION 7
"
PEN*KEY 6500 Computer
” ’
? /
F
F
Figure 7-1
PEN*KEY 6500 Keyboard
7-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 7
"
PEN*KEY 6500 Computer
Shifted Planes
Use the shift keys to type uppercase letters and special characters, and to do special operations. Shift keys are described in the following chart.
Shift Key
[Shift]
[Blue]
[Gold]
[NumLk]
Description
Press [Shift] plus a letter to type the letter in uppercase.
The blue-colored (Ctrl) key puts the keyboard into blue shift [Blue] mode. Press [Blue] plus a keyboard key to do an operation printed in blue, or to send a control character.
The gold-colored (Alt) key puts the keyboard into gold shift [Gold] mode. Press [Gold] plus a keyboard key to do an operation printed in gold.
The green-colored (number lock) key puts the keyboard into [NumLk] mode. Press [NumLk] plus a keyboard key to type a number or character printed in green.
Special characters and functions are color-coded to correspond with the shift keys. For example:
"
"
Press [Blue]+[F1] to do the [F11] function (printed in blue on the key).
Press [Gold]+[F1] to do the [Mode] function (printed in gold on the key).
When you press [Shift], [Blue], [Gold], or [NumLk], an annunciator in the display indicates the current shift mode.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 7-7
SECTION 7
"
PEN*KEY 6500 Computer
Main Keypad
A VT220 terminal’s main keypad has standard keys and function keys. Standard keys type letters, numbers, and symbols. Function keys do special operations.
Standard Keys
Table 7-1 describes how to use the PEN*KEY computer to type letters, numbers, and symbols.
Table 7-1
PEN*KEY 6500 Standard Keys
To Type
a--z
A--Z
Press
[A] -- [Z]
[A] -- [Z] or [Shift]+[A] -- [Shift]+[Z]
0--9
~ (tilde)
[0] -- [9] or [Shift]+[0] -- [Shift]+[9]
[Shift]+[‘]
! (exclamation mark) [Shift]+[1]
@ (at) [Shift]+[2]
# (pound)
$ (dollar)
% (percent)
^ (circumflex)
[Shift]+[3]
[Shift]+[4]
[Shift]+[5]
[Shift]+[6]
& (ampersand)
* (asterisk)
( (left parenthesis)
) (right parenthesis)
-- (hyphen)
+ (plus)
[Shift]+[7]
[Shift]+[8]
[Shift]+[9]
[Shift]+[0]
[--]
[Shift]+[=]
7-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 7
"
PEN*KEY 6500 Computer
Table 7-1 (Continued)
PEN*KEY 6500 Standard Keys
To Type
{ (left brace)
} (right brace)
| (vertical bar)
: (colon)
“ (double quote)
< (less than)
> (greater than)
? (question mark)
[ (left bracket)
] (right bracket)
\ (backslash)
; (semicolon)
’ (single quote)
, (comma)
. (period)
/ (forward slash)
_ (underscore)
= (equal)
‘ (grave accent)
Press
[Shift]+[ key
[Shift]+] key
[Shift]+[\]
[Shift]+[;]
[Shift]+[’]
[Shift]+[,]
[Shift]+[.]
[Shift]+[/]
[ key
] key
[\]
[;]
[’]
[,]
[.]
[/]
[Shift]+[--]
[=]
[‘]
Special Function Keys
Table 7-2 describes how to use the PEN*KEY computer to do special VT220 terminal function operations. Note that the PEN*KEY computer does not support key operation
COMPOSE CHARACTER, which creates characters that do not exist as standard keys on the VT220 keyboard.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 7-9
SECTION 7
"
PEN*KEY 6500 Computer
Operation of the delete key [ ] depends on how the
PROTOCOL OPTS parameter is set in the PEN*KEY computer’s firmware. The key either sends a delete (DEL, 7F hexadecimal) or a backspace (BS, 08 hexadecimal).
To change from delete mode to backspace mode, open the firmware by pressing [Gold]+[M]. Then select the following options in this order: SET-UP PARMS (password:
CR52401), PROTOCOL OPTS, VT220, DEL TO BS.
Table 7-2
PEN*KEY 6500 Special Function Keys
To Do Operation
Delete
Forward Tab
Reverse Tab
Press
Return
Ctrl
[Enter]
[Blue]
Lock [Caps Lock]
Shift (uppercase characters) [Shift]
Space bar
Compose character
[Space bar]
Not supported
Editing Keypad
The VT220 terminal’s editing keypad has editing keys and cursor control keys. Editing keys have functions assigned to them by the application software in use. Refer to your application’s software manual for the uses of the editing keys. You can use the arrow keys to move the cursor and page through the PEN*KEY computer’s display.
7-10
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 7
"
PEN*KEY 6500 Computer
Editing Keys
Table 7-3 describes how to use the PEN*KEY computer to do VT220 terminal editing operations.
Table 7-3
PEN*KEY 6500 Editing Keys
To Do Editing Operation Press
Find [Gold]+[4]
Insert here
Remove
[Gold]+[5]
[Gold]+[6]
Select
Prev screen
Next screen
[Gold]+[7]
[Gold]+[8]
[Gold]+[9]
Cursor Control Keys
Use the four cursor control keys (arrows) in the lower right corner of the keyboard to move the cursor and page through the PEN*KEY computer’s display. The keys operate in a local windowing mode, which is always enabled. The mode provides a “window” into the VT220’s screen and allows you to move the PEN*KEY computer’s display window
(Figure 7-2). Each key moves the window in the direction indicated by the arrow.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 7-11
SECTION 7
"
PEN*KEY 6500 Computer
INDOW DISPLA
S THE TERMIN
EW ANY PART
L VT220 SCRE
THE WINDOW DISPLAY MODE
ALLOWS THE TERMINAL USER
TO VIEW ANY PART OF THE
ACTUAL VT220 SCREEN AND
TO MOVE ABOUT THE VT220
SCREEN USING THE CURSOR
CONTROL KEY.
PEN*KEY 6500
Computer
VT220 Terminal
Figure 7-2
PEN*KEY 6500 Windowing Mode
If you try to move the cursor off the display in any direction, the window shifts one or eight lines or columns in the direction of the cursor movement. This lets you move the viewing window around within the larger VT220’s screen. The display does not wrap around when the window reaches the top or side boundaries of the virtual VT220 screen. A beep error tone sounds when you try to move the window beyond the top, bottom, left, or right boundary.
The following chart shows how to use the arrow keys in combination with [Blue] and [Gold] to move through the
PEN*KEY computer’s display.
7-12
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 7
"
PEN*KEY 6500 Computer
To Move
One position right
One position left
One position up
One position down
Eight positions right
Eight positions left
Eight positions up
Eight positions down
Press
[Blue]+
[Blue]+
[Blue]+
[Blue]+
[Gold]+
[Gold]+
[Gold]+
[Gold]+
Auxiliary Keypad
The VT220 terminal’s auxiliary keypad consists of numeric keys (which enter numeric data) and programmable function (PF) keys. The PF keys have operations assigned to them by the application software in use. Refer to your application’s software manual for the uses of the PF keys.
Table 7-4 describes how to use the PEN*KEY computer to do VT220 terminal auxiliary keypad operations.
-- (hyphen)
, (comma)
. (period)
Enter
PF1--PF4
Table 7-4
PEN*KEY 6500 Auxiliary Keypad
For Auxiliary Operation
0--9
Press
[Gold]+[PF2]+[0] --
[Gold]+[PF2]+[9]
[Gold]+[PF2]+[--]
[Gold]+[PF2]+[M]
[Gold]+[PF2]+[.]
[Gold]+[PF2]+[ENTER]
[PF1] -- [PF4]
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 7-13
SECTION 7
"
PEN*KEY 6500 Computer
Top-Row Function Keys
On the VT220 terminal’s keyboard, function keys [F1] through [F5] are used for hold screen, print screen, set-up, data/talk, and break. The PEN*KEY computer supports only the break function, which is [Break] on the PEN*KEY computer’s keyboard.
Function keys [F6] through [F20] are user-defined keys
(UDKs) that have operations assigned to them by the application software in use. Refer to your application’s software manual for their programmed uses.
Table 7-5 shows how to perform function operations.
Table 7-5
PEN*KEY 6500 Top-Row Function Keys
To Do Function
F5--F10
F11--F14
F15--F20
Press
[F5] -- [F10]
[Blue]+[PF1] -- [Blue]+[PF4]
[Blue]+[F5] -- [Blue]+[F10]
Control Keys
Table 7-6 lists some control key combinations. On the
PEN*KEY computer, the control key is [Blue].
Table 7-6
PEN*KEY 6500 Control Keys
Code Name Keys
SOH [Blue]+[A]
STX
ETX
[Blue]+[B]
[Blue]+[C]
EOT
ENQ
Action
Start of heading
Start of text
Interrupt program
[Blue]+[D] End of transmission
[Blue]+[E] Enquiry
7-14
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 7
"
PEN*KEY 6500 Computer
Table 7-6 (Continued)
PEN*KEY 6500 Control Keys
NAK
SYN
ETB
CAN
EM
SUB
HT
LF
VT
FF
Code Name
ACK
BEL
BS
ESC
Keys
[Blue]+[F]
Action
Acknowledge
[Blue]+[G] Sound beeper
[Blue]+[H] Same as Backspace key
[Blue]+[I]
[Blue]+[J]
Same as Tab key
Same as Line Feed key
[Blue]+[K] Vertical tab
[Blue]+[L] Top of page (on printer)
CR
SO
SI
DLE
[Blue]+[M] Same as Return key
[Blue]+[N] Change typeface
[Blue]+[O] Undo effect of CTRL N
[Blue]+[P] Data link escape
DC1, X-ON [Blue]+[Q] Undo effect of CTRL S
DC2 [Blue]+[R] Device control 2
DC3, X-OFF [Blue]+[S]
DC4 [Blue]+[T]
Make computer stop typing
Device control 4
[Blue]+[U] Negative acknowledgment
[Blue]+[V] Synchronous table
[Blue]+[W] End transmission block
[Blue]+[X]
[Blue]+[Y]
Cancel
End of medium
[Blue]+[Z]
[ESC]
End of file mark
Escape
FS
[Blue]+[1] File separator
GS
[Blue]+[2] Group separator
RS
[Blue]+[3] Record separator
US
[Blue]+[4] Unit separator
DEL [Del] Delete
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 7-15
SECTION 7
"
PEN*KEY 6500 Computer
Transmission Mode
Use the transmission mode (labeled “Mode” on the keyboard) to put the PEN*KEY computer into line edit (block) mode or character mode. To alternate between modes, press [Gold]+[PF1]. The modes are described on pages 8-55 and 8-56 in Section 8, “Programming.”
When “lock mode” is disabled through the firmware menus, you can press the mode key to toggle between line edit mode and character mode. When lock mode is enabled, you cannot toggle between line edit (block) mode and character mode. The default setting is “disabled.”
Local Edit Mode
If your application software program supports local editing you can use the PEN*KEY computer in local edit mode, which is a feature of the VT330/VT340 terminal. Local edit mode is described on page 8-62 in Section 8.
7-16
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Section 8
Programming
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
Overview
This section describes programming for the wireless stations. This section contains the following information:
"
"
"
"
Received codes that the wireless stations support. Received codes include C0 and C1 control characters, character sets, and terminal modes.
The transmitted codes generated by the wireless stations’ keys and sent to the host computer.
The capability of the wireless stations to emulate
VT220 terminal top-row function, main keypad, editing, and auxiliary keys.
VT330/VT340 terminal applications supported by the wireless stations. Applications include working in local editing and interactive modes, and creating text forms.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-1
SECTION 8
"
Programming
Character Encoding
The implementation of VT220/ANSI terminal emulation supports both 7-bit and 8-bit communications environments. The implementation consists of an 8-bit asynchronous character encoding scheme and a 7-bit code extension technique so that the wireless station is compatible with
ANSI and ISO standards. All 8-bit codes can be referenced by using two-byte ESCape sequences in accordance with
ANSI standard X3.41 ---- 1974.
The document commonly referred to when ANSI is mentioned is ANSI X3.64 ---- 1979,
Additional Controls for Use
With American National Standard for Information Inter-
change. The ANSI X3.64 standard controls character imaging devices like the VT220. ANSI and ISO determine the current standards for character encoding in the communications industry.
Character Sets
The wireless station processes most characters it receives from the host computer based on characters whose codes and functions are defined and standardized by ANSI. The types are 7-bit and 8-bit character codes.
Multinational Character Set
The DEC multinational character set consists of C0, GL,
C1, and GR codes.
8-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
C0 and GL Codes
The left half of the multinational character set consists of control characters (C0 codes) and graphic characters (GL codes). Control characters are 7-bit compatible, nondisplayable single-byte characters that perform specific functions during communications and text processing. C0 codes range from 00 to 1F hexadecimal, and include 7F hexadecimal (DEL). They can be used in a 7-bit or an 8-bit environment.
Graphic characters are 7-bit compatible, displayable characters that represent various alphanumeric characters, punctuation marks, and symbols that appear in the wireless station’s display. GL codes range from 21 to 7E hexadecimal. They can be used in a 7-bit or an 8-bit environment.
The space character (20 hexadecimal) may be a graphic character or a control character, depending on the context.
Table 8-1 shows the C0 and and GL codes recognized by the wireless station. Ignored codes are parsed (removed) from the data stream with no action taken by the wireless station. Codes that the wireless station ignores are also indicated in the table. Table 8-2 describes the action taken by the wireless station when it receives a C0 code.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-3
SECTION 8
"
Programming
Table 8-1
C0 Control and Graphic Characters
row column
0 1 2 3 4 5 6 7
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E b8 bits b7 b6 b5 b4 b3 b2 b1
0
0 0 0 0
NUL
0
0
00
0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
SOH
STX
ETX
EOT
ENQ
ACK
BEL
BS
HT
LF
VT
FF
CR
SO
DLE
1
16
10
DC1
(XON)
DC2
DC3
(XOFF)
DC4
NAK
SYN
ETB
CAN
EM
SUB
ESC
FS
GS
RS
21
15
22
16
19
13
20
14
23
17
24
18
17
11
18
12
28
1C
29
1D
30
1E
25
19
26
1A
27
1B
5
05
6
06
3
03
4
04
7
07
8
08
1
01
2
02
12
0C
13
0D
14
0E
9
09
10
0A
11
0B
0
SP
*
!
I
#
$
%
&
)
(
’
+
,
--
.
0
32
20
37
25
38
26
35
23
36
24
39
27
40
28
33
21
34
22
44
2C
45
2D
46
2E
41
29
42
2A
43
2B
0
0
1
2
3
4
5
6
7
8
9
;
:
<
=
>
1
48
30
53
35
54
36
51
33
52
34
55
37
56
38
49
31
50
32
60
3C
61
3D
62
3E
57
39
58
3A
59
3B
0
@
A
B
C
D
E
F
G
H
I
J
K
L
M
N
0
64
40
69
45
70
46
67
43
68
44
71
47
72
48
65
41
66
42
76
4C
77
4D
78
4E
73
49
74
4A
75
4B
0
P
Q
R
S
T
U
V
W
X
Y
Z
]
[
\
^
1
80
50
85
55
86
56
83
53
84
54
87
57
88
58
81
51
82
52
92
5C
93
5D
94
5E
89
59
90
5A
91
5B
0
‘ a b c d e f g h j i k l m n
F
1 1 1 1
SI
15
0F
US
C0 Codes
31
1F
/
47
2F
?
Legend:
ENQ
5
05 decimal hexadecimal code recognized by the wireless station
63
3F
O
79
4F
_
95
5F o
GL Codes
(ASCII Graphics Character Set)
NUL
0
00 decimal hexadecimal code ignored by the wireless station
0
96
60
101
65
102
66
99
63
100
64
103
67
104
68
97
61
98
62
108
6C
109
6D
110
6E
105
69
106
6A
107
6B
111
6F
0 p q s t r u v w x y z
{
½
}
~
DEL
1
112
70
117
75
118
76
115
73
116
74
119
77
120
78
113
71
114
72
124
7C
125
7D
126
7E
121
79
122
7A
123
7B
127
7F
8-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Table 8-2
C0 Control Characters and Wireless Station Action
VT
FF
CR
SO
(LS1)
SI
(LS0)
DLE
Mnemonic Hex Name
NUL
SOH
STX
ETX
EOT
ENQ
ACK
BEL
BS
00
01
02
03
Null
Start of heading
Start of text
End of text
Wireless Station Action
Ignores this code.
Ignores this code.
Ignores this code.
Ignores this code.
04 End of transmission Ignores this code.
05 Enquiry Generates an answerback message. You set the number of characters in the message
(0--30) through the wireless station’s firmware.
06 Acknowledge
07 Bell
08 Backspace
Ignores this code.
Generates bell tone if bell is enabled.
Moves cursor one column to the left. If cursor is in Column 1, takes no action.
HT
LF
09 Horizontal tab
0A Line feed
0B Vertical tab
0C Form feed
0D Carriage return
0E Shift out
(Lock shift G1)
0F Shift in
(Lock shift G0)
10 Data link escape
Moves cursor to predetermined tab stop.
Moves cursor to right margin if there are no tab stops.
Causes a line feed or new line operation, depending on how the LNM received code is set.
Processes as LF (line feed).
Processes as LF (line feed).
Moves cursor to Column 1 of the current row.
Invokes G1 character set into GL.
Invokes G0 character set into GL.
Ignores this code.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-5
SECTION 8
"
Programming
Table 8-2 (Continued)
C0 Control Characters and Wireless Station Action
Mnemonic
DC1
(XON
)
DC2
DC3
(XOFF
)
DC4
NAK
SYN
ETB
CAN
EM
SUB
ESC
FS
GS
RS
US
DEL
Hex
11
12
13
Name
Device control 1
Device control 2
Device control 3
Wireless Station Action
Clears DC3 if XOFF support is enabled, which causes the wireless station to continue sending characters (keyboard unlocks).
Ignores this code.
If XOFF support is enabled, causes the wireless station to stop sending characters until it receives a DC1 control character.
Ignores this code.
Ignores this code.
14 Device control 4
15 Negative acknowledgment
16 Synchronous table Ignores this code.
17 End transmission block
Ignores this code.
18 Cancel
19 End of medium
1A Substitute
1B Escape
1C File separator
1D Group separator
1E Record separator
1F Unit separator
7F Delete
Terminates and cancels any sequence in progress.
Ignores this code.
Terminates and cancels the escape or control sequence, or terminates the device control string and displays reverse question mark.
Processes as escape sequence introducer. Terminates any escape, control, or device control sequence in process.
Ignores this code.
Ignores this code.
If guarded area transfer mode (GATM) is reset, the record separator is processed as a protected field entry.
Ignores this code.
Ignores this code; cannot be used as a fill character.
8-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
C1 and GR Codes
The right half of the DEC multinational character set consists of eight-bit control codes (C1 codes) and supplemental graphic characters (GR codes). C1 codes are nondisplayable codes that perform additional functions beyond those possible with the C0 codes. C1 codes range from 80 to 9F hexadecimal.
The supplemental graphic characters set (GR codes) range from A0 hexadecimal to FF hexadecimal. The set has alphabetic characters with accents and diacritical marks that appear in the major Western European alphabets. It also has other symbols not included in the ASCII graphics set.
Table 8-3 shows the C1 control characters and GR codes recognized by the wireless station. Ignored codes are parsed (removed) from the data stream with no action taken by the wireless station. Codes that the wireless station ignores are also indicated in the table. Note that some letters that are normally in uppercase are converted into lowercase. The hexadecimal values for the converted letters are:
C0, C1, C2, C8, CA, CB, CC, CD, CE, CF, D9, DA, and DB.
(These values may be supported correctly in later versions.)
Table 8-4 describes the action taken by the wireless station when it receives a C1 control code.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-7
SECTION 8
"
Programming
Table 8-3
C1 Control Characters
8-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Table 8-4
C1 Control Characters and Wireless Station Action
Mnemonic Hex Name
IND
NEL
SSA
ESA
HTS
HTJ
VTS
PLD
PLU
RI
SS2
80
81
82
83
84
85
86
87
88
Index
Next line
Start of selected area
End of selected area
Horizontal tab set
Wireless Station Action
Ignores this code.
Ignores this code.
Ignores this code.
Ignores this code.
Moves cursor down one line in same column. If cursor is at bottom margin, display performs a scroll up.
Moves cursor to first position on next line.
If cursor is at bottom margin, display performs a scroll up.
Selects which characters on the current page the wireless station can send to the host.
Ends the selected area that is sent to the host when forms are created for
VT330/VT340 terminal emulation.
Sets one horizontal tab stop at the column where the cursor is.
89 Horizontal tab with justify
Ignores this code.
8A Vertical tabulation set Ignores this code.
8B Partial line down Ignores this code.
8C Partial line up
8D Reverse index
8E Single shift 2
Ignores this code.
Moves cursor up one line in same column.
If cursor is at top margin, display performs a scroll down.
Temporarily invokes G2 character set into
GL for the next graphic character. G2 is designated by a select character set (SCS) sequence.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-9
SECTION 8
"
Programming
Table 8-4 (Continued)
C1 Control Characters and Wireless Station Action
PU1
PU2
STS
CCH
MW
SPA
Mnemonic
SS3
DCS
EPA
CSI
ST
OSC
PM
APC
Hex Name
8F Single shift 3
90 Device control string
91 Private use 1
Wireless Station Action
Temporarily invokes G3 character set into
GL for the next graphic character. G3 is designated by a select character set (SCS) sequence.
Processes as opening delimiter of a device control string for device control use.
Ignores this code.
92 Private use 2
93 Set transmit state
94 Cancel character
95 Message waiting
Ignores this code.
Ignores this code.
Ignores this code.
Ignores this code.
96 Start of protected area Starts the protected area in page memory that cannot be edited when forms are created from the host.
97 End of protected area Ends the protected area in page memory that cannot be edited when forms are created from the host.
98
99
9A
9B Control sequence introducer
9C String terminator
Ignores this code.
Ignores this code.
Ignores this code.
Processes as control sequence introducer.
Processes as the closing delimiter of a string opened by DCS. Also, processes the code as the end of a line of extended command characters.
Ignores this code.
9D Operating system command
9E Privacy message
9F Application program command
Ignores this code.
Processes the code as the start of a line of extended command characters.
8-10
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Display Controls Mode
The wireless station does not support the VT220 terminal display controls mode, which displays control codes as graphic characters for debugging.
Dynamically Redefinable Character
Set
The wireless station does not support the dynamically redefinable character set (DRCS), which is a 94-character set you can create on the VT220 terminal and down-line load into the terminal DRCS buffer.
Special Graphics Character Set
The wireless station supports most of the DEC special graphics character set. The set contains ASCII C0 codes and most of the GL codes. It also has special symbols and short line segments. You would normally use these characters to create a limited range of drawings while working in text mode.
Table 8-5 shows special graphics characters recognized by the wireless station. Ignored codes are parsed (removed) from the data stream with no action taken by the wireless station. Codes the wireless station ignores and does not support are also indicated in the table.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-11
SECTION 8
"
Programming
Table 8-5
Special Graphics Character Set
8-12
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
National Replacement Character
Sets
The wireless station supports the 7-bit national replacement character (NRC) sets for European languages. A
Greek NRC set is also available. The NRC sets are similar to the 7-bit ASCII set, except for a few characters. You designate the character sets as hard using escape sequence formats (page 8-15).
Table 8-6 lists the characters in each NRC set that are different from the ASCII set. The wireless station does not support the character “ ¾” (40 hexadecimal) in the Dutch
NRC set. Table 8-7 shows characters in the Greek NRC set.
ASCII
British
Dutch
Finnish
French
French Canadian
German
Italian
Norwegian/Danish
Portuguese
Spanish
Swedish
Swiss
Table 8-6
National Replacement Character Set
Hexadecimal
23 40 5B 5C 5D 5E 5F 60 7B 7C 7D 7E
# @ [ \ ] ^ _ ‘
£ @ [ \ ] ^ _ ‘ {
{ |
|
}
}
~
~
£ ÿ ½ | ^ _ ‘ ¨ ƒ ¼ ’
# @ Ä Ö Å Ü _ é ä ö å ü
£ à
_
ç § ^ _ ‘ é ù è ¨
# à â ç ê î _ ô é ù è û
# § Ä Ö Ü ^ _ ‘ ä ö ü ß
£ §
_
ç é ^ _ ù à ò è ì
# @ Æ Ø Å ^ _ ‘ æ ø å ~
# @ Ã Ç Õ ^ _ ‘ ã ç õ ~
£ § ¡ Ñ ¿ ^ _ ‘ ‘
_
ñ ç
# É Ä Ö Å Ü _ é ä ö å ü
ù à é ç ê î è ô ä ö ü û
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-13
SECTION 8
"
Programming
Table 8-7
Greek National Replacement Character Set
Copyright, Digital Equipment Corporation (1983, 1984).
All rights reserved. Reprinted by permission. Adapted from original material.
8-14
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Character Set Selection
The wireless station supports hard character sets. It does not support designating soft (down-line loadable) character sets.
Designating Hard Character Sets
Designate hard character sets using the escape sequence format in Table 8-8.
Table 8-8
Hard Character Set Escape Sequences
Escape Sequence
Supplemental and special graphics sets:
1B hexadecimal 28 hexadecimal
ESC ( (Final)
Designated As
G0
1B hexadecimal 29 hexadecimal
ESC ) (Final)
G1
1B hexadecimal 2A hexadecimal
ESC * (Final)
G2
1B hexadecimal 2B hexadecimal
ESC + (Final)
NRC sets:
1B hexadecimal 2D hexadecimal
ESC -(Final)
1B hexadecimal 2E hexadecimal
ESC .
(Final)
1B hexadecimal 2F hexadecimal
ESC / (Final)
G3
G1
G2
G3
The final character in the escape sequence represents the character set you want to designate. For the wireless station, the final characters are indicated in Table 8-9.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-15
SECTION 8
"
Programming
Table 8-9
Hard Character Set Final Characters
Character Set
ASCII
Special graphics
National replacement
British
Dutch
Finnish*
Final Character
B (42 hexadecimal)
0 (30 hexadecimal)
A (41 hexadecimal)
4 (34 hexadecimal)
5 (35 hexadecimal) or
C (43 hexadecimal)
French R (52 hexadecimal)
French Canadian* 9 (39 hexadecimal) or
Q (51 hexadecimal)
German
Italian
K (4B hexadecimal)
Y (59 hexadecimal)
Norwegian/Danish* ‘ (60 hexadecimal) or
E (45 hexadecimal)
Portuguese
Spanish
Swedish*
% (25 hexadecimal)
Z (5A hexadecimal)
7 (37 hexadecimal) or
H (48 hexadecimal)
Swiss = (3D hexadecimal)
Greek 6 (36 hexadecimal)
(This is a private extension.)
* Digital recommends using the first code shown.
8-16
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Locking Shifts
The wireless station applies the locking shift (LS) control functions in Table 8-10. Locking shifts LS1R, LS2, LS2R,
LS3, and LS3R are available in VT300 mode only.
Table 8-10
Locking Shifts
Control Name
LS0
(Locking shift 0)
LS1
(Locking shift 1)
LS1R
(Locking shift 1, right)
LS2
(Locking shift 2)
LS2R
(Locking shift 2, right)
LS3
(Locking shift 3)
LS3R
(Locking shift 3, right)
Code
SI
(0F hexadecimal)
SO
(0E hexadecimal)
ESC ~
(1B, 7E hexadecimals)
ESC n
(1B, 6E hexadecimals)
ESC }
(1B, 7D hexadecimals)
ESC o
(1B, 6F hexadecimals)
ESC |
(1B, 7C hexadecimals)
Function
Map G0 into GL
(default).
Map G1 into GL.
Map G1 into GR.
Map G2 into GL.
Map G2 into GR.
Map G3 into GL.
Map G3 into GR.
Received Codes
Received codes are codes the wireless station receives from an application or host computer. The following pages describe received codes, and the action taken by the wireless station when it receives the codes from an application or host.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-17
SECTION 8
"
Programming
Select C1 Controls
" NOTE:
Select C1 controls (code extension announcers) control the representation of C1 control codes returned to the application. The wireless station supports select 7-bit C1 control transmission (Table 8-11), which converts all C1 codes returned to the application to their equivalent 7-bit code extensions.
The wireless station also supports select 8-bit C1 control transmission, which returns C1 codes to the application without converting them to their equivalent 7-bit code extensions.
The wireless station does not support DECSCL sequences.
Table 8-11
Select C1 Controls
Transmission Sequence Wireless Station Action
Select 7-bit C1
Control
(S7C1T)
ESC sp F Converts all C1 codes returned to the application to their equivalent
7-bit code extensions.
Select 8-bit C1
Control
(S8C1T)
ESC sp G Returns C1 codes to the application without converting them to their equivalent 7-bit code extensions.
8-18
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Terminal Modes
A mode is one of several operating states used by the wireless station. Table 8-12 lists selectable terminal modes and the action taken by the wireless station in set mode and reset mode.
Table 8-12
Selectable Terminal Modes
Set Mode
Mode
(Mnemonic) Reset Mode Sequence* Wireless Station Action
Keyboard action
(KAM)
Locked
Unlocked
CSI 2 h
CSI 2 l
Locks the keyboard for all following keystrokes.
Unlocks the keyboard.
Insert/
Replace
(IRM)
Insert CSI 4 h Selects insert mode. New display characters move old display characters to the right. Characters moved past the right margin are lost. Text moved into a protected character field is lost.
Send/Receive
(SRM))
Replace
Off
On
CSI 4 l
CSI 1 2 h
CSI 1 2 l
If erasure mode (ERM) is reset, text moved into a protected character field is lost.
Selects replace mode. New display characters replace old display characters at the cursor position. The old character is erased.
Disables local echo. When the wireless station sends characters to the host, the host must echo them back to the display.
Enables local echo. When the wireless station sends characters, they are automatically sent to the display.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-19
SECTION 8
"
Programming
Table 8-12 (Continued)
Selectable Terminal Modes
Mode
(Mnemonic)
Line feed/
New line
(LNM)
Set Mode
Reset Mode
New line CSI 2 0 h
Cursor key
(DECCKM)
ANSI/VT52
(DECANM)
Line feed
Application
Cursor
(None)
VT52
CSI 2 0 l
CSI ? 1 h
CSI ? l l
(None)
CSI ? 2 l
Column
(DECCOLM)
132 column CSI ? 3 h
(DECCOLM) 80 column
CSI ? 3 l
Scrolling
(DECSCLM)
Smooth
Jump
CSI ? 4 h
CSI ? 4 l
Causes a received LF, FF, or VT code to move the cursor to the first column of the next line. “Return” sends both a
CR and an LF code.
Causes a received LF, FF, or VT code to move cursor to the next line in the current column. “Return” sends a CR code only.
Causes cursor keys to send application control functions.
Causes cursor keys to send ANSI cursor control sequences.
Not applicable.
Ignores this code.
Ignores this code.
Selects 80 columns per line.
Ignores this code.
Lets the wireless station add lines to the display as fast as possible.
8-20
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Table 8-12 (Continued)
Selectable Terminal Modes
Mode
(Mnemonic)
Set Mode
Reset Mode
Screen
(DECSCNM)
Reverse
(DECSCNM) Normal
Origin
(DECOM)
Auto wrap
(DECAWM)
Auto repeat
(DECARM)
Print form feed
(DECPFF)
Origin
Absolute
On
Off
On
Off
On
Off
CSI ? 5 h
CSI ? 5 l
CSI ? 6 h
CSI ? 6 l
CSI ? 7 h
Ignores this code.
Selects normal (light characters on a dark background).
Ignores this code.
Ignores this code.
Graphic display characters received when the cursor is at right margin appear on the next line. The display scrolls up if cursor is at end of the scrolling region.
CSI ? 7 l Graphic display characters received when cursor is at right margin replace previously displayed characters.
CSI ? 8 h
CSI ? 8 l
Ignores this code.
Ignores this code.
CSI ? 18 h Selects form feed (FF) as print termination character. The wireless station sends this character to the printer after each print screen operation.
CSI ? 18 l Selects no termination character. The wireless station does not send an FF to the printer after each print screen operation.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-21
SECTION 8
"
Programming
Table 8-12 (Continued)
Selectable Terminal Modes
Mode
(Mnemonic)
Print extent
(DECPEX)
Set Mode
Reset Mode
Full screen CSI ? 19 h Selects full screen to print during a print screen operation.
Scrolling region
CSI ? 19 l Selects scrolling region to print during a print screen operation.
Text cursor enable
(DECTCEM)
Keypad
(DECKPAM/
DECPNM)
Visible
Not visible
Application
CSI ? 25 h
CSI ? 25 l
ESC =
Makes the cursor visible.
Makes the cursor not visible.
Keypad keys send application control functions.
Numeric ESC >
Character set
(DECNRCM)
National CSI ? 42 h Ignores this code.
(DECNRCM) Multinational CSI ? 42 l
Ignores this code.
Back arrow key mode
Backspace CSI ? 6 7 h The arrow key moves cursor back one space and deletes the character. It sends a BS character to the host.
Delete
Keypad keys send characters that match the numeric, comma, period, and minus sign keys on main keypad.
PF1--PF4 send control functions.
CSI ? 6 7 l The arrow key deletes the character at the cursor position. It sends a DEL character to the host.
8-22
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Cursor Positioning
" NOTE:
The cursor indicates the position where the next character appears. The wireless station supports all cursor positioning sequences (Table 8-13).
Pn is a variable, ASCII-coded, numeric parameter.
Table 8-13
Cursor Positioning
Name (Mnemonic)
Cursor up
(CUU)
Cursor down (CUD)
Cursor forward
(CUF)
Cursor backward
(CUB)
Cursor position
(CUP)
Horizontal and vertical positions
(HVP)
Index
(IND)
Sequence
CSI Pn A
CSI Pn B
CSI Pn C
Wireless Station Action
Moves cursor up Pn lines in the same column. Cursor stops at top margin.
Moves cursor down Pn lines in the same column. Cursor stops at bottom margin.
Moves cursor right Pn columns. Cursor stops at right margin.
CSI Pn D Moves cursor left Pn columns. Cursor stops at left margin.
CSI Pl ; Pc H Moves cursor to Line P1, Column Pc.
CSI Pl ; Pc f
ESC D
Moves cursor to Line P1, Column Pc.
This is an 8-bit control character (84 hexadecimal) that can be expressed as an escape sequence for a 7-bit environment.
IND moves the cursor down one line in the same column. If cursor is at bottom margin, display scrolls up.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-23
SECTION 8
"
Programming
Name (Mnemonic)
Reverse index
(RI)
Next line
(NEL)
Save cursor
(DECSC)
Restore cursor
(DECRC)
ESC E
ESC 7
ESC 8
Table 8-13 (Continued)
Cursor Positioning
Sequence
ESC M
Wireless Station Action
This is an 8-bit control character (8D hexadecimal) that can be expressed as an escape sequence for a 7-bit environment. RI moves the cursor up one line in the same column. If the cursor is at top margin, the display scrolls down.
This is an 8-bit control character (85 hexadecimal) that can be expressed as an escape sequence for a 7-bit environment.
NEL moves the cursor to the first position on the next line. If the cursor is at bottom margin, the display scrolls up.
Saves the following into memory: cursor position, graphic rendition, character set shift state, state of wrap flag, state of origin mode, state of selective erase.
Restores the states described for DECSC.
If none of these characteristics were saved the cursor moves to home position, origin mode is reset, no character attributes are assigned, and the default character set mapping is established.
8-24
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Tab Stops
Tab stops are selected based on the vertical column of the display. When the wireless station receives a horizontal tab code (HT, 09 hexadecimal), the cursor tabs to the next tab stop. If no tab stops exist, the cursor tabs to the right margin.
The wireless station supports both tab stop sequences
(Table 8-14). The wireless station supports “global” line tab stops only. It does not allow tab set and clear on every character on every line as for a VT220.
Table 8-14
Tab Stops
Name
(Mnemonic) Sequence Wireless Station Action
Horizontal tab set
(HTS)
ESC H Sets a tab stop at the current column. HTS is an 8-bit control character (88 hexadecimal) that can also be expressed as an escape sequence when coding for a 7-bit environment.
Tabulation clear
(TBC)
CSI g
CSI 0 g
CSI 3 g
Clears a horizontal tab stop at cursor position.
Clears a horizontal tab stop at cursor position.
Clears all horizontal tab stops.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-25
SECTION 8
"
Programming
Character Rendition and Attributes
Character rendition and attributes affect how a character is displayed, without changing the character. Select graphic rendition sequences change character rendition. The select character attribute sequence designates characters as erasable or non-erasable.
Select Graphic Rendition (SGR)
Table 8-15 lists select graphic rendition sequences and the action taken by the wireless station.
Table 8-15
Select Graphic Rendition
Graphic Rendition
All attributes off
Display bold
Display underscored
Display blinking
Display negative
(reverse) image
Display normal intensity
Sequence and Ps
(Single Parameter) Wireless Station Action
CSI 0 m Turns all attributes off.
CSI 1 m
CSI 4 m
CSI 5 m
CSI 7 m
CSI 2 2 m
Display not underlined CSI 2 4 m
Display not blinking CSI 2 5 m
Display positive image CSI 2 7 m
Translates bold to reverse video.
Displays underscored.
Ignores this code.
Displays negative
(reverse) image.
Displays normal intensity.
Displays not underlined.
Ignores this code.
Displays positive image.
8-26
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Select Character Attributes
(DECSCA)
The wireless station ignores select character attributes
(Table 8-16).
All attributes off
Table 8-16
Select Character Attributes
Character Attribute
Designate characters as non-erasable by DECSEL/
DECSED
Designate character as erasable by DECSEL/DECSED
Sequence and Ps
CSI 0 I q
CSI 1 I q
CSI 2 I q
Wireless Station
Action
Ignores this code.
Ignores this code.
Ignores this code.
Line Attributes
Line attributes affect an entire display line. The cursor selects the line affected by the attribute. It stays in the same character position when the attribute changes, unless the attribute would move the cursor past the right margin. In this case, the cursor stops at the right margin. When scrolling, the attribute moves with the line.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-27
SECTION 8
"
Programming
Double-Height Line (DECDHL)
Double-height line sequences make the line with the cursor the top or bottom half of a double-height, double-width line.
The wireless station ignores these sequences (Table 8-17).
Table 8-17
Double-Height Line
Line
Attribute
Double-height, double-width
Half
Top
Sequence
ESC # 3
Bottom ESC # 4
Wireless Station
Action
Ignores this code.
Ignores this code.
Single-Width Line (DECSWL)
The wireless station supports the single-width line
(Table 8-18).
Table 8-18
Single-Width Line
Line
Attribute
Single-width, single-height
Sequence Wireless Station Action
ESC # 5 Makes the line with the cursor single-width, single-height. This is the line attribute for all new lines on the display.
Double-Width Line (DECDWL)
Double-width line makes the line with the cursor doublewidth, single-height. The wireless station ignores this sequence (Table 8-19).
8-28
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Table 8-19
Double-Width Line
Line Attribute Sequence
Double-width, single-height
ESC # 6
Wireless Station Action
Ignores this code.
Erasure Mode
Erasure mode (ERM) determines whether erasing functions
(ECH, erase character; EL, erase in line; and ED, erase in display) can edit protected characters. Table 8-20 lists erasure mode sequences.
" NOTE:
In edit mode (DECEDM), ERM affects editing functions IL, DL, ICH, and DCH.
Table 8-20
Erasure Mode
Mode Sequence Comments
Set CSI 6 h Erasing functions ECH, EL, and ED can affect all protected and unprotected characters.
Reset CSI 6 l Erasing functions ECH, EL, and ED can affect only unprotected characters.
Table 8-21 lists the erasing and editing functions that ERM affects. ERM also affects the independent style of character protection.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-29
SECTION 8
"
Programming
Table 8-21
Control Functions Affected by Character Protection
Always Affected
Affected if Edit Mode
(DECEDM) is Set
Erase character (ECH) Insert character (ICH)
Erase in line (EL)
Erase in display (ED)
Insert line (IL)
Delete character (DCH)
Delete line (DL)
Editing
Editing sequences insert and delete characters and lines of characters at the cursor position. The position does not change when lines are inserted or deleted. The wireless station supports all editing sequences (Table 8-22).
Pn is a variable, ASCII-coded, numeric parameter.
" NOTE:
Table 8-22
Editing
Name
(Mnemonic) Sequence Wireless Station Action
Insert line
(IL)
CSI Pn L Inserts Pn lines at the cursor. If fewer than Pn lines remain from the current line to the end of the scrolling region, the number of lines inserted is the lesser number. Lines within the scrolling region at and below the cursor move down. Lines moved past bottom margin are lost. The cursor is reset to Column 1. Sequence is ignored when cursor is outside the scrolling region. In edit mode (DECEDM), if erasure mode (ERM) is reset, lines that move down into a line with a protected character field are lost.
8-30
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Table 8-22 (Continued)
Editing
Name
(Mnemonic)
Delete line
(DL)
Insert characters (ICH)
Delete character (DCH)
Sequence Wireless Station Action
CSI Pn M Deletes Pn lines, starting at the line with the cursor.
If fewer than Pn lines remain from the current line to the end of the scrolling region, the number of lines deleted is the lesser number. As lines are deleted, the lines within the scrolling region and below the cursor move up, and blank lines are added at the bottom of the scrolling region. The cursor is reset to Column 1.
Sequence is ignored when cursor is outside the scrolling region.
In edit mode (DECEDM), if erasure mode (ERM) is reset, DL cannot delete lines that have protected characters. As lines are deleted, the area moved up is bounded by the bottom of the scrolling region, or by the next line with a protected character field.
CSI Pn @ Inserts Pn blank characters at the cursor position, with the character attributes set to normal. The cursor does not move and remains at the beginning of the inserted blank characters. A parameter of 0 or 1 inserts one blank character. Data on the line is shifted forward as in character insertion. In edit mode
(DECEDM), if erasure mode (ERM) is reset, text moved into a protected character field is lost.
CSI Pn P Deletes Pn characters, starting with the character at the cursor position. When a character is deleted, all characters to the right of the cursor move to the left.
This creates a space character at the right margin for each character deleted.
Character attributes move with the characters.
Spaces created at the end of the line have all of their character attributes off. In edit mode (DECEDM), if erasure mode (ERM) is reset, DCH cannot delete protected characters.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-31
SECTION 8
"
Programming
Erasing
Erasing deletes characters in the wireless station’s display without affecting other characters. Erased characters are lost. Cursor positioning does not change when characters or lines are erased. Table 8-23 lists erasing sequences and the action taken by the wireless station.
Table 8-23
Erasing
Name
(Mnemonic)
Erase character
(ECH)
Erase in line
(EL)
Sequence Wireless Station Action
CSI Pn X Erases characters at the cursor position and the next Pn-1 character. A parameter of 0 or 1 erases a single character. Character attributes are set to normal. No reformatting of data on the line occurs.
The cursor remains in the same position.
CSI K
CSI 0 K
CSI l K
CSI 2 K
If erasure mode (ERM) is reset, ECH cannot erase protected characters.
Erases from the cursor to the end of the line, including the cursor position. Line attribute is not affected. If erasure mode (ERM) is reset, EL cannot erase protected characters.
Same as CSI K.
Erases from beginning of the line to the cursor, including the cursor position. Line attribute is not affected.
Erases the complete line.
8-32
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Table 8-23 (Continued)
Erasing
Name
(Mnemonic)
Erase in display
(ED)
Selective erase in line
(DECSEL)
Selective erase in display
(DECSED)
Sequence
CSI J
CSI 0 J
CSI 1 J
CSI 2 J
Wireless Station Action
Erases from cursor to the end of display, including the cursor position. Line attribute is single-height, single-width for all completely erased lines.
If erasure mode (ERM) is set, ED cannot erase protected character positions.
Same as CSI J.
Erases from the beginning of the display to the cursor, including the cursor position. Line attribute becomes single-height, single-width for all completely erased lines.
Erases complete display. All lines are erased and changed to single-width. The cursor does not move.
Ignores these codes.
CSI ? K
CSI ? 0 K
CSI ? 1 K
CSI ? 2 K
CSI ? J
CSI ? 0 J
CSI ? 1 J
CSI ? 2 J
Ignores these codes.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-33
SECTION 8
"
Programming
Scrolling Margins (Top and Bottom)
The scrolling region is the area of the wireless station’s display that can receive new characters by scrolling old characters off the display. The area is defined by the top and bottom display margins (Table 8-24). The smallest scrolling region allowed is two lines. The number of the top margin must be at least one less than the number of the bottom margin.
Table 8-24
Scrolling Margins (Top and Bottom)
Name
(Mnemonic)
Set top and bottom margins
(DECSTBM)
Sequence Wireless Station Action
CSI Pt ; Pb r Sets top and bottom scrolling margins. The value of Pt must be less than Pb. Moves the cursor to Column 1, Line 1 of the page.
Printing
" NOTE:
Select print operations with control sequences (Table 8-25).
When characters are printed on the screen, printer tab stops are ignored. Print characters are spaced with the SP character. The wireless station sends a carriage return and line feed, vertical tab, or form feed after the last printable character on a line (not a space character).
The wireless station ignores printer port DSR exchanges.
8-34
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Table 8-25
Printing
Name Sequence
Auto print mode CSI ? 5 i (turn on)
CSI ? 4 i (turn off)
Printer controller CSI 5 i
Wireless Station Action
Ignores these codes.
Print cursor line
Print screen
CSI 4 i
CSI ? l i
CSI i
CSI 0 i
Turns on printer controller mode. Wireless station sends received characters to the printer without displaying them on the screen. All characters and character sequences except NUL, XON, XOFF, CSI 5 i, and CSI 4 i are sent to the printer. Wireless station does not insert or delete spaces, provide line delimiters, or select the correct printer character set. Keyboard activity is still directed to the host.
Turns off printer controller mode.
Prints the data on the display line with the cursor. Cursor position does not change.
Print-cursor-line sequence is complete when the line prints. No CR/LF is attached to the line.
Prints the screen display (full screen or scrolling region, depending on the print extent DECPEX selection). Printer form feed mode (DECPFF) selects either a form feed (FF) or nothing as the print terminator.
Print screen sequence is complete when the screen prints.
Same as above.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-35
SECTION 8
"
Programming
User-Defined Keys (DECUDK)
The wireless station has 20 user-defined keys (UDKs). You can define the codes of 15 of these keys. The keys are:
"
"
"
"
F6 through F14
F15 (Help)
F16 (Do)
F17 through F20
Use UDKs to store and recall text and commands that you often use with applications. You should refer to your application’s software manual for the commands you can store in user-defined keys.
If you use dual sessions, you can define UDKs for each session. However, you can only save one set of UDK definitions. For each session you can use a total of 256 characters to define UDKs.
Using UDKs
To enter definitions for the 15 UDKs, you program the definitions with DECUDK device control strings. To use a UDK after you have defined it, the wireless station must be in shift lock mode ( not shift mode, such as gold shift or black shift). For example, if you defined the F6 key, you can use it by pressing the shift lock key for the wireless station and then the key sequence for the F6 key. The following chart shows key combinations.
Wireless Station
RT3210
RT1100
RT1700
RT5900
PEN*KEY R 6400
PEN*KEY 6500
Keys
[SFT]+[FUNC]+[F]
[BLACK]+[GOLD]+[BLACK]+[F]
[BLACK]+[GOLD]+[F6]
[SHIFT]+[F6]
[BLUE]+[SHFT]
[Caps Lock]
8-36
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
" NOTE:
" NOTE:
The host system can also define the function keys.
UDK Memory Space
There are 256 bytes of memory space available for the 15
UDKs. Space is supplied on a first come, first serve basis.
When the 256 bytes are full you cannot define any more keys until you clear some of the memory space. Three ways that you can clear space are:
"
"
"
Redefine one or more UDKs by using a DECUDK control string.
Clear one or more UDKs by using a DECUDK control string.
Clear all UDKs with a wireless station power-up or hard terminal reset (RIS) operation.
All UDK key definitions are lost when wireless station power is lost.
Programming UDKs
Use the following device control string format to down-line load definitions for UDKs.
DCS
Device control string introducer
Pc ; Pl
Clear and lock parameters
|
Final character
Ky1/St1;¼Kyn/Stn ST
Key definition string String terminator
Each string component is described on the following pages.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-37
SECTION 8
"
Programming
" NOTE:
DCS indicates the beginning of a device control string.
DCS is an 8-bit C1 character (90 hexadecimal ). You can use ESC P (1B and 50 hexadecimals) for a 7-bit environment.
Pc is the clear parameter that selects how to clear key definitions. The following chart summarizes Pc values and meanings.
Pc
0 (default) or none
1
Meaning
Clear all keys before loading new values.
Clear one key at a time, before loading a new value.
When Pc is 1, the wireless station only clears the keys you are loading. By using a Pc value of 1, you can redefine some keys without redefining them all.
There are 256 bytes of memory for all UDKs. A key definition can only use the number of bytes available when that key is loaded.
If Pc is 1, a key load may fail because no memory space is available. The reason for this is, with Pc set to 1, keys are cleared and loaded sequentially. If the new definition for a key is larger than the old one you may exceed the 256-byte limit.
For example, suppose F6 contains 120 bytes, F7 contains
110 bytes, and F8 contains 20 bytes. You try to load F8 with 40 bytes, F6 with 1 byte, and F7 with 1 byte, in that order. This works if all keys are cleared first (Pc is 0), but not if keys are cleared one at a time (Pc is 1). When you try to load F8 with 40 bytes, the load fails because only 26 bytes are free at that time. (256 maximum -- 120 in F6 --
110 in F7 = 26.)
Pl is the lock parameter. Pl determines whether the key definitions are locked or unlocked after you load them. The following chart summarizes Pl values and meanings.
8-38
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
" NOTE:
" NOTE:
SECTION 8
"
Programming
Pl
0
Meaning
Lock the keys. If you want to load new values into the keys, you must unlock the keys through the wireless station’s VT220 firmware menus.
1 (default) or none Do not lock the keys. The keys are unlocked and can be redefined with another DECUDK string.
If Pl is 1 and the keys are already locked, nothing happens.
The wireless station ignores UDK DSR exchanges.
The wireless station uses a special lock to allow or prevent the programming of UDKs. You can turn on this lock through the wireless station’s VT220 firmware menus or from the host (with a DECUDK device control string). The lock affects all programmable keys. When using the lock follow these guidelines:
"
"
Unlock the keys to define them. The keys must be unlocked before you can define them. You can only unlock the keys through the wireless station’s VT220 firmware menus. If a key is locked and an application tries to redefine the key with a DECUDK sequence, the wireless station ignores the sequence.
Lock the keys to prevent redefinition. You can lock the keys through the wireless station’s VT220 firmware menus or from the host (with a DECUDK sequence). New key definitions are unlocked by default.
The vertical bar (|, 7C hexadecimal) is the final character.
It identifies this control string as a DECUDK.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-39
SECTION 8
"
Programming
F14
Help
Do
F17
F18
F19
F20
Key
F6
F7
F8
F9
F10
F11
F12
F13
Ky1/St1;¼Kyn/Stn are the key definition strings. You include these strings between the final character (|) and the string terminator (ST). Each string consists of a key selector number (Kyn) and a string parameter (Stn), separated by a slash (/, 2F hexadecimal). A semicolon (3B hexadecimal) separates different strings.
The key selector number (Kyn) indicates which key you are defining. Following is a list of definable keys and their identifying values.
32
33
34
26
28
29
31
20
21
23
24
25
Value
17
18
19
String parameters (Stn) are the encoded definition of the keys. String parameters consist of hex pairs in the following ranges:
"
"
"
30 through 39 hexadecimal (0 through 9)
41 through 46 hexadecimal (A through F)
61 through 66 hexadecimal (a through f)
8-40
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
When you combine these hexadecimal values they represent an 8-bit quantity. This method lets you use any of the 256 character codes in the key string. You can enter key definition strings in any order.
The default for Stn is “empty.” The key is undefined.
ST is the string terminator. ST (9C hexadecimal) is a C1
8-bit character. You can use ESC \ (1B and 5C hexadecimals) for a 7-bit environment.
Loading UDKs
Following are some guidelines for loading UDKs.
"
"
"
"
"
Clear UDK memory space before loading new definitions. Use a DECUDK string to clear keys without locking them. Then you can use another DECUDK string to redefine the keys and lock them.
If you redefine a key, the old definition is lost. This may clear some space if the new definition uses fewer bytes than the old one.
There are two ways to lock UDKs, but only one way to unlock them. To lock UDKs, you can use either the wireless station’s VT220 firmware menus or a
DECUDK control string. To unlock UDKs, you must use the wireless station’s firmware menus.
The default value for each key definition is empty.
When you clear UDKs, they are empty.
An invalid hex pair in a DECUDK string is ignored.
Examples of Device Control Strings
This sequence clears UDKs:
DCS 0 ; 1 | ST
This sequence locks UDKs:
DCS 1 ; 0 | ST
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-41
SECTION 8
"
Programming
Suppose you want to define the F20 key to be PRINT without clearing or locking any other keys. The first part of the sequence would look like this:
DCS 1 ; 1 | 3 4 /
where 34 is the code for the F20 key.
After the slash character (2F hexadecimal) you would include the definition. The rest of the sequence after the slash character would be,
5 0 5 2 4 9 4 E 5 4 ST
where the hex encoding for PRINT is:
50 = P
52 = R
49 = I
4E = N
54 = T
The ST character (9C hexadecimal) marks the end of the control string. The complete string is:
DCS 1 ; 1 | 34 / 50 52 49 4E 54 ST
Down-Line Loadable Character Set
The wireless station does not support the ability to create and down-line load a character set of up to 94 characters
(Table 8-26). This character set is also called a dynamically redefinable character set (DRCS).
Table 8-26
Down-Line Loadable Character Set
Function Wireless Station Action
Down-line load DRCS characters Ignores this function.
Clear a down-line loaded character set
Ignores this function.
8-42
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Reports
The wireless station sends reports in response to host computer requests. Reports provide identification (type of terminal). Two categories of reports are available: primary and secondary device attributes, and device status reports.
Device Attributes (DA)
Table 8-27 shows the action taken by the wireless station when it receives primary and secondary device attribute exchanges. During a primary exchange, the host asks for the wireless station’s service class code. The wireless station responds with “I am a service class 2 terminal.” During a secondary exchange the wireless station responds with “I am a VT220 (identification code of 1) family terminal.”
Table 8-27
Device Attributes
Communication
Host to VT220
(request)
VT220 to host
(response)
DA
Exchange Sequence
Primary CSI c
or
CSI 0 c
Meaning
“What is your service code and what are your attributes?”
Secondary CSI > c
or
CSI > 0 c
“What type of terminal are you, what is your firmware version, what hardware options do you have installed?”
Primary CSI ? Pv;¼Pvc CSI ? 62 c (I am a VT220).
Secondary CSI > l; Py; Po c CSI > 1 c (I am a VT220).
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-43
SECTION 8
"
Programming
Device Status Reports (DSR)
Table 8-28 shows the action taken by the wireless station when it receives device status report exchanges, when the host computer asks for the general operating status of the wireless station or printer, or both. If the wireless station is in printer controller mode, the printer receives the DSR request but cannot answer.
Table 8-28
Device Status Reports
DSR Exchange Communication
VT220
Host to VT220
(Request for terminal status)
VT220 to host
(DA response)
Host to VT220
(Request for cursor position)
Printer port
User-defined
Keyboard language
VT220 to host
(CPR response)
Host to VT220
(Request for printer status)
VT220 to host
Host to VT220
(Request for UDK status)
VT220 to host
Host to VT220
(Request for keyboard language)
VT220 to host
Sequence
CSI 5 n
CSI 0 n
or
CSI 3 n
CSI 6 n
CSI Pv; Ph R
Wireless Station
Action
Ignores this code.
Ignores these codes.
“Please report your cursor position using a CPR (not DSR) control sequence.”
“My cursor is positioned at _____ (Pv);
_____ (Ph).” (Pv=row,
Ph=column)
Ignores this code.
Ignores these codes.
CSI ? 15 n
CSI ? 13 n
CSI ? 10 n
CSI ? 11 n
CSI ? 25 n
CSI ? 20 n
CSI ? 21 n
CSI ? 26 n
Ignores this code.
Ignores these codes.
Ignores this code.
CSI ? 27; Pn n Ignores this code.
8-44
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Identification
The identification sequence is not recommended. The wireless station supports the identification sequence
(Table 8-29).
Table 8-29
Identification
Name
(Mnemonic)
Identification
(DECID)
Sequence
ESC Z
Wireless Station Action
Ignores this code.
Terminal Reset
Terminal reset escape sequences cause either a soft terminal reset or a hard terminal reset. Table 8-30 shows the action taken by the wireless station when it receives terminal reset sequences.
Table 8-30
Terminal Reset
Name
(Mnemonic)
Soft terminal reset (DECSTR)
Hard terminal reset (RIS)
Sequence Wireless Station Action
CSI ! p Ignores this code.
ESC c Performs a communications line disconnect.
Clears the display.
Returns the cursor to the upper-left corner of the display.
Sets the SGR state to normal.
Sets all character sets to the default.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-45
SECTION 8
"
Programming
Tests and Adjustments
The wireless station has adjustment patterns you can invoke from the host computer with escape sequences. Adjustment sequences send uppercase E’s to the wireless station’s display. Adjustment procedures are usually done only by qualified technicians. For more information, contact the
Customer Response Center at the phone numbers listed in the introduction to this programmer’s reference guide.
Table 8-31 shows the action taken by the wireless station when it receives test and adjustment sequences.
Table 8-31
Tests and Adjustments
Name
(Mnemonic) Sequence
Tests
(DECTST)
Wireless Station
Action
CSI 4 ; Ps ; ..... ; Ps y Ignores this code.
Adjustments
(DECALN)
ESC # 8 Fills display with uppercase E’s.
VT52 Mode Escape Sequence
The wireless station does not support VT52 mode, which allows the VT220 to operate with DEC software written for
VT52 terminals.
8-46
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Define Area Qualification
The define area qualification (DAQ) command indicates that the active position is the first character position of a qualified area. The end of a qualified area is indicated by the beginning of the following qualified area. The qualifications of the area are specified according to the parameter(s).
Table 8-32 lists qualification sequences.
Qualification
Accept all input
Accept no input (protected) and do not transmit (guarded)
Accept graphics
Accept numerics
Accept alphabetics
Right justify in area
Zero fill in area
Horizontal tab stop at start of area
Accept no input (protected), but select for transmission
(unguarded)
Space fill in area
Invisible
Table 8-32
Define Area Qualification
Sequence and Ps
(Single Parameter) Wireless Station Action
CSI 0 o Accepts all input.
CSI 1 o Accepts no input.
CSI 2 o
CSI 3 o
CSI 4 o
CSI 5 o
CSI 6 o
CSI 7 o
CSI 8 o
CSI 9 o
CSI 1 0 o
Accepts graphics.
Accepts numerics.
Accepts alphabetics.
Right justifies area.
Fills area with zeroes.
Places a horizontal tab stop at the start of the area.
Accepts no input.
Fills area with spaces.
Makes passwords invisible.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-47
SECTION 8
"
Programming
Private Sequences
Private sequences enable or disable the autosend
(Table 8-33).
Table 8-33
Private Sequence
Mode Sequence* Wireless Station Action
Set ESC [ = 3 l Enables autosend. Transmits the screen when the last field is filled. If you are on the last defined field and get data from the bar code reader or RS-232 port, the display will also be automatically sent even if the field not filled.
Reset ESC [ = 3 h Disables autosend. Only transmits when a terminating key is pressed.
* The last character of the set mode sequence is lowercase L
(6C hexadecimal).
Proprietary Sequences
Line Edit and Character Modes
Two proprietary escape sequences enable the host to put the wireless station into line edit (block) mode or character mode (Table 8-34). Note that the wireless station enters character mode when it is cold-started.
8-48
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Table 8-34
Line Edit and Character Mode Sequences
Mode
Line edit
Sequence*
CSI = 1 l
Character CSI = 1 h
* The last character of the line edit mode sequence is lowercase
L (6C hexadecimal).
Norcompress
The norcompress function (Table 8-35) handles the norrc command, where “a” is the number of iterations that “b” occurs in the datastream.
Table 8-35
Norcompress
Name
Norcompress
Sequence
CSI a;bz
VT330/VT340 Applications
VT330/VT340 terminal applications supported by the wireless station include setting the right margin, using control functions, and creating text forms.
Right Margin
The wireless station’s display contains 2 to 80 columns. To ensure that the cursor will not go beyond Column Pn, use the following sequence to set the number of columns (Pn is a number from 2 to 80):
CSI Pn $
¦
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-49
SECTION 8
"
Programming
Control Functions
In editing mode you can use the erasure, deletion, and insertion control functions. The character protection field lets you design text forms that cannot be changed or overwritten. In edit mode, character protection also depends on the setting of erasure mode (ERM):
"
"
If ERM is set all characters can be changed, erased, and moved, regardless of protection.
If ERM is reset only unprotected characters can be changed, erased, and moved. These control functions will not affect protected areas in page memory:
Insert line (IL)
Delete line (DL)
Insert character (ICH)
Delete character (DCH)
Erase in display (ED)
Erase in line (EL)
Erase character (ECH)
Text Forms
When using C1 control characters SPA, EPA, SSA, and ESA to create forms on the host, the rows and columns to which the cursor moves must be in sequential order. The following example shows some sequences that create a text form.
8-50
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Sequence
ESC [ 1; 1 H
ESC [ 2 J
ESC [ ? 10 h
ESC V
ESC [ 1 ; 2 H
ESC [ 1; 17 H
“Manufacturing”
“Receiving”
ESC [ 2; 1 H
“LIP:”
ESC [ 1 D
ESC W
ESC [ l C
ESC F
ESC [ 2; 15 H
ESC G
ESC V
ESC [ 3; 1 H
“Item:”
ESC [ 1 D
ESC W
ESC [ 1 C
ESC F
ESC [ 3; 16 H
ESC G
ESC V
ESC [ 4; 1 H
“Lot:”
ESC [ 1 D
Description
Home cursor.
Clear screen.
Start local editing mode.
Start protected area.
Move cursor to Row 1, Column 2.
Move cursor to Row 1, Column 17.
Display literal.
Display literal.
Move cursor to Row 2, Column 1.
Display literal.
Move cursor back one position.
End protected area.
Move cursor forward one position.
Start selected area.
Move cursor to Row 2, Column 15.
End selected area.
Start protected area.
Move cursor to Row 3, Column 1.
Display literal.
Move cursor back one position.
End protected area.
Move cursor forward one position.
Start selected area.
Move cursor to Row 3, Column 16.
End selected area.
Start protected area.
Move cursor to Row 4, Column 1.
Display literal.
Move cursor back one position.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-51
SECTION 8
"
Programming
(Continued)
Sequence
ESC W
ESC [ 1 C
ESC F
ESC [ 4; 9 H
ESC G
ESC V
ESC [ 5; 1 H
“Qty:”
ESC [ 1 D
ESC W
ESC [ 1 C
ESC F
ESC [ 5; 13 H
ESC G
ESC V
ESC [ 24; 80 H
ESC W
ESC [ 26 $ |
ESC [ 1; 8 r
ESC [ 3 g
ESC [ 2; 5 H
Description
End protected area.
Move cursor forward one position.
Start selected area.
Move cursor to Row 4, Column 9.
End selected area.
Start protected area.
Move cursor to Row 5, Column 1.
Display literal.
Move cursor back one position.
End protected area.
Move cursor forward one position.
Start selected area.
Move cursor to Row 5, Column 13.
End selected area.
Start protected area.
Move cursor to Row 24, Column 80.
End protected area.
Set the number of columns to 26.
Set top at 1, bottom at 8 rows.
Clear tab stops.
Move cursor to Row 2, Column 5.
8-52
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
If this information is entered on the form:
111111111
2222222222
3333
44444444
for “LIP:” for “Item:” for “Lot:” for “Qty:”
The data stream will be sent to the host as indicated in the following chart. (If guarded area transfer mode (GATM) is reset, then the record separator is processed as a protected field entry.)
Sequence
RS
RS
111111111
RS
RS
2222222222
RS
RS
3333
RS
RS
44444444
RS
RS
RS
RS
Description
Protected field Line 1.
First protected field Line 2.
Selected field Line 2.
Second protected field Line 2.
First protected field Line 3.
Selected field Line 3.
Second protected field Line 3.
First protected field Line 4.
Selected field Line 4.
Second protected field Line 4.
First protected field Line 5.
Selected field Line 5.
Second protected field Line 5.
Protected field Line 6.
Protected field Line 7.
Protected field Line 8.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-53
SECTION 8
"
Programming
Transmitted Keyboard Codes
Transmitted codes are codes generated by the wireless station’s keys and sent to the host computer or software application in use. The following pages describe the capability of the wireless stations to emulate codes generated by the
VT220 terminal keyboard’s main keypad, editing keypad, auxiliary keypad, and top-row function keys.
Codes are sent via line edit (block) mode or optimized character mode selected through the keyboard function labeled
MODE on the overlay.
Line Edit Mode
Line edit (block) mode is a synchronous condition where the wireless station temporarily stores or “buffers” keys you press. It sends the cumulative data to the host computer when you press one of the following terminating keys:
[ENTER]
[F6] through [F20], [PF1] through [PF4]
[CTRL]+[A] through [CTRL]+[Z]
Forward tab
DEL (7F hexadecimal)
Backspace
The following also apply to line edit mode:
"
"
"
"
When you press [PF1], the following key will also be transmitted directly to the host computer.
When scanning, the wireless station automatically enters line edit mode for each individual scan. When it completes scanning, it returns to the mode it was set at before it started scanning.
For codes generated by the cursor control key, see page
8-58.
For codes generated by the keypad keys, see page
8-59.
8-54
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Character Mode
Character mode (the default) is a condition where the wireless station sends, to the host computer, each key as you press it. You should place the wireless station into character mode during these situations:
"
When the wireless station should immediately send information to the host computer. This operation is called “type ahead.”
"
When the wireless station’s keyboard sends a character to the display as well as to the host. This operation is called “local echo.” If local echo is disabled, the host receives the character from the wireless station and then sends the return response.
To alternate between line edit and character modes, press the correct sequence of keys from the chart below. An annunciator in the wireless station’s display indicates the current mode.
Series Key Sequences
RT1100 and RT1700 [BLACK]+[Y]
RT5900
PEN*KEY 6400
PEN*KEY 6500
[GOLD]+[F5]
[GOLD]+[1]
[GOLD]+[PF1]
Transmitted Keyboard Keys
The following pages describe codes generated by main keypad keys, editing keys, auxiliary keys, and top-row function keys.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-55
SECTION 8
"
Programming
Main Keypad
The wireless station emulates all of the standard and most of the special function keys on the VT220 main keypad.
The standard keys generate letters, numbers, and symbols, either alone or in combination with other keys. The function keys generate special function codes.
Table 8-36 lists the codes generated by the special function keys.
Table 8-36
Special Function Keys and Codes Generated
VT220 Key
Delete
Tab
Return
Code
DEL (7F hexadecimal).
HT (09 hexadecimal).
CR (0D hexadecimal) or CR (0D hexadecimal) LF (0A hexadecimal).
Ctrl
Shift
Does not send a code when used alone; always used in combination with another key to send a control code.
Does not send a code when used alone; sends uppercase characters when used with other standard keys.
Lock
Space bar
None.
SP (20 hexadecimal).
Compose character None.
8-56
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Editing Keypad
The wireless station has editing keys and cursor control keys. Editing keys have functions assigned to them by the application software in use. Refer to your VT220 application software manual for the uses of the editing keys.
Editing Keys
Table 8-37 lists the codes generated by the editing keys.
Table 8-37
Editing Keys and Codes Generated
Find
Insert here
Remove
Select
Prev screen
Next screen
CSI 1 ~
CSI 2 ~
CSI 3 ~
CSI 4 ~
CSI 5 ~
CSI 6 ~
Cursor Control Key
Table 8-38 lists codes generated by the wireless stations’ cursor control keys.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-57
SECTION 8
"
Programming
Table 8-38
Cursor Control Key and Codes Generated
Wireless Station
Key
Up arrow
Down arrow
Right arrow
Left arrow
Cursor Key Mode
Reset (Normal)
CSI A
CSI B
CSI C
CSI D
Cursor Key Mode
Set (Application)
SS3 A
SS3 B
SS3 C
SS3 D
Sending Host Cursor Keys
In keyboard unshifted and shifted modes, the cursor control key sends a host cursor key to the host computer. The cursor control key emulates the arrow keys of a VT220 terminal in either their normal arrow key mode or application mode, depending on the state set by the programmer. See
“Keyboard Codes” discussed later in this section.
To Send to Host
Host cursor right key
Host cursor left key
Host cursor up key
Host cursor down key
Host cursor right key
Host cursor left key
Host cursor up key
Host cursor down key
Press Wireless Station Key(s)
["]
[A ]
[Y]
[B]
[SFT]+["]
[SFT]+[A]
[SFT]+[Y]
[SFT]+[B]
8-58
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Auxiliary Keypad
Auxiliary keys enter numeric data. The application software in use can also assign functions to these keys; refer to your VT220 application software manual for their uses.
Table 8-39 shows codes generated by the auxiliary keys in keypad application mode.
5
6
3
4
1
2
VT220 Key
0
7
8
9
-- (hyphen)
, (comma)
. (period)
Enter
PF1
PF2
PF3
PF4
Table 8-39
Auxiliary Keys and Codes Generated
Keypad Mode
SS3 p
SS3 q
SS3 r
SS3 s
SS3 t
SS3 u
SS3 v
SS3 w
SS3 x
SS3 y
SS3 m
SS3 l
SS3 n
SS3 M
SS3 P
SS3 Q
SS3 R
SS3 S
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-59
SECTION 8
"
Programming
Top-Row Function Keys
Function keys [F1] through [F4] on the wireless station’s keyboard have been assigned the VT220 [PF1] through
[PF4] definitions. On the VT220 terminal’s keyboard, function keys [F1] through [F5] are used for hold screen, print screen, set-up, data/talk, and break. The wireless station supports only the break function, which is [F5] on the wireless station’s keyboard.
Wireless stations emulate the remaining VT220 terminal top-row function keys ([F6] through [F20]), which have functions assigned to them by the application software in use. Refer to your VT220 application software manual for the uses of these keys. Table 8-40 lists function keys.
Table 8-40
Top-Row Function Keys and Codes Generated
F12
F13
F14
F15
F16
F17
F18
F19
F20
VT220 Key
F5
F6
F7
F8
F9
F10
F11
Code
None
CSI 1 7 ~
CSI 1 8 ~
CSI 1 9 ~
CSI 2 0 ~
CSI 2 1 ~
CSI 2 3 ~
CSI 2 4 ~
CSI 2 5 ~
CSI 2 6 ~
CSI 2 8 ~
CSI 2 9 ~
CSI 3 1 ~
CSI 3 2 ~
CSI 3 3 ~
CSI 3 4 ~
8-60
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Local Edit Mode
If your application software program supports local editing, the wireless station can be programmed to operate in local edit mode. Local edit mode is a feature of the VT330/VT340 terminal. Use the mode to send characters to page memory instead of to the host. The wireless station sends a block of edited text to the host after you press a terminating key.
Wireless station terminating keys in local edit mode are:
[ENTER]
[F1] through [F20]
Edit Mode and Interactive Mode
The edit mode control function (DECEDM) selects edit mode or interactive mode. The function determines when the wireless station sends data to the host. Table 8-41 describes the modes.
Table 8-41
Local Edit Modes
Mode Sequence* Wireless Station Action
Set CSI ? 1 0 h Selects edit mode. (Turns on the annunciator in the display.) The wireless station stores all typed characters in page memory for local editing. After the data is edited, it can be sent in a block to the host.
Reset CSI ? 1 0 l Selects interactive mode. (Turns off the annunciator in the display.) The wireless station immediately sends typed characters to the host.
* The last character in the reset mode sequence is lowercase L
(6C hexadecimal).
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-61
SECTION 8
"
Programming
Local Editing Setup
To use the wireless station in local edit mode, the local editing features must be set up for the application software as described in Table 8-42.
Table 8-42
Local Editing Setup
Feature
Edit mode
Edit key execution mode
Transmit execution mode
Local editing application keys
Line transmit mode
Transfer termination mode
VT131 transfer mode
Space compression
End of line characters
End of block characters
Setting
Edit
Description
Edited text is stored in memory until you press a terminating key, which sends the text to the host.
Not supported.
Immediate The wireless station sends data to the host immediately after you press a terminating key.
Suffix transmit
When you press [F1] through [F20], the wireless station sends that function to the host after sending a block of data.
Disabled
Enabled
Disabled
The wireless station sends a full page of data to the host after you press a terminating key.
After you press a terminating key, the wireless station sends the scrolling region, which is the area inside the scrolling margins.
Not supported.
The wireless station sends a space character for each unused character position.
On the wireless station, no characters indicate the end of a line in a data block.
On the wireless station, no characters indicate the end of a data block.
8-62
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Selecting Characters to Send
Three control functions allow you to define which characters the wireless station can send to the host. Table 8-43 shows how the control functions select which characters the wireless station sends.
Fields Selected
All fields
Unprotected fields only
Selected fields only
Selected field with cursor only
Unprotected and selected fields
Selected field with cursor only
Table 8-43
Selecting Character Fields for Transmission
Guarded Area
Transfer Mode
Set
Reset
Set
Set
Selected Area
Transfer Mode
Set
Set
Reset
Reset
Multiple Area
Transfer Mode
Unavailable
Unavailable
Set
Reset
Reset
Reset
Reset
Reset
Set
Reset
Guarded Area Transfer Mode (GATM)
The guarded area transfer mode control function selects whether the wireless station sends all characters or only unprotected characters to the host. When GATM is unprotected (reset), the wireless station sends a record separator
(RS, 1E hexadecimal) to the host in place of a protected field. Table 8-44 lists guarded area transfer modes.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-63
SECTION 8
"
Programming
Table 8-44
Guarded Area Transfer Modes
Mode
Set
(All)
Sequence* Wireless Station Action
CSI 1 h Selects all characters. During block transmission, the wireless station can send all protected and unprotected characters to the host.
Reset
(Unprotected)
CSI 1 l Selects unprotected characters.
During a block transmission, the wireless station can send only unprotected characters to the host.
* The last character of the reset mode sequence is lowercase L
(6C hexadecimal).
Selected Area Transfer Mode (SATM)
The selected area transfer mode control function determines whether the wireless station can send all characters or only selected characters to the host. Selected characters are characters defined as eligible to send to the host.
Table 8-45 lists selected area transfer modes.
Table 8-45
Selected Area Transfer Modes
Mode
Set
(All)
Reset
(Unprotected)
Sequence* Wireless Station Action
CSI 1 7 h Selects all characters. The wireless station can send selected and unselected characters on the current page to the host.
CSI 1 7 l Selects only selected characters.
The wireless station can only send selected characters on the current page to the host.
* The last character of the reset mode sequence is lowercase L
(6C hexadecimal).
8-64
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Multiple Area Transfer Mode (MATM)
The multiple area transfer mode control function determines what selected character areas the wireless station can send to the host. MATM work only when SATM is reset. Table 8-46 describes multiple area transfer modes.
Table 8-46
Multiple Area Transfer Modes
Mode
Set
(All)
Reset
(Unprotected)
Sequence* Wireless Station Action
CSI 1 5 h The wireless station can send all selected areas on the page to the host.
CSI 1 5 l Selects one area. The wireless station can send only the selected area with the cursor. If the cursor is not in a selected field, the cursor moves to the next selected field.
* The last character of the reset mode sequence is lowercase L
(6C hexadecimal).
Defining Selected Areas
Start selected area (SSA) and end selected area (ESA) control functions select which characters on the current page the wireless station can send to the host. SSA and ESA are
8-bit C-1 control characters that can also be coded as 7-bit escape sequences. The following conditions apply to SSA and ESA:
"
"
They work only when SATM is reset.
If the wireless station receives ESA before SSA, it ignores ESA.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-65
SECTION 8
"
Programming
"
"
If SSA is not followed by ESA on the same page, the
SSA has no effect on that page. Selected areas must always end with ESA.
Selected areas cannot be changed by the ED, EL, or
ECH control functions.
Table 8-47 describes SSA and ESA.
End selected area
(ESA)
Table 8-47
Start Selected Area and End Selected Area
Name (Mnemonic) 8-Bit
Start selected area
(SSA)
SSA
(86 hex.)
ESA
(87 hex.)
7-Bit
Equivalent Wireless Station Action
ESC F
(1B, 46 hex.)
Marks the cursor position as the first of a string of character positions the wireless station can send to the host.
ESC G
(1B, 47 hex.)
Defines the cursor position as the last of a string of character fields the wireless station can send to the host.
Local Edit Mode Keys
Keys with special functions in local edit mode are described in Table 8-48.
8-66
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Table 8-48
Local Edit Mode Keys
Key(s)
Find
Tab
Insert here
Remove
Prev screen
Next screen
Select
Backspace
Delete
A--Z, 0--9,
Auxiliary keypad
Function
Advances cursor to the top margin, Column
1.
Advances cursor to the next tab stop. If in protected area, it advances to the next selectable field. If tab stop is selected, it advances to the next selectable field.
Default mode is “insert.” The key toggles between insert and overstrike. If in insert mode, all following characters in the field are shifted right one position. If the field is full the last character is deleted.
If in protected area, wireless station beeps and the cursor advances to the first position of the next selectable field. If no selectable field is found, it advances to the bottom margin (the default is Row 24, Column 80). If in unprotected field, the field is cleared and the cursor is positioned to the beginning of the selectable field.
Ignores this key.
Ignores this key.
Ignores this key.
Moves cursor one position to the left until it reaches the left margin.
Deletes the previous selectable character.
If one of these keys is pressed while in a protected area, the wireless station beeps, advances the cursor to the next selectable field, and enters the characters. If no other selectable field is found, the cursor advances to the bottom margin.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-67
SECTION 8
"
Programming
Key(s)
Backtab
Cursor [Y]
[B]
["]
[A]
Table 8-48 (Continued)
Local Edit Mode Keys
Function
Cursor moves back to the first occurrence of the following:
"
"
Previous tab stop.
Beginning of the current unprotected field.
"
Beginning of the previous unprotected field.
"
Beginning of scrolling region.
(Also called top margin.)
Cursor moves up one line until it reaches the top margin. The wireless station beeps when the cursor reaches the top margin.
Cursor moves down one line until it reaches the bottom margin. The wireless station beeps when the cursor reaches the bottom margin.
Cursor moves right one character position until it reaches the right margin. The wireless station beeps when the cursor reaches the right margin.
Cursor moves left one character position until it reaches the left margin. The wireless station beeps when the cursor reaches the left margin.
8-68
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 8
"
Programming
Scanning in Local Edit Mode
When scanning is enabled, data from the scanner is placed into the field where the cursor is located. If the cursor is not in an input field, the data from the scanner is placed into the next input field. If the data from the scanner fills the first input field, the remaining characters are placed into the next input field.
When the bar code does not fill the input field, the cursor stays where it ended. If autotab scanning is enabled, the cursor is placed at the beginning of the next input field. If not next input field is found, extra data will be lost.
Set Transmit Termination Character
(DECTTC)
The wireless station supports the set transmit termination character (DECTTC) control function. Use the control function to select a character to indicate the end of a block transmission. You do not need to use an end-of-block character. The wireless station sends the end-of-block character to the host at the end of each block transmission.
The control sequence is:
CSI Ps
ê
Ps is the end-of-block character in the following chart.
Wireless Station
Action
3
4
1
2
5
Ps End-of-Block Character
0 (default) No character (DECTTC disabled)
FF (0C hexadecimal)
ETX (03 hexadecimal)
EOT (04 hexadecimal)
CR (0D hexadecimal)
DC3 (13 hexadecimal)
Form feed
End of text
End of transmission
Carriage return
XOFF
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 8-69
SECTION 8
"
Programming
Use an extended form of DECTTC to select a string of characters to indicate the end of a block. The extended form uses decimal codes to represent characters. You can use the extended form to send a control function at the end of a block transmission, instead of a single character. You can send a control sequence of up to six characters (Pn1 through Pn6) at the end of a block.
The control sequence is:
CSI ? Pn1 ; ¼ Pn6
ê
Pn1 through Pn6 are decimal codes for characters you can define as end-of-block. For example, the decimal code for
ESC is 27 (1B hexadecimal). A code outside the range of 0 to 254 is ignored. The tables on pages 8-4 and 8-8 contain decimal codes for characters.
For example, to send the default code of the PF1 key on the wireless station’s numeric keypad at the end of a block transmission, use the following procedure.
1. The PF1 key sends this default code:
ESC O P
2. Translate each character in the sequence to decimal code.
ASCII characters:
ESC O P
Decimal codes:
27 79 80
3. Insert the decimal codes into the extended DECTTC sequence:
CSI ? 27 ; 79 ; 80
ê
8-70
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Section 9
Extended Commands
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
Overview
Extended commands govern abilities unique to wireless stations. You can use extended commands to print, scan bar codes, and send communications over the wireless station’s
RS-232 port. You can also use extended commands to set wireless station parameters from the host computer. The host computer sends the commands to the wireless station.
The following chart lists the extended commands.
Name Characters
Transmit and Receive On RS-232 Port #F
Transmit Only On RS-232 Port
Receive Only On RS-232 Port
#P
#G
Set Parameters
Return Version
Tone
Scan Bar Code Parameters
#H
#V
#T
#S
To use extended commands, you must enable the extended command feature for the wireless station’s firmware. The following chart describes how to access the firmware’s main menu.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-1
SECTION 9
"
Extended Commands
Series Main Menu
RT1100 and RT1700 [GOLD]+[BLACK]
RT5900
PEN*KEY Ò 6400
[BROWN]+[SPACE]
[GOLD]+[BLUE]
PEN*KEY 6500 [GOLD]+[M]
To enable extended commands, select the following options in this order: SET-UP PARMS, PROTOCOL OPTS, EX-
TENDED CMDS, ENABLED.
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 wireless station’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 sign). The wireless station sends the data to the RS-232 port until it detects a “#” character. 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 assure that all data is present before the extended command is parsed (removed).
9-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Control character sequences for mnemonics APC (application program command) and ST (string terminator) can also start and end data. The last data character must be a “#”
(pound sign). The wireless station sends the data to the
RS-232 port until it detects a “#” character and the string terminator sequence.
The output stream appears in ASCII character format. For bytes that are not displayable ASCII characters, you may insert the characters “=yy,” where “yy” is the hexadecimal representation of the output byte.
Table 9-1 lists columns in which characters must appear.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-3
SECTION 9
"
Extended Commands
2
3
Table 9-1
Transmit and Receive Characters
Line 1, Columns 2--24
Column Character * Description
4
#
F
Extended command.
Transmit and Receive On RS-232 Port command.
Speed (bits per second).
5
6
3
4
1
2
5
6
N
0 (zero)
(Space)
E
O
1200.
2400.
4800.
9600.
19200
38400
Data parity.
None.
None.
None.
Even.
Odd.
Number of data bits.
7
7
8
Seven.
Eight.
Number of stop bits.
1
2
One.
Two.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
9-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Line 1, Columns 2--24
Column Character *
8
Table 9-1 (Continued)
Transmit and Receive Characters
Description
CTS flow control.
0
1
9
10
0
1
Disable.
Enable.
DTR flow control.
Disable. (To avoid improper operation of the RT3210
Radio Terminal and the remote display, DTR flow control should be set to Disable when a remote display is in use.)
Enable.
XON/XOFF flow control.
11--12
0
1
Disable.
Enable.
Flow control timeout value.
13--14
XX dd (or)
Xd¼dX
Number of seconds.
Maximum characters to receive.
“dd” is a decimal digit from 00--99. Default is 99.
“X” is an uppercase literal. “d¼d” is any number of decimal digits from 0--2000 inclusive. Default is 99.
Delimiter character.
15--16
AA Hexadecimal ASCII code that marks the end of data to be received. Range is 00--7E. Default 00 implies no start character.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-5
SECTION 9
"
Extended Commands
Line 1, Columns 2--24
Column Character *
17--18
Table 9-1 (Continued)
Transmit and Receive Characters
Description
Number of delimiter characters.
XX
19--20
21
22
AA
F
(Space)
Number of characters accepted before sending return code to host. Range is 00--99. Default of 00 implies no start character.
Start character.
Hexadecimal ASCII code. Range is 00--99. Default of 00 implies no start character.
Return start character to host.
Return character.
Do not return character.
Flag parity errors.
23--24
P
(Space)
Flag.
Do not flag.
Receive timeout length.
XX
Number of seconds the wireless station waits for input from the RS-232 port before it sends a timeout error.
Uses a default of 5 seconds when field is filled with spaces.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
9-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Flow Control
Transmit supports three types of flow control: CTS, DSR
(RT5900 Series only), and DTR. Use CTS and DSR flow control lines to show XON/XOFF conditions from the output device. Also use them to prevent output when the wireless station has no output device. The DTR of the output device should connect to either the DSR or CTS lines. On the wireless station, DTR is normally low and is raised to indicate that the wireless station is prepared for an RS-232 data exchange.
XON/XOFF is the same XON/XOFF flow control supported by most devices. The timeout value tells the wireless station how long to wait for the flow control handshake before returning a one byte error value.
Return Codes for Transmit and
Receive
The Transmit and Receive return code is the status sent to the host computer. The wireless station returns data and the extended command’s status to the host computer in the following format:
\\X\CC\DATA<CR>
or \\x\cccc\DATA<CR>
“X” is the return code listed in the following chart.
“CC” or “CCCC” is the character count of the data returned.
“CC” is 00--99. “CCCC” is 100--2000.
“DATA” is the RS-232 data received from the RS-232 device attached to the wireless station (if any data was received).
The wireless station simulates the [Enter] key to return the code to the host.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-7
SECTION 9
"
Extended Commands
Code Description Column
6
7
8
9
0
1
4
5
2
3
A
B
C
Good status, transaction complete.
Not enough memory. Or, incorrect setting for speed, number of data bits, number of stop bits, or flow control timeout.
(None)
4, 6, 7, 11--12
No delimiter (#) on data stream.
(None)
Timeout while using CTS flow control.
(None)
Timeout while using DTR flow control. (None)
Timeout while using XON/XOFF flow control.
(None)
(None)
15--16, 19--20
Improper return field.
Hexadecimal value is outside the range of 00--0F.
Reserved.
Incorrect setting for maximum characters to receive.
Incorrect setting for delimiter character.
Incorrect setting for number of delimiter characters.
Incorrect setting for CTS flow control,
DTR flow control, or XON/OFF flow control.
(None)
13--14
15--16
17--18
8, 9, 10
D
E
Incorrect setting for start character.
Incorrect setting for data parity.
f/F * Timeout.
p/P * Data parity or framing error.
19--20
5, 22
(None)
(None)
R Syntax error from RD5500 Remote
Display (not the expected character; no character error was detected).
o/O * Overrun of UART receive register.
(None)
(None)
* An uppercase letter indicates an error from the RS-232 device. A lowercase letter indicates an error from the
RD5500 Remote Display.
9-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Examples of Transmit and Receive
Extended command characters can be started by an APC sequence and ended by an ST sequence, or started by a space and ended by a “#” character.
APC and ST Sequences
When control character sequences for APC and ST start and end data, all the data is on Line 1. A “#” character is before the sequence for ST at the end of the line. Control character sequences are not displayed, which results in a faster transmission rate. Also, the cursor position is not lost.
The following example shows data started and ended by control character sequences. Sequences are prefixed by the notation “ ^ ” which represents “control.”
Column 2 Column 11 Column 23
^9F#F4N8100000500A0102bb10This is data to send send.#^9C
Space and “#” Character
The following example shows a space as the start of the data and a “#” character as the end. The data is on two lines. A “b” indicates a space.
Column 1 Column 11 Column 23 b#F4N8100000500A0102bb10
This is data to send.#
Line 1
Line 2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-9
SECTION 9
"
Extended Commands
6
7
8
4
5
2
3
9
10
11--12
13--14
Following is an example of data transmitted and received on the wireless station’s RS-232 port. A space and “#” character start and end the data.
Column
1
15--16
17--18
19--20
21
22
23--24
0
0
00
50
1
0
N
8
F
4
Character Description
(Space) This column typically contains a space.
# Extended command.
Transmit and Receive command.
9600 baud.
No parity.
Eight data bits.
One stop bit.
No CTS flow control.
0A
01
02
(Space)
(Space)
10
No DTR flow control.
No XON/OFF flow control.
No flow control timeout value.
Receive a maximum of 50 characters.
Delimiter character is 0A hexadecimal (line feed).
Data will be sent to host after one delimiter character has been received.
Start character is 02 hexadecimal
(STX).
Start character will not be returned.
Do not flag parity errors.
Receive timeout length is 10 seconds.
9-10
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Transmit Only On RS-232 Port (#P)
The Transmit Only On RS-232 Port extended command lets the wireless station send information to a slaved RS-232 device, such as a printer or bar code printer. The command uses the RS-232 communications port to send data to the device. The wireless station checks data from the host computer for a transmit sequence, then sends the requested data. The host computer signals the wireless station for a transmit command by inserting the characters “#P” into the display at Line 1, Columns 2 and 3. Characteristics of the transmission immediately follow the #P command.
When constructing a Transmit Only 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 “#.” The wireless station sends the data to the RS-232 port until it detects a “#” character. 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 assure that all data is present before the extended command is parsed (removed).
Control characters sequences for mnemonics APC (application program command) and ST (string terminator) can also start and end data. The last data character must be a “#”
(pound sign). The wireless station sends the data to the
RS-232 port until it detects a “#” character and the string terminator sequence.
The output stream takes the form of ASCII characters. For nondisplayable ASCII characters, you may insert the characters “=yy,” where “yy” is the hexadecimal representation of the output byte.
Table 9-2 lists columns in which characters must appear.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-11
SECTION 9
"
Extended Commands
Table 9-2
Transmit Only Characters
3
4
Line 1, Columns 2--12
Column Character *
2 #
P
Description
Extended command.
Transmit Only On RS-232 Port command.
Speed (bits per second).
5
3
4
1
2
5
6
1200.
2400.
4800.
9600.
19200.
38400.
Data parity.
6
N
0 (zero)
(Space)
O
E
None.
None.
None.
Even.
Odd.
Number of data bits.
7
7
8
1
2
Seven.
Eight.
Number of stop bits.
One.
Two.
CTS flow control.
8
0
1
Disable.
Enable.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
9-12
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Table 9-2 (Continued)
Transmit Only Characters
Line 1, Columns 2--12
Column Character *
9 DTR flow control.
Description
0
1
10
Disable.
Enable.
To avoid improper operation of the RT3210 Radio Terminal and the remote display, DTR flow control should be set to Disable when a remote display is in use.
XON/XOFF flow control.
11--12
0
1
Disable.
Enable.
Flow control timeout value.
XX Number of seconds.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
Flow Control
Transmit Only supports three types of flow control: CTS,
DSR (RT5900 Series only), and DTR. Use CTS and DSR flow control lines to show XON/XOFF conditions from the output device. Also use them to prevent output when the wireless station has no output device. The DTR of the output device should connect to either the DSR or CTS lines.
XON/XOFF is the same XON/XOFF flow control supported by most devices. The timeout value tells the wireless station how long to wait for the flow control handshake before returning a one byte error value.
For the wireless station, DTR is normally low and is raised to indicate the wireless station is prepared for an RS-232 data exchange.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-13
SECTION 9
"
Extended Commands
Return Codes for Transmit Only
The Transmit Only return code is the status sent to the host computer. The wireless station returns the extended command’s status to the host computer in the following format:
\\X<CR>
where “X” is the return code listed in the following chart.
The wireless station simulates the [Enter] key to return the code to the host.
4
5
2
3
Code Description
0 Good status, transaction complete.
1 Not enough memory. Or, incorrect setting for speed, number of data bits, number of stop bits, or flow control timeout.
No delimiter (#) on data stream.
Timeout while using CTS flow control.
Timeout while using DTR flow control.
Timeout while using XON/XOFF flow control.
Column
(None)
4, 6, 7, 11--12
(None)
(None)
(None)
(None)
6
C
Improper return field.
Incorrect setting for CTS flow control, DTR flow control, or XON/OFF flow control.
Incorrect setting for data parity.
E f * Timeout; no acknowledgment was received from the
RD5500 Remote Display.
p/P * Data parity or framing error.
(None)
8, 9, 10
5
(None)
R o/O *
Syntax error from RD5500 Remote Display (not the expected character; no character error was detected).
Overrun of UART receive register.
(None)
(None)
(None)
* An uppercase letter indicates an error from the RS-232 device. A lowercase letter indicates an error from the RD5500 Remote Display.
9-14
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Examples of Transmit Only
Extended command characters can be started by an APC sequence and ended by an ST sequence, or started by a space and ended by a “#” character.
APC and ST Sequences
When control character sequences for APC and ST mark data, all of the data is on Line 1. A “#” character is before the sequence for ST at the end of the line. Control character sequences are not displayed, which results in a faster transmission rate. Also, the cursor position is not lost.
The following example shows data started and ended by control character sequences. Sequences are prefixed by the notation “ ^ ” which represents “control.”
Column 2 Column 11
^9F#P3N8100005This is data to send.#^9C
Space and “#” Character
The following example shows a space as the start of the data and a “#” character as the end. The data is on two lines. A “b” indicates a space.
Column 1 Column 11 b#P3N8100005
This is data to send.#
Line 1
Line 2
Following is an example of data transmitted on the wireless station’s RS-232 port. A space and “#” character start and end the data.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-15
SECTION 9
"
Extended Commands
2
3
Column Character Description
1 (Space) This column typically contains a space.
#
P
Extended command.
Transmit Only command.
6
7
4
5
8
9
10
11--12
3
N
8
1
0
0
0
05
4800 baud.
No data parity.
Eight data bits.
One stop bit.
No CTS flow control.
No DTR flow control.
No XON/XOFF flow control.
Flow control timeout is 5 seconds.
Receive Only On RS-232 Port (#G)
The Receive Only On RS-232 Port extended command provides a way to use the RS-232 port on the wireless station to collect data. A scale is one example of a use for this command. The host computer sends “#G” characters to alert the wireless station for activity on the port. Table 9-3 lists columns in which characters must appear.
Table 9-3
Receive Only Characters
Line 1, Columns 2--24
Column Character * Description
2 # Extended command.
3 G Receive Only On RS-232 Port command.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
9-16
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Table 9-3 (Continued)
Receive Only Characters
Line 1, Columns 2--24
Column Character *
4
Description
Speed (bits per second).
5
6
1
2
3
4
5
6
N
0 (zero)
(Space)
O
E
7
8
1200.
2400.
4800.
9600.
19200
38400
Data parity.
None.
None.
None.
Odd.
Even.
Number of data bits.
Seven.
Eight.
Number of stop bits.
7
8
9
10
11--12
1
2
(Space)
(Space)
(Space)
(Spaces)
One.
Two.
Reserved (ignored by wireless station).
Reserved (ignored by wireless station).
Reserved (ignored by wireless station).
Reserved (ignored by wireless station).
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-17
SECTION 9
"
Extended Commands
Table 9-3 (Continued)
Receive Only Characters
Line 1, Columns 2--24
Column Character *
13--14
Description
Maximum characters to receive.
15--16 dd (or)
Xd¼dX
“dd” is a decimal digit from 00--99. Default is 99.
“X” is an uppercase literal. “d¼d” is any number of decimal digits from 0--2000 inclusive. Default is 99.
Delimiter character.
17--18
19--20
21
22
AA
XX
AA
F
(Space)
P
(Space)
Hexadecimal ASCII code which marks the end of valid data to be received. Range is 00--7E. Default is 00.
Number of delimiter characters.
Delimiter characters received before transmitting return code to host. Range is 00--99. Default is 00.
Start character.
Hexadecimal ASCII code for start character. Range is
00--99. Default of 00 implies no start character.
Return start character to host.
Return character.
Do not return character.
Flag parity errors.
Flag.
Do not flag.
Receive timeout length.
23--24
XX Number of seconds the wireless station waits for input from the RS-232 port before it sends a timeout error.
Uses a default of 5 seconds when this field is filled with spaces.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
9-18
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Return Codes for Receive Only
The Receive Only return code is the status sent to the host computer. The wireless station returns data and the extended command’s status to the host computer in the following format:
\\X\CC\DATA<CR>
or \\X\CCCC\DATA<CR>
“X” is the return code listed in the following chart.
“CC” or “CCCC” is the character count of the received data.
“CC” is 00--99. “CCCC” is 100--2000.
“DATA” is the RS-232 data received from the RS-232 device attached to the wireless station (if any data was received).
The wireless station simulates the [Enter] key to return the code to the host.
Code Description Column
0
1
7
8
2
6
9
A
B
D
E f/F *
Good status, transaction complete.
Not enough memory. Or, incorrect setting for speed, number of data bits, or number of stop bits.
No delimiter (#) on data stream.
Improper return field.
Hexadecimal value is outside the range of 00--0F.
Reserved.
Incorrect setting for maximum characters to receive.
Incorrect setting for delimiter character.
Incorrect setting for number of delimiter characters.
Incorrect setting for start character.
Incorrect setting for data parity.
Timeout.
(None)
4, 6, 7
(None)
(None)
15--16, 19--20
(None)
13--14
15--16
17--18
19--20
5, 22
(None) p/P *
R o/O *
Data parity or framing error.
Syntax error from RD5500 Remote Display (not the expected character; no character error was detected).
Overrun of UART receive register.
(None)
(None)
(None)
* An uppercase letter indicates an error from the RS-232 device. A lowercase letter indicates an error from the RD5500 Remote Display.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-19
SECTION 9
"
Extended Commands
Examples of Receive Only
Receive Only extended command characters can be started by an APC sequence or by a space.
APC Sequence
When the control character sequence for APC starts data, all of the data is on Line 1. The control character sequence is not displayed, which results in a faster transmission rate.
Also, the cursor position is not lost.
The following example shows data marked by the control character sequence for APC. The sequence is prefixed by the notation “ ^ ” which represents “control.”
Column 2 Column 11 Column 23
^9F#G3N8100000850A0102FPbb
Space
The following example shows a space as the start of the data. A “b” indicates a space.
Column 1 Column 11 Column 23 b#G3N8100000850A0102FPbb
Following is an example of data received on the wireless station’s RS-232 port. A space starts the data.
9-20
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
4
5
6
7
2
3
Column Character Description
1 (Space) This column typically contains a space.
#
G
Extended command.
Receive Only command.
3
N
8
1
4800 baud.
No data parity.
Eight data bits.
One stop bit.
8
9
10
11--12
13--14
15--16
17--18
19--20
21
22
23--24
(Space)
(Space)
(Space)
(Spaces)
50
0A
01
02
F
P
10
Reserved.
Reserved.
Reserved.
Reserved.
Receive a maximum of 50 characters.
Delimiter character is 0A hexadecimal
(line feed).
Data will be sent to host after one delimiter character has been received.
Start character is 02 hexadecimal
(STX).
Start character will be returned to host.
Parity errors will be flagged
Receive timeout length is 5 seconds.
Set Parameters (#H)
Use the Set Parameters extended command to set firmware parameters that you would otherwise set at the wireless station. The parameters are part of the wireless station’s firmware.
Set most of the parameters once per wireless station. Set them when you install a radio data network, or when you add wireless stations to the network. Unless the wireless station fails (perhaps a dead battery) or a user does something destructive (like a RAM test), you probably won’t need to set them again.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-21
SECTION 9
"
Extended Commands
Table 9-4 lists columns in which characters must appear.
Table 9-4
Set Parameters Characters
2
3
Line 1, Columns 2--36
Column Character *
4--6
#
H
Description
Extended command.
Set Parameters command.
Backlight timer.
7--9
(Spaces)
000
001--255
No change from current setting.
On continuously.
Seconds to remain on.
Sleep timer delay for RT3210. (Ignored by other wireless stations.)
10
(Spaces)
000
001--255
No change from current setting.
Off.
Seconds of activity before sleep.
Cursor mode.
2
3
(Space)
1
4
No change from current setting.
Underline (default).
Underline blink.
Block.
Block blink
11 (Space) Reserved.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
9-22
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Table 9-4 (Continued)
Set Parameters Characters
Line 1, Columns 2--36
Column Character *
12
Description
Remote display for RT3210.
13--15
16--18
(Space)
0
1
(Spaces)
000--255
No change from current setting.
Not attached.
Attached.
Beeper volume.
No change from current setting.
Volume range in increments of 5. The larger the number, the louder the volume.
Beeper frequency.
19--21
(Spaces)
000--030
(Spaces)
001--010
No change from current setting.
Frequency range. The larger the number, the higher the frequency.
Beeper length.
No change from current setting.
Duration in seconds. The larger the number, the longer the beep and the slower the keyboard response time.
Delete key mapping.
22
(Space)
1
0
No change from current setting.
Delete key is backspace (08 hexadecimal).
Delete key is delete (7F hexadecimal).
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-23
SECTION 9
"
Extended Commands
Table 9-4 (Continued)
Set Parameters Characters
Line 1, Columns 2--36
Column Character *
23
Description
Carriage return expansion mapping.
24
25--27
(Space)
1
0
(Space)
1
0
No change from current setting.
CR/LF.
CR.
Local host echo.
No change from current setting.
Local echo.
Host echo.
Screen size.
28--30
(Spaces)
000--255
(Spaces)
000--255
No change from current setting.
Number of rows per display screen.
Screen size.
No change from current setting.
Number of columns per display screen.
Alternate screen size.
31--33
34--36
(Spaces)
000--255
No change from current setting.
Number of rows per display screen.
Alternate screen size.
(Spaces)
000--255
No change from current setting.
Number of columns per display screen.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
9-24
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Return Codes for Set Parameters
The Set Parameters return code is the status sent to the host computer. The wireless station returns data and the extended command’s status to the host computer in the following format:
\\X<CR>
where “X” is the return code listed in the following chart.
The wireless station simulates the [Enter] key to return the code to the host.
D
E
9
A
7
8
B
5
6
3
4
1
2
Code Description
0 Good status, transaction complete.
Incorrect setting for backlight timer.
Reserved.
Incorrect setting for cursor mode.
Reserved.
Reserved.
Reserved.
C
F
Reserved.
Incorrect setting for beeper volume.
(None)
13--15
Incorrect setting for beeper frequency.
16--18
Incorrect setting for beeper length.
19--21
22 Incorrect setting for delete key mapped to “backspace delete.”
Incorrect setting for carriage return expansion mapped to “CR/LF.”
Incorrect setting for local host echo.
Incorrect setting for number of screen rows or alternate screen rows.
Incorrect setting for number of screen columns or alternate screen columns.
23
24
25--27
31--33
28--30
34--36
Column
(None)
4--6
(None)
10
(None)
(None)
(None)
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-25
SECTION 9
"
Extended Commands
Examples of Set Parameters
Set Parameters extended command characters can be started by an APC sequence or by a space.
APC Sequence
When the control character sequence for APC starts data, all of the data is on Line 1. The control character sequence is not displayed, which results in a faster transmission rate.
Also, the cursor position is not lost.
The following example shows data started by the control character sequence for APC. The sequence is prefixed by the notation “ ^ ” which represents “control.”
Column 2 Column 11 Column 21 Column 31
^9F#H099bbb4b1000030005101bbb080010080
Space
The following example shows a space at the start of the data. A “b” indicates a space.
Column 1 Column 11 Column 21 Column 31 b#H099bbb4b1000030005101bbb080010080
Following is an example of data for Set Parameters. A space starts the data.
9-26
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
19--21
22
23
24
25--27
28--30
31--33
34--36
Column Character Description
1 (Space) This column typically contains a space.
2 # Extended command.
3
4--6
7--9
10
H
099
(Spaces)
4
Set Parameters command.
Backlight stays on for 99 seconds.
No change from current setting.
Cursor is in block blink mode.
11
12
13--15
16--18
(Space)
1
000
030
Reserved.
A remote display is in use.
Beep is inaudible.
Beeper frequency is 030.
005
1
0
1
(Spaces)
080
010
080
Beeper length is 5 seconds.
Delete key deletes current character.
Carriage return.
Local echo
No change from current setting.
Screen is 80 columns wide.
Ten rows per screen.
Alternate screen is 80 columns wide.
Return Version (#V)
The Return Version extended command returns the current firmware name and version to the host computer. Table 9-5 lists columns in which characters must appear.
Table 9-5
Return Version Characters
Line 1, Columns 2--3
Column Character Description
2
3
#
V
Extended command.
Return Version command.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-27
SECTION 9
"
Extended Commands
Return Code for Return Version
The return code is the status sent to the host computer; the code indicates if the extended command was successful.
The wireless station returns data and the extended command’s status to the host computer in the following format:
\\0\<Firmware> <Version><CR>
“0” is the return code listed in the following chart.
“<Firmware>” is the name of the wireless station’s firmware.
“<Version>” is the current firmware version.
Code Description
0 Good status, transaction complete.
Example of Return Version
The following example shows data started by the control character sequence for APC. The sequence is prefixed by the notation “ ^ ” which represents “control.”
Column 2
^9F#V^9C
Tone (#T)
The Tone extended command causes the wireless station to make a tone of a specified volume, frequency, and length
(Table 9-6).
9-28
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Table 9-6
Tone Options
2
3
Line 1, Columns 2--12
Column Character Description
4--6
#
T
Extended command.
Tone command.
Tone volume.
(Spaces
000--255
7--9
10--12
(Spaces)
000--030
No change from current setting.
Volume range. The larger the number, the louder the volume.
Tone frequency.
No change from current setting.
Frequency range. The larger the number, the higher the frequency.
Tone length.
(Spaces)
001--010
No change from current setting.
Duration in seconds. The larger the number, the longer the beep and the slower the keyboard response time.
The return code is the status sent to the host computer; the code indicates if the extended command was successful.
The wireless station returns data and the extended command’s status to the host computer in the following format:
\\X<CR>
“X” is the return code listed in the following chart.
8
9
Code Description
0 Good status, transaction complete.
A
Incorrect setting for volume.
Incorrect setting for frequency.
Incorrect setting for length.
Column
(None)
4--6
7--9
10--12
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-29
SECTION 9
"
Extended Commands
Scan Bar Code Parameters (#S)
" NOTE:
The Scan Bar Code Parameters extended command allows host systems to have the same capabilities as wireless stations 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 wireless station to expect a Bar Code Scanner extended command. Appropriate descriptive characteristics should follow the “#S” characters. The wireless station 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 assure that all data is present before the extended command is parsed (removed).
Table 9-7 lists columns in which characters must appear.
Tables on the following pages list characters for each type of bar code.
The PEN*KEY 6500 Computer supports only the laser bar code scanner.
2
3
Table 9-7
Scan Bar Code Parameters
Line 1, Columns 2--3
Column Character Description
#
S
Extended command.
Scan Bar Code Parameters command.
9-30
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Control Byte 1
The dots in Table 9-8 indicate the Control Byte 1 options the characters support. (The RT1100, RT1700, RT5900, and the PEN*KEY 6400 Computer’s internal engine do not support CCD 20/20. The PEN*KEY 6400 Computer’s internal engine does not support HP Wand Select.)
Table 9-8
Control Byte 1 Characters
0
B
C
9
A
D
E
F
(Space)
7
8
5
6
3
4
1
2
Line 1, Column 4
Control
Byte 1
Character
·
·
·
·
·
·
·
CCD
20/20
Select
Options
HP
Wand Select
Redundancy Laser
·
· ·
·
· ·
·
·
·
· ·
·
·
·
·
No
Redundancy
·
·
·
·
·
·
·
·
·
· · ·
· ·
Disable scanner.
No change from current setting.
·
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-31
SECTION 9
"
Extended Commands
Control Byte 2
The dots in Table 9-9 indicate the Control Byte 2 options the characters support.
Table 9-9
Control Byte 2 Characters
E
F
C
D
A
B
8
9
6
7
4
5
2
3
0
1
Line 1, Column 5
Control Byte 2
Character
Scan Termination Character
None
[Enter] key
[Tab] key
Modulo 10 Check
Digit
·
·
·
·
·
·
·
·
9-32
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Control Byte 3
The dots in Table 9-10 indicate the Control Byte 3 options the characters support.
Table 9-10
Control Byte 3 Characters
Line 1, Column 6
Byte 3
Character
A
B
8
9
E
F
C
D
(Space)
6
7
4
5
2
3
0
1
Options
Enable
Stream
Scanning Reserved
Return
Bar Code
Type
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
· ·
No change from current setting.
Bar Code
Concatenated
·
·
·
·
·
·
·
·
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-33
SECTION 9
"
Extended Commands
Bar Code Length
Bar Code Length sets the minimum and maximum character lengths for all types of bar codes scanned (Table 9-11).
Setting the minimum and maximum values to their optimum can increase scanning performance. If the wireless station scans bar codes that are outside the minimum and maximum value, the wireless station ignores the bar code.
9--10 XX
(Spaces)
Table 9-11
Bar Code Length
Line 1, Columns 7--10
Column Character
Description
7--8 XX
(Spaces)
Bar code length. Maximum length is
99.
No change from current setting.
Bar code length. Minimum length is
00.
No change from current setting.
UPC
Use the UPC command to select the combinations listed in
Table 9-12. (The PEN*KEY 6400 Computer’s internal engine does not support UPC-E Number System 1.)
9-34
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Character
0
9
10
11
12
13
14
15
(Space)
7
8
5
6
3
4
1
2
·
·
·
·
·
·
·
·
UPC-E #
System 1
Expand
UPC-E to
UPC-A
Table 9-12
UPC Bar Code Characters
Options
UPC-E #
System 0
Disables all.
Add-Ons
·
·
· ·
·
·
·
·
·
·
·
·
·
·
·
·
·
· ·
· ·
· · ·
No change from current setting.
UPC-A
·
·
·
·
·
·
·
·
·
·
·
·
·
·
·
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-35
SECTION 9
"
Extended Commands
EAN Algorithms
Use EAN Algorithms to select combinations of EAN options
(Table 9-13).
Line 1, Column 12
Character
Description
0
1
2
(Space)
Table 9-13
EAN Algorithms
EAN disabled.
EAN-8 and EAN-13 with add-ons enabled.
EAN-8 and EAN-13 enabled.
No change from current setting.
Code 39
Code 39 (Table 9-14) sets the scanner to read simple Code
39 bar codes that do not include extended or encoded sequences. Extended Code 39 is a superset of Code 39 and scans all regular Code 39 bar codes. You cannot select both
Code 39 and Extended Code 39. Encoded Code 39 combines key presses with normal bar code data.
Encoded Code 39 sequences are described on page 9-45.
Table 9-14
Code 39 Algorithms Characters
Line 1, Column 13
Character Description
2
3
0
1
(Space)
Code 39 disabled.
Encoded Code 39 enabled.
Extended Code 39 enabled.
Code 39 enabled.
No change from current setting.
9-36
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Plessey
If the Plessey bar code scanning algorithm is enabled, set its check digits (Table 9-15) according to your requirements.
See the manufacturer’s bar code specifications for more information on check digits.
Table 9-15
Plessey Characters
Line 1, Column 14
Character Description
0
1
(Space)
Plessey disabled.
Plessey enabled.
No change from current setting.
The dots in Table 9-17 on the next page indicate the Plessey check digits the characters support. (The PEN*KEY 6400
Computer’s internal engine does not support Plessey alpha characters.)
Codabar
The Codabar options (Codabar and ABC Codabar,
Table 9-16) are mutually exclusive coding algorithms and cannot be selected at the same time. (The PEN*KEY 6400
Computer’s internal engine does not support ABC Codabar.)
Table 9-16
Codabar Characters
Line 1, Column 16
Character Description
0
1
2
(Space)
Codabar disabled.
Codabar enabled.
ABC Codabar enabled.
No change from current setting.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-37
SECTION 9
"
Extended Commands
Table 9-17
Plessey Check Digit Characters
Line 1, Column 15
Keep 2nd
Digit Check
Do Not
Validate 1st
Check Digit
Plessey Check Digit
Keep 1st
Check Digit
Mod 10 1st
Check Digit
D
E
B
C
9
A
7
8
F
(Space)
5
6
3
4
1
2
0
Character
·
·
·
·
·
·
·
·
·
·
·
· ·
·
·
·
· ·
·
·
·
·
·
·
·
·
·
· ·
· · ·
No change from current setting.
Mod 11 1st
Check Digit
·
·
·
·
·
·
·
·
Code 11
Table 9-18 lists Code 11 characters. (The PEN*KEY 6400
Computer’s internal engine does not support Code 11.)
9-38
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Table 9-18
Code 11 Characters
Line 1, Column 17
Character Description
0
1
(Space)
Code 11 disabled.
Code 11 enabled.
No change from current setting.
Code 93
Both Code 93 and Code 128 options can be enabled for scanning. (The PEN*KEY 6400 Computer’s internal engine does not support Code 93.)
Table 9-19
Code 93 Characters
Line 1, Column 18
Character Description
0
1
(Space)
Code 93 disabled.
Code 93 enabled.
No change from current setting.
Code 128
Table 9-20 lists Code 128 characters.
Table 9-20
Code 128 Characters
Line 1, Column 19
Character Description
0
1
(Space)
Code 128 disabled.
Code 128 enabled.
No change from current setting.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-39
SECTION 9
"
Extended Commands
Straight or Computer Identics 2of5
If the Straight or Computer Identics bar code is enabled, select the maximum and minimum lengths and the 1st and
2nd fixed bar code lengths according to your requirements
(Table 9-21). (The PEN*KEY 6400 Computer’s internal engine does not support Straight or Computer Identics
2of5.)
Line 1, Columns 20--28
Column Characters Description
20 0
1
2
(Space)
Straight and Computer Identics 2of5 disabled.
Computer Identics 2of5 enabled.
Straight 2of5 enabled.
No change from current setting.
21--22 XX
(Spaces)
Table 9-21
2of5 Characters
Maximum length Straight or Computer Identics 2of5. See the manufacturer’s bar code specifications for further information.
No change from current setting.
23--24 XX
25--26
27--28
(Spaces)
XX
(Spaces)
XX
(Spaces)
Minimum length Straight or Computer Identics 2of5. See the manufacturer’s bar code specifications for further information.
No change from current setting.
1st fixed bar code length for Straight or Computer Identics 2of5. See the manufacturer’s bar code specifications for further information.
No change from current setting.
2nd fixed bar code length for Straight or Computer Identics 2of5. See the manufacturer’s bar code specifications for further information.
No change from current setting.
9-40
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Interleaved 2of5
If Interleaved 2of5 is enabled, select the maximum and minimum lengths and the 1st and 2nd fixed bar code lengths according to your requirements (Table 9-22).
Line 1, Columns 29--37
Column Character
Description
29 0
1
(Space)
Interleaved 2of5 disabled.
Interleaved 2of5 enabled.
No change from current setting.
30--31 XX
Table 9-22
Interleaved 2of5 Characters
32--33
34--35
(Spaces)
XX
(Spaces)
XX
Maximum length Interleaved 2of5. See the manufacturer’s bar code specifications for further information.
No change from current setting.
Minimum length Interleaved 2of5. See the manufacturer’s bar code specifications for further information.
No change from current setting.
(Spaces)
1st fixed length for Interleaved 2of5
Bar Code. See the manufacturer’s bar code specifications for further information.
No change from current setting.
36--37 XX
(Spaces)
2nd fixed length for Interleaved 2of5
Bar Code. See the manufacturer’s bar code specifications for further information.
No change from current setting.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-41
SECTION 9
"
Extended Commands
Return Codes for Scan Bar Code
Parameters
The Scan Bar Code Parameters return code is the status sent to the host computer; the code indicates if the extended command was successful. The wireless station returns data and the extended command’s status to the host computer in the following format:
\\X<CR>
where “X” is the return code listed in the following chart.
The wireless station simulates the [Enter] key to return a value to the host computer. If a hexadecimal number is entered wrong, the return code defaults to “0.”
Code Description
0 Good status, transaction complete.
1 Bad status, transaction incomplete.
Examples of Scan Bar Code
Parameters
Scan Bar Code Parameters extended command characters can be started by an APC sequence or by a space.
APC Sequence
When the control character sequence for APC starts data, all of the data is on Line 1. The control character sequence is not displayed, which results in a faster transmission rate.
Also, the cursor position is not lost.
9-42
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
The following example shows data started by the control character sequence for APC. Sequences are prefixed by the notation “ ^ ” which represents “control.”
Column 2 Column 11 Column 23 Column 36
^9F#S07F32012211120012080108080bbbbbbbb
Space
The following example shows a space as the start of the data. A “b” indicates a space.
Column 1 Column 11 Column 23 Column 36 b#S07F32012211120012080108080bbbbbbbb
The following example shows data for Scan Bar Code Parameters. A space starts the data.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-43
SECTION 9
"
Extended Commands
16
17
18
19
20
12
13
14
15
21--22
23--24
25--26
27--28
2
3
Column Character Description
1 (Space) This column typically contains a space.
4
#
S
0
Extended command.
Scan Bar Code Parameter command.
5
6
7
F
No Control Byte 1 options are returned.
[ENTER] key terminates all scans,
12-volt laser is enabled, Modulo 10 Check
Digit.
Barcode type is returned and concate-
7--8
9--10
11
32
01
2 nated.
Maximum length is 32 characters.
Minimum length is 1 character.
Decode UPC System 0.
29
30--31
32--33
34--35
36--37
2
1
1
1
2
0
0
1
2
08
01
08
08
0
(Spaces)
(Spaces)
(Spaces)
(Spaces)
EAN is enabled.
Encoded code 39 is enabled.
Plessey is enabled.
Mod 10 first digit is checked.
ABC Codabar is enabled.
Code 11 is disabled.
Code 93 is disabled.
Code 128 is enabled.
Straight 2of5 is enabled.
Straight 2of5 maximum length is 8.
Straight 2of5 minimum length is 1.
Straight 2of5 1st fixed length is 8.
Straight 2of5 2nd fixed length is 8.
Interleaved 2of5 is disabled.
No change from current setting.
No change from current setting.
No change from current setting.
No change from current setting.
9-44
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
Encoded Code 39
Encoded Code 39 combines key presses with normal bar code data. All regular Code 39 bar codes can be scanned when using Encoded Code 39. “Encoded” refers to special character sequences contained within a standard Code 39 bar code that the wireless station scanning program converts into key presses. This feature allows bar codes to contain commonly-used key press sequences that accompany scanning.
An example is a bar code with a forward tab character encoded at the end of it. When the wireless station operator scans the bar code, the wireless station fills in bar code data and automatically performs a forward tab. This moves the cursor to the next field. The operator does not need to press a key between scans.
Table 9-23 lists escape characters and key press sequences for Encoded Code 39. The “(t)” in the table indicates a terminating key. Any bar code data following this key code is ignored. The “t” sequences, therefore, should be located only at the end of the bar code.
If you attempt to use an invalid sequence (termed “invalid” in the table) the wireless station will beep and the data stream will be flushed.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-45
SECTION 9
"
Extended Commands
$C
$D
$E
$F
$8
$9
$A
$B
$4
$5
$6
$7
$0
$1
$2
$3
$K
$L
$M
$N
$O
$G
$H
$I
$J
Sequence
$space
$--
$.
Table 9-23
Key Press Sequences for Encoded Code 39
Key
Find (t)
Insert here (t)
Remove (t)
Keypad 0 (t)
Keypad 1 (t)
Keypad 2 (t)
Keypad 3 (t)
Keypad 4 (t)
Keypad 5 (t)
Keypad 6 (t)
Keypad 7 (t)
Keypad 8 (t)
Keypad 9 (t)
New line (t)
Delete (t)
Forward tab (t)
Forward tab (t)
Invalid
Invalid
Invalid
Backspace (t)
Invalid
Invalid
Invalid
Invalid
Enter (t)
Invalid
Invalid
9-46
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
%8
%9
%A
%B
%C
%4
%5
%6
%7
%0
%1
%2
%3
$Z
%space
%--
%.
$S
$T
$U
$V
Sequence
$P
$Q
$R
$W
$X
$Y
Table 9-23 (Continued)
Key Press Sequences for Encoded Code 39
Key
Invalid
PF1 (t)
PF2 (t)
PF3 (t)
PF4 (t)
F5 (t)
F6 (t)
F7 (t)
F8 (t)
F9 (t)
F10 (t)
Select (t)
Previous screen (t)
Next screen (t)
Enter (t)
00 hexadecimal (t)
01 hexadecimal (t)
02 hexadecimal (t)
03 hexadecimal (t)
04 hexadecimal (t)
05 hexadecimal (t)
06 hexadecimal (t)
07 hexadecimal (t)
08 hexadecimal (t)
Invalid
F11 (t)
F12 (t)
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-47
SECTION 9
"
Extended Commands
%R
%S
%T
%U
%N
%O
%P
%Q
%V
%W
%X
%Y
%Z
%G
%H
%I
%J
Sequence
%D
%E
%F
%K
%L
%M
Table 9-23 (Continued)
Key Press Sequences for Encoded Code 39
Key
Invalid
Invalid
; (semicolon)
< (less than)
= (equal)
> (greater than)
? (question mark)
[ (left brace)
\ (backslash)
] (right brace)
^ (circumflex)
_ (underscore)
{ (left brace)
| (vertical bar)
} (right brace)
~ (tilde)
Keyboard delete (t)
Invalid
@ (at) i
(grave accent)
Invalid
Invalid
F13 (t)
9-48
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
+J
+K
+L
+M
+N
+F
+G
+H
+I
+B
+C
+D
+E
+7
+8
+9
+A
+4
+5
+6
+0
+1
+2
+3
Sequence
+space
+--
+.
Table 9-23 (Continued)
Key Press Sequences for Encoded Code 39
Key
09 hexadecimal (t)
0A hexadecimal (t)
0B hexadecimal (t)
0C hexadecimal (t)
0D hexadecimal (t)
0E hexadecimal (t)
0F hexadecimal (t)
10 hexadecimal (t)
11 hexadecimal (t)
12 hexadecimal (t) j k i h f g d e b c
13 hexadecimal (t)
14 hexadecimal (t)
15 hexadecimal (t) a l m n
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-49
SECTION 9
"
Extended Commands
/5
/6
/7
/8
/9
/A
/1
/2
/3
/4
/space
/--
/.
/0
+R
+S
+T
+U
Sequence
+O
+P
+Q
+V
+W
+X
+Y
+Z
Table 9-23 (Continued)
Key Press Sequences for Encoded Code 39
v w t u r s p q
Key
o x y z
16 hexadecimal (t)
17 hexadecimal (t)
18 hexadecimal (t)
19 hexadecimal (t)
1A hexadecimal (t)
1B hexadecimal (t)
1C hexadecimal (t)
1D hexadecimal (t)
1E hexadecimal (t)
1F hexadecimal (t)
Invalid
Invalid
Invalid
! (exclamation mark)
9-50
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
SECTION 9
"
Extended Commands
/X
/Y
/Z
/T
/U
/V
/W
/P
/Q
/R
/S
/L
/M
/N
/O
/I
/J
/K
/E
/F
/G
/H
Sequence
/B
/C
/D
Table 9-23 (Continued)
Key Press Sequences for Encoded Code 39
Key
” (double quote)
# (pound)
$ (dollar)
% (percent)
& (ampersand)
’ (single quote)
( (left parenthesis)
) (right parenthesis)
* (asterisk)
+ (plus)
, (comma)
-- (hyphen)
F14 (t)
/ (forward slash)
F15 (t)
F16 (t)
F17 (t)
F18 (t)
F19 (t)
F20 (t)
Invalid
Invalid
Invalid
Invalid
: (colon)
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-51
SECTION 9
"
Extended Commands
Terminating Keys
Terminating keys are the non-printable ASCII sequences and action keys. When the wireless station encounters them in a bar code, an action is taken, and the wireless station sends the data in the buffer to the host computer. Terminating keys should appear only at the end of the bar code. If they are located in the middle of a bar code, they are executed normally, but the data following them in the bar code is ignored. Terminating keys cause a wireless stationto-base station transmission. The wireless station ignores data in the bar code buffer following these keys once a transmission takes place.
For example, the wireless station interprets this sequence:
123$V456
as
123F6
The wireless station will not send “456” to the host computer, because it follows terminating key F6.
ASCII sequences can be used any time before a terminating key. For example, the wireless station interprets
+H+E+L+L+O$M
as
hello<Enter>
9-52
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
" NOTE:
SECTION 9
"
Extended Commands
Escape Characters
The four escape characters in Table 9-23 yield a VT220 data stream key press equivalent when followed by another character. The escape characters are:
$ (dollar sign)
% (percent)
+ (plus)
/ (forward slash)
For example:
"
"
"
If a bar code contains the sequence “%U” somewhere within it, the wireless station converts this sequence to an [ENTER] key and processes it as soon as encountered in the scanning buffer.
“+B” is converted to the lower case “b.”
“%B” is converted to an F11 key press.
If you want the Encoded Code 39 option but the bar codes to be scanned already contain the “$,” “%,” “+,” or “/,” character, then each place where these characters occur must be expanded to a special
“/” sequence:
"
"
"
"
Every bar code where the “$” is maintained must be expanded to a “/D” sequence.
Percent signs (%) must be expanded to “/E”.
Forward slashes (/) must be expanded to the letter “/O”.
Plus signs (+) must be expanded to “/K”.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide 9-53
SECTION 9
"
Extended Commands
Concatenation
When Encoded Code 39 is enabled, all bar codes are concatenated. This allows several separate bar code scans to be strung together into one input field. This feature is especially useful when using separate Encoded Code 39 bar codes to replace operator key presses.
9-54
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Appendix A
Bar Code Scanning
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
Overview
This appendix contains reference data pertaining to enabling bar code algorithms and interpreting bar code data.
Collecting and decoding bar code data are built-in features of wireless stations. The wireless station is programmed to support a variety of bar code scanning devices and decode all major bar code types.
Specific bar code algorithms are enabled either by scanner orders from the host computer, or by the terminal operator using the wireless station’s firmware menus. Once a wireless station correctly decodes a bar code, the data is encoded with descriptive data about the decoded symbol.
The wireless station employs unique ASCII command codes to enable certain types of bar code algorithms and to format bar code data for return to the host computer. You can improve response time for your network by knowing the bar codes you use and limiting the wireless station to only those codes.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide A-1
APPENDIX A
"
Bar Code Scanning
How to Enable Algorithms
To maximize wireless terminal and network performance, it is recommended that you enable only the bar code types required by your network and host application software. The more bar code algorithms enabled in the wireless station, the slower the response time. Likewise, the more types of bar codes the host application receives, the slower throughput time on processing bar code data.
How the Host Gets Bar Codes
The wireless station encodes descriptive data along with bar code data returned to the host computer. This encoded data indicates the type of bar code scanned and, in some instances, the length of the bar code data. Also included in the format may be check digits, start and stop digits, system digits, add-on digits, and flags.
Bar code data streams always begin with the bar code type followed by the bar code data. Table A-1 details the bar code types and the format of the bar code data string. Refer to the wireless station’s user guide for the bar code types that the wireless station supports.
A-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
APPENDIX A
"
Bar Code Scanning
Table A-1
Bar Code Data String Formats
Type
Code
Z
>
<
=
;
:
8
9
6
7
4
5
2
3
0
1
@
A
P
Q
R
J
Data Bar Code Type
UPC short
EAN short
UPC long
EAN long
UPC short add-on 2
EAN short add-on 2
UPC long add-on 2
EAN long add-on 2
UPC short add-on 5
EAN short add-on 5
UPC long add-on 5
EAN long add-on 5
Interleaved 2 of 5
Straight 2 of 5 ***
Computer Identics 2 of 5 ***
Plessey
CODABAR
ABC CODABAR ***
Code 39
Extended Code 39
Code 93 ***
Code 128
* Bar code data definitions:
Data Format *
nddddddc fndddddc nddddddddddc fnddddddddddc nddddddcaa fndddddcaa nddddddddddcaa fnddddddddddcaa nddddddcaaaaa fndddddcaaaaa nddddddddddcaaaaa fnddddddddddcaaaaa d......d
d......d
d......d
d......dc
sd....ds
sd....ds
d......d
d......d
d......d
d......d
Data Length **
10
10
14
15
8
8
12
13
13
13
17
18
1 to 31
1 to 31
1 to 31
2 to 31
3 to 31
6 to 31
1 to 31
1 to 31
1 to 31
1 to 31 n = Number system digits d = Bar code digits c = Check digits f = EAN flag 1 characters a = Add-on code digits s = Start and stop digits
** If MOD 10 or MOD11 check digits are enabled, the digit falls at the end of a bar code data string. Each check digit enabled extends the length of the bar code data string by 1 character.
*** Not supported by PEN*KEY R 6400 Computer’s internal engine.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide A-3
APPENDIX A
"
Bar Code Scanning
A-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
INDEX
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
SYMBOLS
. (Period) code generated, 8-59
PEN*KEY 6400, 6-20
PEN*KEY 6500, 7-9, 7-13
RT1100, 3-10, 3-14
RT1700, 4-13, 4-18
RT3210, 2-10, 2-15
RT5900, 5-10, 5-14
. (Period), PEN*KEY 6400, 6-7
, (Comma) code generated, 8-59 encoded sequence, 9-51
PEN*KEY 6400, 6-14, 6-20
PEN*KEY 6500, 7-9, 7-13
RT1100, 3-9, 3-14
RT1700, 4-13, 4-18
RT3210, 2-9, 2-15
RT5900, 5-10, 5-14
#F (Transmit and Receive), 9-2
#G (Receive Only), 9-16
#H (Set Parameters), 9-21
#P (Transmit Only), 9-11
#S (Scan Bar Codes), 9-30
#T (Tone) extended command,
9-28
#V (Return Version), 9-27
$ (Escape sequence), 9-46–9-47,
9-53
% (Escape sequence), 9-47–9-48,
9-53
+ (Escape sequence), 9-49–9-50,
9-53
-- (Hyphen) code generated, 8-59 encoded sequence, 9-51
PEN*KEY 6400, 6-14, 6-19
PEN*KEY 6500, 7-8, 7-13
RT1100, 3-9, 3-14
RT1700, 4-12, 4-18
RT3210, 2-10, 2-15
RT5900, 5-9, 5-14
/ (Escape sequence), 9-50–9-51,
9-53
NUMBERS
132 columns, 8-20
7-bit control codes, 8-3
8-bit control codes, 8-7–8-8
80 columns, 8-20, 8-49
A
ACK (acknowledge), 8-5
Acknowledge (ACK), 8-5
Adjustments (DECALN), 8-46
All attributes off, 8-26
Annunciators
PEN*KEY 6400, 6-4–6-5
PEN*KEY 6500, 7-4–7-5
RT1100, 3-4–3-5
RT1700, 4-4–4-5
RT3210, 2-4–2-6
RT5900, 5-4–5-5
ANSI/VT52 (DECANM), 8-20
APC (application program command) extended commands
Receive Only, 9-20
Return Version, 9-28
Scan Bar Code, 9-42
Set Parameters, 9-26
Transmit and Receive, 9-3,
9-9
Transmit Only, 9-11, 9-15 received code, 8-10
Application program command
(APC) extended commands
Receive Only, 9-20
Return Version, 9-28
Scan Bar Code, 9-42
Set Parameters, 9-26
Transmit and Receive, 9-3,
9-9
Transmit Only, 9-11, 9-15 received code, 8-10
Auto print mode, 8-35
Auto repeat (DECARM), 8-21
Auto wrap (DECAWM), 8-21
Autosend, 8-48
Auxiliary keypad codes generated, 8-59
PEN*KEY 6400, 6-19
PEN*KEY 6500, 7-13
RT1100, 3-14
RT1700, 4-17
RT3210, 2-14
RT5900, 5-14
VT220 terminal, 1-7
Auxiliary keys codes generated, 8-59 local edit mode, 8-67
PEN*KEY 6400, 6-19
PEN*KEY 6500, 7-13
RT1100, 3-14
RT1700, 4-17
RT3210, 2-14
RT5900, 5-14
VT220 terminal, 1-7
B
Back arrow key mode
(DECBKM), 8-22
Backlight
PEN*KEY 6400, 6-24
RT1100, 3-16
RT1700, 4-21
RT3210, 2-16
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Index-1
INDEX
"
Backspace (BS) encoded sequence, 9-46 local editing key, 8-67 received code, 8-5 terminating key, 8-54
Backtab key, 8-68
Bar code length, 9-34
Bar code scanning data string formats, A-3 enabling algorithms, A-2
Encoded Code 39, 9-45 extended command, 9-30 host computer, A-2 line edit mode, 8-54 local edit mode, 8-69
Batteries, 1-5
BEL (bell), 8-5
Bell (BEL), 8-5
Block mode.
See Line edit mode
Break (top-row function key)
PEN*KEY 6400, 6-20
PEN*KEY 6500, 7-14
RT1100, 3-15
RT1700, 4-18
RT3210, 2-15
RT5900, 5-15 transmitted code, 8-60
BS (backspace) encoded sequence, 9-46 local editing key, 8-67 received code, 8-5 terminating key, 8-54
C
C0 codes, 8-3, 8-4–8-6
C1 codes, 8-7–8-10
CAN (cancel), 8-6
Cancel (CAN), 8-6
Cancel character (CCH), 8-10
Carriage return (CR), 8-5
CCH (cancel character), 8-10
Center cursor mode
PEN*KEY 6400, 6-2
PEN*KEY 6500, 7-2
RT1100, 3-2
RT1700, 4-2
RT3210, 2-2
RT5900, 5-2
Character encoding, 8-2
Character mode, 8-48, 8-55
Character rendition and attributes, 8-26–8-27
Character set (DECNRCM),
8-22
Character set selection hard character sets, 8-15–8-16 locking shifts, 8-17 soft character sets, 8-15
Character sets down-line loadable, 8-11, 8-42
Greek, 8-13–8-14 hard, 8-15–8-16 locking shifts, 8-17 multinational
7-bit control codes, 8-3
8-bit control codes, 8-7–8-8 left half, 8-4 right half, 8-8 national replacement,
8-13–8-14 not supported, 8-11 redefinable, 8-11, 8-42 soft, 8-15 special graphics, 8-11–8-12 supplemental graphics,
8-7–8-8
Character sizes
RT1100, 3-1
RT1700, 4-1
RT3210, 2-1
PEN*KEY 6500, 7-1
RT5900, 5-1
Character types
C0 codes, 8-3
C1 codes, 8-7–8-8
GL codes, 8-3–8-4
GR codes, 8-7–8-8
Codabar, 9-37
Code 11, 9-38
Code 128, 9-39
Code 39 algorithms, 9-36
Code 93, 9-39
Column (DECCOLM), 8-20
Columns, 8-20, 8-49
Compose character (special function key) code generated, 8-56
PEN*KEY 6400, 6-15, 6-16
PEN*KEY 6500, 7-9
RT1100, 3-11
RT1700, 4-14
RT3210, 2-11
RT5900, 5-11
Computer Identics 2of5, 9-40
Concatenation, 9-54
Control (special function key) code generated, 8-56
PEN*KEY 6400, 6-16, 6-22
PEN*KEY 6500, 7-10, 7-14
RT1100, 3-11, 3-15
RT1700, 4-14, 4-19
RT3210, 2-11
RT5900, 5-11, 5-15 terminating key, 8-54
Control Byte 1, 9-31
Control Byte 2, 9-32
Control Byte 3, 9-33
Control sequence introducer
(CSI), 8-10
Corner mode
PEN*KEY 6400, 6-2
PEN*KEY 6500, 7-2
RT1100, 3-2
RT1700, 4-2
RT3210, 2-3
RT5900, 5-2
CR (carriage return), 8-5
CSI ? 1 h (Cursor key, application), 8-20
CSI ? 2 l (VT52), 8-20
CSI ? 3 h (132 column), 8-20
CSI ? 3 l (80 column), 8-20
CSI ? l l (Cursor key, cursor),
8-20
CSI (control sequence introducer), 8-10
CSI 1 2 h (Send/receive, off),
8-19
CSI 1 2 l (Send/receive, on), 8-19
CSI 2 0 h (New line), 8-20
CSI 2 0 l (Line feed), 8-20
CSI 2 h (Keyboard action, locked), 8-19
Index-2
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
"
INDEX
CSI 2 l (Keyboard action, unlocked), 8-19
CSI 4 h (Insert), 8-19
CSI 4 l (Replace), 8-19
CTRL.
See Control (special function key)
CUB (cursor backward), 8-23
CUD (cursor down), 8-23
CUF (cursor forward), 8-23
CUP (cursor position), 8-23
Cursor backward (CUB), 8-23
Cursor control key codes generated, 8-57 local editing, 8-68
PEN*KEY 6400, 6-17
PEN*KEY 6500, 7-11
RT1100, 3-12
RT1700, 4-15
RT3210, 2-12
RT5900, 5-12
Cursor down (CUD), 8-23
Cursor forward (CUF), 8-23
Cursor key (DECCKM), 8-20
Cursor position (CUP), 8-23
Cursor positioning, 8-23
Cursor up (CUU), 8-23
Customer Response Center, 1-4
Customer Response Hotline, 1-4
CUU (cursor up), 8-23
D
DA (device attributes), 8-43
DAQ (define area qualification),
8-47
Data link escape (DLE), 8-5
Data/Talk (top-row function key)
PEN*KEY 6400, 6-20
PEN*KEY 6500, 7-14
RT1100, 3-15
RT1700, 4-18
RT3210, 2-15
RT5900, 5-15 transmitted code, 8-60
DC1 (device control 1), 8-6
DC2 (device control 2), 8-6
DC3 (device control 3), 8-6
DC4 (device control 4), 8-6
DCH (delete characters), 8-31
DCS (device control string),
8-10, 8-37
DECALN (adjustments), 8-46
DECANM (ANSI/VT52), 8-20
DECARM (auto repeat), 8-21
DECAWM (auto wrap), 8-21
DECBKM (back arrow key),
8-22
DECCKM (cursor key), 8-20
DECCOLM (column), 8-20
DECDHL (double-height line),
8-28
DECDWL (double-width line),
8-28
DECEDM (edit mode),
8-30–8-31, 8-61
DECID (identification), 8-45
Decimal values, 8-4, 8-8
DECKPAM/DECPNM (keypad),
8-22
DECNRCM (character set), 8-22
DECOM (origin), 8-21
DECPEX (print extent), 8-22
DECPFF (print form feed), 8-21
DECRC (restore cursor), 8-24
DECSC (save cursor), 8-24
DECSCA (select character attributes), 8-27
DECSCLM (scrolling), 8-20
DECSCNM (screen), 8-21
DECSED (selective erase in display), 8-33
DECSEL (selective erase in line), 8-33
DECSEL/DECSED (selective erase in line/selective erase in display), 8-27
DECSTBM (set top and bottom margins), 8-34
DECSTR (soft terminal reset),
8-45
DECSWL (single-width line),
8-28
DECTCEM (text cursor enable),
8-22
DECTST (tests), 8-46
DECTTC (set transmit termination character), 8-69–8-70
DECUDK (user-defined keys),
8-36, 8-44
Define area qualification (DAQ),
8-47
DEL (delete)
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
Delete local editing key, 8-67 special function key code generated, 8-56 encoded sequence, 9-48
PEN*KEY 6400, 6-16
PEN*KEY 6500, 7-10
RT1100, 3-11
RT1700, 4-14
RT3210, 2-11
RT5900, 5-11 terminal mode key, 8-22 terminating key, 8-54
Delete (DEL)
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
Delete characters (DCH), 8-31
Delete line (DL), 8-31
Designate characters erasable,
8-27
Designate characters non-erasable, 8-27
Device attributes (DA), 8-43
Device control 1 (DC1), 8-6
Device control 2 (DC2), 8-6
Device control 3 (DC3), 8-6
Device control 4 (DC4), 8-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Index-3
INDEX
"
Device control string (DCS),
8-10, 8-37
Device status reports (DSR),
8-44
Display blinking, 8-26
Display bold, 8-26
Display controls mode, 8-11
Display negative (reverse) image, 8-26
Display normal intensity, 8-26
Display not blinking, 8-26
Display not underlined, 8-26
Display positive image, 8-26
Display underscored, 8-26
DL (delete line), 8-31
DLE (data link escape), 8-5
Documents, 1-4
Double-height line (DECDHL),
8-28
Double-width line (DECDWL),
8-28
Down-line loadable character set, 8-11, 8-42
DRCS (dynamically redefinable character set), 8-11, 8-42
DSR (device status reports),
8-44
Dynamically redefinable character set (DRCS), 8-11, 8-42
E
EAN Algorithms, 9-36
ECH (erase character), 8-32
ED (erase in display), 8-33
Edit key execution mode, 8-62
Edit mode (DECEDM),
8-30–8-31, 8-61
Editing (received code) delete characters (DCH), 8-31 delete line (DL), 8-31 insert characters (ICH), 8-31 insert line (IL), 8-30
Editing keypad codes generated, 8-57
PEN*KEY 6400, 6-16
PEN*KEY 6500, 7-10
RT1100, 3-11
RT1700, 4-15
RT3210, 2-11
RT5900, 5-12
VT220 terminal, 1-7
Editing keys codes generated, 8-57
PEN*KEY 6400, 6-16
PEN*KEY 6500, 7-11
RT1100, 3-11
RT1700, 4-15
RT3210, 2-11
RT5900, 5-12
EL (erase in line), 8-32
EM (end of medium), 8-6
Encoded Code 39, 9-36, 9-45
Encoded sequences, 9-45–9-55
End key, 7-5
End of block characters, 8-62
End of line characters, 8-62
End of medium (EM), 8-6
End of protected area (EPA),
8-10
End of selected area (ESA), 8-9,
8-65
End of text (ETX), 8-5
End of transmission (EOT), 8-5
End transmission block (ETB),
8-6
ENQ (enquiry), 8-5
Enquiry (ENQ), 8-5
Enter auxiliary key code generated, 8-59 encoded sequence, 9-46,
9-47
PEN*KEY 6400, 6-20
PEN*KEY 6500, 7-13
RT1100, 3-14
RT1700, 4-18
RT3210, 2-15
RT5900, 5-14 terminating key line edit mode, 8-54 local edit mode, 8-61
EOT (end of transmission), 8-5
EPA (end of protected area),
8-10
Erase character (ECH), 8-32
Erase in display (ED), 8-33
Erase in line (EL), 8-32
Erasing (received code) erase character (ECH), 8-32 erase in display (ED), 8-33 erase in line (EL), 8-32 selective erase in display
(DECSED), 8-33 selective erase in line
(DECSEL), 8-33
Erasure mode (ERM), 8-29, 8-32
ERM (erasure mode), 8-29, 8-32
ESA (end of selected area), 8-9,
8-65
ESC (escape)
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
ESC [ ? 10 h (Start local editing mode), 8-51
ESC [ = 3 h (Private sequence, reset), 8-48
ESC [ = 3 l (Private sequence, set), 8-48
ESC [ 1 D (Move cursor back one position), 8-51
ESC [ 1; 1 H (Home cursor), 8-51
ESC [ 2 J (Clear screen), 8-51
ESC [ 3 g (Clear tab stops), 8-52
ESC [ l C (Move cursor forward one position), 8-51
ESC } (LS2R), 8-17
ESC # 3 (Double-height, doublewidth line, top), 8-28
ESC # 4 (Double-height, doublewidth line, bottom), 8-28
ESC # 5 (Single-width, singleheight line), 8-28
ESC # 6 (Double-width, singleheight line), 8-29
ESC # 8 (Adjustments), 8-46
Index-4
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
"
INDEX
ESC | (LS3R), 8-17
ESC = (Keypad, application),
8-22
ESC > (Keypad, numeric), 8-22
ESC \ (ST, 7-bit), 8-41
ESC ~ (LS1R), 8-17
ESC 7 (Save cursor), 8-24
ESC 8 (Restore cursor), 8-24
ESC c (Hard terminal reset),
8-45
ESC D (Index), 8-23
ESC E (Next line), 8-24
ESC F (Start selected area),
8-51
ESC G (End selected area), 8-51
ESC H (Horizontal tab set), 8-25
ESC M (Reverse index), 8-24
ESC n (LS2), 8-17
ESC o (LS3), 8-17
ESC P (DCS, 7-bit), 8-38
ESC sp F (Select 7-bit C1
Control), 8-18
ESC sp G (Select 8-bit C1
Control), 8-18
ESC V (Start protected area),
8-51
ESC W (End protected area),
8-51
ESC Z (Identification), 8-45
Escape (ESC)
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
Escape characters (Encoded
Code 39), 9-53
ETB (end transmission block),
8-6
Ethernet, 1-1
ETX (end of text), 8-5
Extended Code 39, 9-36
Extended commands enabling, 9-1
Encoded Code 39, 9-45
Receive Only (#G), 9-16
Return Version (#V), 9-27
Scan Bar Codes (#S), 9-30
Set Parameters (#H), 9-21
Tone (#T), 9-28
Transmit and Receive (#F),
9-2
Transmit Only (#P), 9-11
F
FF (form feed), 8-5
File separator (FS)
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
Find editing key code generated, 8-57 encoded sequence, 9-46
PEN*KEY 6400, 6-17
PEN*KEY 6500, 7-11
RT1100, 3-12
RT1700, 4-15
RT3210, 2-12
RT5900, 5-12 local editing key, 8-67
Firmware
PEN*KEY 6400, 6-1, 6-8, 6-15
PEN*KEY 6500, 7-1, 7-10
RT1100, 3-1, 3-11, 3-16
RT1700, 4-1, 4-8, 4-14
RT3210, 2-1, 2-11, 2-16
RT5900, 5-1, 5-11 setting parameters, 9-21 setting screen mode
PEN*KEY 6400, 6-1
PEN*KEY 6500, 7-2
RT1100, 3-2
RT1700, 4-2
RT3210, 2-2–2-3
RT5900, 5-2
Fn key, 7-5
Form feed (FF), 8-5
Forms, 8-50–8-53
FS (file separator)
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
Function keys codes generated, 8-56, 8-60 encoded sequences, 9-47–9-49,
9-51
PEN*KEY 6400, 6-15, 6-20
PEN*KEY 6500, 7-9, 7-14
RT1100, 3-10, 3-15
RT1700, 4-18
RT3210, 2-10, 2-15
RT5900, 5-11, 5-15 terminating keys, 8-54, 8-61
VT220 terminal, 1-7
G
GATM (guarded area transfer mode), 8-63–8-64
Getting help, 1-4
GL codes, 8-3–8-4
GR codes, 8-7–8-8
Graphic characters, 8-3,
8-11–8-12
Greek character set, 8-13–8-14
Group separator (GS)
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
GS (group separator)
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
Guarded area transfer mode
(GATM), 8-63–8-64
H
Hard character sets, 8-15–8-16
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Index-5
INDEX
"
Hard terminal reset (RIS), 8-45
Help, getting, 1-4
Hexadecimal values
C0 codes, 8-3–8-6
C1 codes, 8-7–8-10 encoded sequences, 9-47, 9-49,
9-50
GL codes, 8-3–8-4
GR codes, 8-7–8-8 hard character sets, 8-15–8-16
Hold screen (top-row function key)
PEN*KEY 6400, 6-20
PEN*KEY 6500, 7-14
RT1100, 3-15
RT1700, 4-18
RT3210, 2-15
RT5900, 5-15 transmitted code, 8-60
Home key, 7-5
Horizontal and vertical positions
(HVP), 8-23
Horizontal tab (HT), 8-5
Horizontal tab set (HTS), 8-9,
8-25
Horizontal tab with justify
(HTJ), 8-9
Host view size
RT1100, 3-1
RT1700, 4-1
PEN*KEY 6500, 7-1
RT5900, 5-1
HT (horizontal tab), 8-5
HTJ (horizontal tab with justify), 8-9
HTS (horizontal tab set), 8-9,
8-25
HVP (horizontal and vertical positions), 8-23
I
ICH (insert characters), 8-31
Identification (DECID), 8-45
IL (insert line), 8-30
Illustrations
PEN*KEY 6400, 6-6, 6-9, 6-18
PEN*KEY 6500, 7-6, 7-12
RT1100, 3-7, 3-13
RT1700, 4-7, 4-9, 4-16
RT3210, 2-7, 2-13
RT5900, 5-7, 5-13
VT220 terminal keyboard, 1-7
IND (index), 8-9, 8-23
Index (IND), 8-9, 8-23
Ins key, 7-5
Insert characters (ICH), 8-31
Insert here editing key code generated, 8-57 encoded sequence, 9-46
PEN*KEY 6400, 6-17
PEN*KEY 6500, 7-11
RT1100, 3-12
RT1700, 4-15
RT3210, 2-12
RT5900, 5-12 local editing key, 8-67
Insert line (IL), 8-30
Insert/Replace (IRM), 8-19
Interactive mode, 8-61
Interleaved 2of5, 9-41
IRM (insert/replace), 8-19
J
Jump scrolling, 8-20
K
KAM (keyboard action mode),
8-19
Keyboard action mode (KAM),
8-19
Keyboard codes.
See Transmitted keyboard codes
Keyboards
PEN*KEY 6400, 6-5
PEN*KEY 6500, 7-5
RT1100, 3-6
RT1700, 4-6
RT3210, 2-6–2-7
RT5900, 5-6
VT220 terminal, 1-6
Index-6
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Keypad (DECKPAM/DECPNM),
8-22
L
Lazy mode
PEN*KEY 6400, 6-3
PEN*KEY 6500, 7-3
RT1100, 3-3
RT1700, 4-3
RT3210, 2-3
RT5900, 5-3
LF (line feed), 8-5
Light.
See Backlight
Line edit mode, 8-48, 8-54
Line feed (LF), 8-5
Line feed/new line (LNM), 8-20
Line transmit mode, 8-62
LNM (line feed/new line), 8-20
Local echo, 8-55
Local edit mode bar code scanning, 8-69 control sequences, 8-61 defining selected areas, 8-65 guarded area transfer mode,
8-63–8-64 keys, 8-66 multiple area transfer mode,
8-65 selected area transfer mode,
8-64 selecting characters, 8-63 setup, 8-62
Local editing application keys,
8-62
Lock (special function key) code generated, 8-56
PEN*KEY 6400, 6-16
PEN*KEY 6500, 7-10
RT1100, 3-11
RT1700, 4-14
RT3210, 2-11
RT5900, 5-11
Lock mode
PEN*KEY 6400, 6-23
PEN*KEY 6500, 7-16
RT1100, 3-16
RT1700, 4-21
RT3210, 2-16
RT5900, 5-16
"
INDEX
Locked mode
PEN*KEY 6400, 6-3
PEN*KEY 6500, 7-3
RT1100, 3-4
RT1700, 4-3
RT3210, 2-4
RT5900, 5-3
Locking shifts, 8-17
M
Main keypad codes generated, 8-56–8-60
PEN*KEY 6400, 6-12
PEN*KEY 6500, 7-8
RT1100, 3-9
RT1700, 4-11
RT3210, 2-9
RT5900, 5-9
VT220 terminal, 1-7
Manuals, 1-4
MATM (multiple area transfer mode), 8-65
Message waiting (MW), 8-10
Modes character, 8-48, 8-55 display controls, 8-11 line edit, 8-48, 8-54 local edit, 8-61
Multinational character set
7-bit control codes, 8-3
8-bit control codes, 8-7–8-8 left half, 8-4 right half, 8-8
Multiple area transfer mode
(MATM), 8-65
MW (message waiting), 8-10
N
NAK (negative acknowledgment), 8-6
National replacement character
(NRC) sets, 8-13–8-14
Negative acknowledgment
(NAK), 8-6
NEL (next line), 8-9, 8-24
Next line (NEL), 8-9, 8-24
Next screen editing key code generated, 8-57 encoded sequence, 9-47
PEN*KEY 6400, 6-17
PEN*KEY 6500, 7-11
RT1100, 3-12
RT1700, 4-15
RT3210, 2-12
RT5900, 5-12 local editing key, 8-67
Norcompress, 8-49
NRC (national replacement character) sets, 8-13–8-14
NUL (null), 8-5
Null (NUL), 8-5
NumLk key, 7-7
O
Operating system command
(OSC), 8-10
Origin (DECOM), 8-21
OSC (operating system command), 8-10
Overlays
PEN*KEY 6400, 6-11
PEN*KEY 6500, 7-7
RT1100, 3-8
RT1700, 4-10
RT3210, 2-8
RT5900, 5-8
P
Page mode
PEN*KEY 6400, 6-2
PEN*KEY 6500, 7-3
RT1100, 3-3
RT1700, 4-3
RT3210, 2-3
RT5900, 5-3
Partial line down (PLD), 8-9
Partial line up (PLU), 8-9
Pause key, 7-5
PEN*KEY 6400 Computer annunciators, 6-4–6-5 auxiliary keypad, 6-19 backlight, 6-24 control keys, 6-22 display emulation, 6-1 editing keypad, 6-16 keyboards, 6-5 local edit mode, 6-5, 7-5 main keypad, 6-12, 6-13 overlays, 6-11 screen modes, 6-1 screen size, 6-1 special function keys, 6-15 top-row function keys, 6-20 user’s guide, 1-5 windowing mode, 6-17
PEN*KEY 6500 Computer annunciators, 7-4–7-5 auxiliary keypad, 7-13 control keys, 7-14 cursor control key, 7-11 display emulation, 7-1 editing keypad, 7-11 host view size, 7-1 keyboard, 7-5 main keypad, 7-8 overlay, 7-7 screen modes, 7-2 screen size, 7-1 special function keys, 7-9 top-row function keys, 7-14 transmission modes, 7-16 windowing mode, 7-11
PEN*KEY 6500 Computer, user’s guide, 1-5
PF (programmable function) keys codes generated, 8-59 encoded sequences, 9-47
PEN*KEY 6400, 6-19
PEN*KEY 6500, 7-13
RT1100, 3-14
RT1700, 4-17
RT3210, 2-14
RT5900, 5-14 terminating keys, 8-54
PgDn key, 7-5
PgUp key, 7-5
Phone numbers, 1-4
PLD (partial line down), 8-9
Plessey, 9-37
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Index-7
INDEX
"
PLU (partial line up), 8-9
PM (privacy message), 8-10
Previous screen editing key code generated, 8-57 encoded sequence, 9-47
PEN*KEY 6400, 6-17
PEN*KEY 6500, 7-11
RT1100, 3-12
RT1700, 4-15
RT3210, 2-12
RT5900, 5-12 local editing key, 8-67
Print cursor line, 8-35
Print extent (DECPEX), 8-22
Print form feed (DECPFF), 8-21
Print screen received code, 8-35 top-row function key
PEN*KEY 6400, 6-20
PEN*KEY 6500, 7-14
RT1100, 3-15
RT1700, 4-18
RT3210, 2-15
RT5900, 5-15 transmitted code, 8-60
Printer controller, 8-35
Printing (received code), 8-34
Privacy message (PM), 8-10
Private sequence, 8-48
Private use 1 (PU1), 8-10
Private use 2 (PU2), 8-10
Problem reporting, 1-4
Programmable function (PF) keys codes generated, 8-59 encoded sequences, 9-47
PEN*KEY 6400, 6-19
PEN*KEY 6500, 7-13
RT1100, 3-14
RT1700, 4-17
RT3210, 2-14
RT5900, 5-14 terminating keys, 8-54
PU1 (private use 1), 8-10
PU2 (private use 2), 8-10
Publications, 1-4
R
Receive Only (#G), 9-16
Received codes adjustments, 8-46 character encoding, 8-1 character mode, 8-48 cursor positioning, 8-23 device attributes, 8-43 device status reports, 8-44 double-height line, 8-28 double-width line, 8-28 down-line loadable character set, 8-11, 8-42 dynamically redefinable character set, 8-11, 8-42 editing, 8-30 erasing, 8-32 hard terminal reset, 8-45 identification, 8-45 line edit mode, 8-48 printing, 8-34 scrolling margins, 8-34 select C1 controls, 8-18 select character attributes,
8-27 select graphic rendition, 8-26 single-width line, 8-28 soft terminal reset, 8-45 tab stops, 8-25 terminal modes, 8-19–8-22 tests, 8-46 user-defined keys, 8-36, 8-44
VT52 mode, 8-46
Record separator (RS) creating forms, 8-53
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
Remove editing key code generated, 8-57 encoded sequence, 9-46
PEN*KEY 6400, 6-17
PEN*KEY 6500, 7-11
RT1100, 3-12
RT1700, 4-15
RT3210, 2-12
RT5900, 5-12 local editing key, 8-67
Reporting problems, 1-4
Reports (received code),
8-43–8-46
Reset mode, 8-19
Restore cursor (DECRC), 8-24
Return (special function key) code generated, 8-56
PEN*KEY 6400, 6-16
PEN*KEY 6500, 7-10
RT1100, 3-11
RT1700, 4-14
RT3210, 2-11
RT5900, 5-11
Return Version (#V), 9-27
Reverse index (RI), 8-9, 8-24
RI (reverse index), 8-9, 8-24
RIS (hard terminal reset), 8-45
RS (record separator) creating forms, 8-53
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
RT1100 Radio Terminal annunciators, 3-4–3-5 auxiliary keypad, 3-14 backlight, 3-16 character mode, 3-5, 8-55 control keys, 3-15 display emulation, 3-1 editing keypad, 3-11 host view size, 3-1 keyboard, 3-6 line edit mode, 8-54 local edit mode, 3-5, 8-61 main keypad, 3-9 overlay, 3-8 screen modes, 3-2 screen size, 3-1 special function keys, 3-10 top-row function keys, 3-15 user’s guide, 1-5 windowing mode, 3-12
RT1700 Radio Terminal annunciators, 4-4–4-5 auxiliary keypad, 4-17 backlight, 4-21 character mode, 8-55 control keys, 4-19–4-20
Index-8
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
"
INDEX
RT1700 Radio Terminal
(Continued)
display emulation, 4-1 editing keypad, 4-15 host view size, 4-1 keyboards, 4-6 line edit mode, 8-54 local edit mode, 4-5, 8-61–8-64 main keypad, 4-11 overlays, 4-10 screen modes, 4-2 screen size, 4-1 top-row function keys, 4-18 user’s guide, 1-5 windowing mode, 4-15
RT3210 Radio Terminal annunciators, 2-4–2-6 auxiliary keypad, 2-14 backlight, 2-16 character sizes, 2-1 cursor control key, 2-12 display emulation, 2-1 editing keypad, 2-11 keyboard, 2-6–2-7 main keypad, 2-9 overlay, 2-8 screen modes, 2-2–2-3 special function keys, 2-10 top-row function keys, 2-15 user’s guide, 1-5 windowing mode, 2-13
RT5900 Radio Terminal annunciators, 5-4–5-5 auxiliary keypad, 5-14 character mode, 5-5, 8-55 control keys, 5-15 cursor control key, 5-12 display emulation, 5-1 editing keypad, 5-12 host view size, 5-1 keyboard, 5-6 line edit mode, 5-5, 8-54 local edit mode, 5-5, 8-61–8-64 main keypad, 5-9 overlay, 5-8 screen modes, 5-2 screen size, 5-1 special function keys, 5-11 top-row function keys, 5-15 transmission modes, 5-16 user’s guide, 1-5 windowing mode, 5-12
S
S7C1T (select 7-bit C1 control),
8-18
S8C1T (select 8-bit C1 control),
8-18
SATM (selected area transfer mode), 8-64
Save cursor (DECSC), 8-24
Scan Bar Codes (#S), 9-30
Scanning.
See Bar code scanning
Screen (DECSCNM), 8-21
Screen lock mode
PEN*KEY 6400, 6-3
PEN*KEY 6500, 7-3
RT1100, 3-3
RT1700, 4-3
RT5900, 5-3
Screen modes
PEN*KEY 6400, 6-1
PEN*KEY 6500, 7-2
RT1100, 3-2
RT1700, 4-2
RT3210, 2-2–2-3
RT5900, 5-2
Screen size
PEN*KEY 6400, 6-1
PEN*KEY 6500, 7-1
RT1100, 3-1
RT1700, 4-1
RT5900, 5-1
ScrLk key, 7-5
Scrolling (DECSCLM), 8-20
Scrolling margins (received code), 8-34
Scrolling region auto wrap (DECAWM), 8-21 delete line (DL), 8-31 description, 8-34 insert line (IL), 8-30 line attributes, 8-27 print extent (DECPEX), 8-22 transfer termination mode,
8-62
Select editing key code generated, 8-57 encoded sequence, 9-47
PEN*KEY 6400, 6-17
Select
(Continued)
editing key
(Continued)
PEN*KEY 6500, 7-11
RT1100, 3-12
RT1700, 4-15
RT3210, 2-12
RT5900, 5-12 local editing key, 8-67
Select 7-bit C1 control (S7C1T),
8-18
Select 8-bit C1 control (S8C1T),
8-18
Select character attributes
(DECSCA), 8-27
Select graphic rendition (SGR),
8-26
Selected area transfer mode
(SATM), 8-64
Selective erase in display
(DECSED), 8-33
Selective erase in line
(DECSEL), 8-33
Send/Receive (SRM), 8-19
Set mode, 8-19
Set Parameters (#H), 9-21
Set top and bottom margins
(DECSTBM), 8-34
Set transmit state (STS), 8-10
Set transmit termination character (DECTTC), 8-69–8-70
Set-up (top-row function key)
PEN*KEY 6400, 6-20
PEN*KEY 6500, 7-14
RT1100, 3-15
RT1700, 4-18
RT3210, 2-15
RT5900, 5-15 transmitted code, 8-60
Setup key, 7-5
SGR (select graphic rendition),
8-26
Shift (special function key) code generated, 8-56
PEN*KEY 6400, 6-16
PEN*KEY 6500, 7-10
RT1100, 3-11
RT1700, 4-14
RT3210, 2-11
RT5900, 5-11
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Index-9
INDEX
"
Shift in (SI), 8-5
Shift key, PEN*KEY 6500, 7-7
Shift out (SO), 8-5
SI (LS0), 8-17
SI (shift in), 8-5
Single shift 2 (SS2), 8-9
Single shift 3 (SS3), 8-10
Single-width line (DECSWL),
8-28
Smooth scrolling, 8-20
SO (LS1), 8-17
SO (shift out), 8-5
Soft character sets, 8-15
Soft terminal reset (DECSTR),
8-45
SOH (start of heading), 8-5
SPA (start of protected area),
8-10
Space bar (special function key) code generated, 8-56
PEN*KEY 6400, 6-16
PEN*KEY 6500, 7-10
RT1100, 3-11
RT1700, 4-14
RT3210, 2-11
RT5900, 5-11
Space compression, 8-62
Special function keys codes generated, 8-56
PEN*KEY 6400, 6-15
PEN*KEY 6500, 7-9
RT1100, 3-10
RT3210, 2-10
RT5900, 5-11
Special graphics character set,
8-11–8-12
SRM (send/receive), 8-19
SS2 (single shift 2), 8-9
SS3 (single shift 3), 8-10
SSA (start of selected area), 8-9,
8-65
ST (string terminator) extended commands
Receive Only, 9-20
Return Version, 9-28
Scan Bar Code, 9-42
Set Parameters, 9-26
Transmit and Receive, 9-3,
9-9
Transmit Only, 9-11, 9-15 received code, 8-10 user-defined keys, 8-37, 8-41
Standard keys codes generated, 8-56
PEN*KEY 6400, 6-12, 6-13
PEN*KEY 6500, 7-8
RT1100, 3-9
RT1700, 4-11
RT3210, 2-9–2-10
RT5900, 5-9
Start of heading (SOH), 8-5
Start of protected area (SPA),
8-10
Start of selected area (SSA), 8-9,
8-65
Start of text (STX), 8-5
Straight 2of5, 9-40
String terminator (ST) extended commands
Receive Only, 9-20
Return Version, 9-28
Scan Bar Code, 9-42
Set Parameters, 9-26
Transmit and Receive, 9-3,
9-9
Transmit Only, 9-11, 9-15 received code, 8-10 user-defined keys, 8-37, 8-41
STS (set transmit state), 8-10
STX (start of text), 8-5
SUB (substitute), 8-6
Substitute (SUB), 8-6
Supplemental graphics character set, 8-7–8-8
Symbols.
See Annunciators
SYN (synchronous table), 8-6
Synchronous table (SYN), 8-6
SysReq key, 7-5
T
Tab local editing key, 8-67 special function key code generated, 8-56
PEN*KEY 6400, 6-16
PEN*KEY 6500, 7-10
RT1100, 3-11
RT1700, 4-14
RT3210, 2-11
RT5900, 5-11 terminating key, 8-54
Tab stops (received code), 8-25
Tables bar code string formats, A-3
C0 control characters, 8-4–8-6
C1 control characters,
8-8–8-10 character sets
Greek, 8-14 multinational, 8-4, 8-8 national replacement, 8-13 special graphics, 8-12 escape sequences, 9-46
GL characters, 8-4 local edit mode, 8-62, 8-67
PEN*KEY 6400 auxiliary keys, 6-19 editing keys, 6-17 special function keys, 6-16 standard keys, 6-12, 6-13 control keys, 6-22 top-row function keys, 6-21
PEN*KEY 6500 auxiliary keys, 7-13 editing keys, 7-11 special function keys, 7-10 standard keys, 7-8 control keys, 7-14 top-row function keys, 7-14 received codes cursor positioning, 8-23 device attributes, 8-43 device status reports, 8-44 double-height line, 8-28 double-width line, 8-29 down-line loadable character set, 8-42 editing sequences, 8-30 erasing, 8-32 hard character set, 8-15
Index-10
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
"
INDEX
Tables
(Continued)
received codes
(Continued)
identification sequence,
8-45 locking shifts, 8-17 printing, 8-35 scrolling margins, 8-34 select C1 controls, 8-18 select character attributes,
8-27 select graphic rendition,
8-26 single-width line, 8-28 tab stops, 8-25 terminal modes, 8-19–8-20 terminal reset, 8-45 tests and adjustments, 8-46
RT1100 auxiliary keys, 3-14 editing keys, 3-12 special function keys, 3-11 standard keys, 3-9 top-row function keys, 3-15
RT1700 auxiliary keys, 4-18 editing keys, 4-15 special function keys, 4-14 standard keys, 4-11 top-row function keys, 4-19
RT3210 auxiliary keys, 2-15 editing keys, 2-12 top-row function keys, 2-15
RT5900 auxiliary keys, 5-14 editing keys, 5-12 special function keys, 5-11 standard keys, 5-9 top-row function keys, 5-15 transmitted keyboard codes auxiliary keys, 8-59 cursor control keys, 8-58 editing keys, 8-57 special function keys, 8-56 top-row function keys, 8-60
Tabulation clear (TBC), 8-25
TBC (tabulation clear), 8-25
Terminal modes, 8-19–8-22
Terminal reset hard, 8-45 soft, 8-45
Terminating keys
Encoded Code 39, 9-45, 9-52 line edit mode, 8-54 local edit mode, 8-61
Tests (DECTST), 8-46
Tests and adjustments
(DECTST/DECALN), 8-46
Text cursor enable (DECTCEM),
8-22
Text forms, 8-50–8-53
Tone (#T) extended command,
9-28
Top-row function keys codes generated, 8-60
PEN*KEY 6400, 6-20
PEN*KEY 6500, 7-14
RT1100, 3-15
RT1700, 4-18
RT3210, 2-15
RT5900, 5-15
Transfer termination mode, 8-62
Transmission modes character, 8-55 line edit, 8-54 local edit, 8-61
Transmit and Receive (#F), 9-2
Transmit execution mode, 8-62
Transmit Only (#P), 9-11
Transmitted keyboard codes auxiliary keys, 8-59 editing keys, 8-57 special function keys, 8-56 standard keys, 8-56 top-row function keys, 8-60 transmission modes, 8-54
Type ahead, 8-55
U
Unit separator (US)
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
UPC, 9-34
US (unit separator)
PEN*KEY 6400, 6-22
PEN*KEY 6500, 7-15 received code, 8-6
RT1100, 3-15
RT1700, 4-19
RT5900, 5-16
User-defined keys (DECUDK),
8-36, 8-44
V
Vertical tab (VT), 8-5
Vertical tabulation set (VTS),
8-9
VT (vertical tab), 8-5
VT131 transfer mode, 8-62
VT220 terminal keyboard, 1-6
VT330/VT340 terminal local edit mode, 8-61 right margin, 8-49 text forms, 8-50–8-53
VT52 mode, 8-46
VTS (vertical tabulation set), 8-9
X
XOFF, 8-6, 9-7
XON, 8-6, 9-7
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Index-11
INDEX
"
Index-12
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Download
Advertisement
Key features
VT220/ANSI terminal emulation
User-defined keys
Extended commands
Bar code scanning
Data entry and communication
Multiple screen modes
Windowing
Local editing
Character rendition and attributes
Down-line loadable character set
Frequently asked questions
This guide provides a comprehensive reference for programmers who are developing applications for Intermec's VT220/ANSI terminal emulation devices.
These devices support a variety of character encoding schemes, including C0, GL, C1, GR, and the multinational character set. You can also define your own character sets using the dynamically redefinable character set feature.
Extended commands allow you to interact with the device at a lower level, giving you more control over its operation. They are used for functions such as transmit/receive on an RS-232 port, bar code scanning, and tone generation.
You can define user-defined keys (UDKs) using the DECUDK escape sequence. These keys can be programmed to send specific escape sequences or character strings.
Bar code scanning is supported using the #S extended command, which allows you to specify the bar code symbology, length, and other parameters.