📄 rfc769.txt
字号:
Network Working Group J. PostelRequest for Comments: 769 ISI 26 September 1980 Rapicom 450 Facsimile File Format ---------------------------------Introduction:Several organizations in the ARPA Internet community have RAPICOM 450facsimile machines interfaced to computers. This allows theseorganizations to enter a facsimile representation of a page into acomputer file, and to produce a page from stored facsimile data. Theseorganizations can exchange stored facsimile data via file transfer andother protocols. The purpose of this note is to document the formatused for these files so that other organizations with compatiblefacsimile devices can join in this information exchange procedure.The Rapicom 450:The Rapicom 450 has a built in encoding/decoding scheme. It producesdata blocks of 585 bits. There are "set up" blocks and "data" blocks.The machine sends/receives several copies of the set up block, but sincethey are identical only one set up block is stored in the file.Records:Each 585 bit block is placed in a record of 8-bit bytes. The recordformat is a length byte, a command byte and the data bytes. Each recordis an integral number of bytes. The length value includes the lengthbyte and the command byte. The command describes the data in the datafield. 0 1 2 3 length +--------+--------+--------+--------+---//---+--------+--------+ | length | command| data | +--------+--------+--------+--------+---//---+--------+--------+ Rapicom 450 Facsimile RecordCommands:56 - SET-UP The command code 56 (70 octal) indicates the following data field is a set up block.Postel [page 1] 26 September 1980Rapicom 450 Facsimile File Format RFC 76957 - DATA The command code 57 (71 octal) indicates the following data field is a data block.58 - END The command code 58 (72 octal) indicates that this is the last record in the file. In this case the length may be 2, indicating that there is no data in this record.Conventions:In the files exchanged to date, each record contains one block. Thismeans the data field is 74 bytes long (585/8=73.125), and the lengthfield has the value 76 (114 octal), except the last record which maycarry no data and have a length of 2.The first record of a file is always a SET UP record, the followingrecords are DATA records, until the last record which is an END record.Details:The 585 bit data block is encoded by the Rapicom 450 and so can not beused a bit map unless the encoding/decoding procedure is known and used.The first 24 bits of the block is always a synchronization mark with thevalue 271 141 344 in octal or 101110010110000111100100 in binary.The low order two bits of the next byte contain a sequence number(modulo 4). The sequence number bits cycle in the order 11, 01, 10, 00,starting with the first DATA record (not the SET UP record).The line below represents a DATA record, where L represents a lengthbit, C represents a command bit, M represents the synchronization mark,S represents a sequence bit, F represents a fill bit, the dashrepresents 68 other data octets, and an D represents a data bit.LLLLLLLLCCCCCCCCMMMMMMMMMMMMMMMMMMMMMMMMDDDDDDSSDDDDDDDD-DFFFFFFFIn the line below the normal values have been filled in for the length,the command, the synchronization mark and fill bits.0100110000111001101110010110000111100100DDDDDDSSDDDDDDDD-D0000000[page 2] Postel
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -