Download PRINT370 Option - Barr Central Home
Transcript
Format header 76 1A FF FF Records Beginning length byte 2 bytes (0 1 - F F, LSB MSB) Channel command Print data 1 byte 0 - n bytes Ending length byte 2 bytes* *The Beginning and Ending length bytes have the same values. A S/370 File Format For S/370 Word-Length Record format, you must give the record length counts in INTEL format, where the most significant byte (MSB) follows the least significant byte (LSB). For example, you would represent the length value 0150 as 50 01. This example contains the same carriage control commands and print text as the Byte-Length example, but the information is in Word-Length format. 76 1A FF FF 00 8B 01 00 00 09 C8 C9 5A 04 00 00 89 C4 D6 D5 C5 05 00 Header 76 1A FF FF Record 1 01 00 8B 01 00 Beginning length bytes (record contains one byte) Channel command (Skip to Channel 1) Ending length bytes Record 2 04 00 09 C8 C9 5A 04 00 Beginning length bytes (record contains four bytes) Channel command (Write and Space 1 Line) Data (HI!) Ending length bytes Record 3 05 00 Beginning length bytes (five bytes of information) 89 Channel command (Write and Skip to Channel 1) C4 D6 D5 C5 Data (DONE) 05 00 Ending length bytes 140 A.2 - Record Formats