Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 106

Transmit Only On RS-232 Port (#P), 3270 and 5250 Data Streams

Page 106 highlights

Chapter 3 - Extended Commands Transmit Only On RS-232 Port (#P) The Transmit Only On RS-232 Port extended command lets the computer send information to a slaved RS-232 device, such as a receipt printer or bar code printer. The command uses the RS-232 communications port to send data to the device. The computer checks data from the host computer for a transmit sequence, then sends the requested data. The host computer signals the computer 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 a "#" (pound sign). The computer sends the data to the RS-232 port until it detects a "#" character. 3270 and 5250 Data Streams Line 2, Column 1, begins the start of transmit data. The host application must set up the screen with a transmit field to locate the RS-232 port I/O data. The field can be anywhere on the screen, beginning at position 80. The output stream takes the form of ASCII characters. For nondisplayable ASCII characters, you may insert the "=yy" characters, where "yy" is the hexadecimal representation of the output byte. For example, insert "=0D" if your printer requires a carriage return, or insert "=0A" for a line feed. For a table of hex values and decimal equivalents, see Appendix A, "Tables." The following table describes the line and columns where characters must appear, and their meanings. Note that the line and column information refers to a 3278 unit with a 24-line by 80-column display and that "b" indicates a 1-byte space. The display buffer position refers to the same buffer but with a linear array ranging from 0 to 1919. 3270 and 5250 Data Streams Column Description 2 Begin extended command 3 Transmit Only on RS-232 Port command 4 Speed (bits per second) 5 6 7 8-9 10 11-12 Data parity Data bits Stop bits Reserved XON/XOFF flow control Flow control timeout value Character # P 1=1200; 2=2400; 3=4800; 4=9600; 5=19200; 6=38400; 7=57600; 8=115200 N=None; 0 (zero)=None; b=None; E=Even; O=Odd 7=Seven; 8=Eight 1=One; 2=Two bb 0=Disable; 1=Enable XX=Number of seconds 94 Intermec Terminal Emulator (ITE) Programmer's Reference Manual

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184

Chapter 3 — Extended Commands
94
Intermec Terminal Emulator (ITE) Programmer’s Reference Manual
Transmit Only On RS-232 Port (#P)
The Transmit Only On RS-232 Port extended command lets the computer send
information to a slaved RS-232 device, such as a receipt printer or bar code printer.
The command uses the RS-232 communications port to send data to the device.
The computer checks data from the host computer for a transmit sequence, then
sends the requested data. The host computer signals the computer 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 a “#” (pound sign). The computer sends
the data to the RS-232 port until it detects a “#” character.
3270 and 5250 Data Streams
Line 2, Column 1, begins the start of transmit data. The host application must set
up the screen with a transmit field to locate the RS-232 port I/O data. The field can
be anywhere on the screen, beginning at position 80.
The output stream takes the form of ASCII characters. For nondisplayable ASCII
characters, you may insert the “=yy” characters, where “yy” is the hexadecimal
representation of the output byte. For example, insert “=0D” if your printer requires
a carriage return, or insert “=0A” for a line feed. For a table of hex values and decimal
equivalents, see Appendix A,
“Tables.”
The following table describes the line and columns where characters must appear,
and their meanings. Note that the line and column information refers to a 3278 unit
with a 24-line by 80-column display and that “b
” indicates a 1-byte space. The
display buffer position refers to the same buffer but with a linear array ranging from
0 to 1919.
3270 and 5250 Data Streams
Column
Description
Character
2
Begin extended command
#
3
Transmit Only on
RS-232 Port command
P
4
Speed (bits per second)
1=1200; 2=2400; 3=4800; 4=9600; 5=19200;
6=38400; 7=57600; 8=115200
5
Data parity
N=None; 0 (zero)=None; b
=None; E=Even; O=Odd
6
Data bits
7=Seven; 8=Eight
7
Stop bits
1=One; 2=Two
8-9
Reserved
bb
10
XON/XOFF flow control
0=Disable; 1=Enable
11-12
Flow control timeout value
XX=Number of seconds