Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 106
Transmit Only On RS-232 Port (#P), 3270 and 5250 Data Streams
View all Intermec CV30 manuals
Add to My Manuals
Save this manual to your list of manuals |
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