home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doc_hard / faxg3.lzh / faxg3.def
Encoding:
Text File  |  1990-12-15  |  15.7 KB  |  438 lines

  1.  
  2. below is the CCITT spec for Group 3 encoding and transmission.
  3. it says "draft recommendation", but i think it's pretty accurate.
  4. it's about 16k. 
  5.  
  6.  
  7. RFC 804
  8.  
  9.  
  10.                CCITT Draft Recommendation T.4
  11.  
  12.  
  13.   As Defined In: CCITT STUDY GROUP XIV, CONTRIBUTION No.25-E
  14.  
  15. SOURCE: DRAFTING GROUP ON DRAFT RECOMMENDATION T.4
  16. TITLE: DRAFT RECOMMENDATION T.4 - STANDARDIZATION OF GROUP 3
  17.     FACSIMILE   APPARATUS   FOR  DOCUMENT  TRANSMISSION  (as
  18.     amended and agreed by Working Party XIV/2)
  19.  
  20. Draft Recommendation T.4
  21.  
  22. STANDARDIZATION OF GROUP 3 FACSIMILE APPARATUS FOR  DOCUMENT
  23. TRANSMISSION
  24.  
  25. The CCITT, considering
  26.  
  27. a.  that Recommendation T.2 refers to Group 1 type apparatus
  28.     for  ISO  A4 document transmission over a telephone-type
  29.     circuit in approximately six minutes;
  30. b.  that Recommendation T.3 refers to Group 2 type apparatus
  31.     for  ISO  A4 document transmission over a telephone-type
  32.     circuit in approximately three minutes:
  33. c.  that there is a  demand  for  Group  3  apparatus  which
  34.     enables  an  ISO  A4  document  to be transmitted over a
  35.     telephone-type circuit in approximately one minute;
  36. d.  that for a large number of applications black and  white
  37.     reproduction is sufficient;
  38. e.  that  such   a   service   may   be   requested   either
  39.     alternatively   with  telephone  conversation,  or  when
  40.     either or both stations are not attended; in both cases,
  41.     the facsimile operation will follow Recommendation T.30,
  42.  
  43. (unanimously) declares  the  view  that  Group  3  facsimile
  44. apparatus  for use on the general switched telephone network
  45. and international leased circuits  should  be  designed  and
  46. operated according to the following standards:
  47.  
  48.  
  49. 1.  Scanning track
  50.  
  51.      The  message  area  should  be  scanned  in  the   same
  52. direction  in  the  transmitter  and  receiver.  Viewing the
  53. message area in a vertical  plane,  the  scanning  direction
  54. should  be from left to right and subsequent scans should be
  55. adjacent and below the previous scan.
  56.  
  57.  
  58. 2.  Dimensions of apparatus
  59.  
  60.      The following dimensions should be used:
  61.  
  62. a.  A normal definition  standard  and  an  optional  higher
  63.     definition standard of 3.85 and 7.7 line/mm respectively
  64.     in vertical direction;
  65. b.  1728 black and white picture elements along the  scanned
  66.     line;
  67. c.  A scanning line length of 215 mm.  Other  scanning  line
  68.     lengths  may  be  employed  in  which  case the scanning
  69.     density  should  be  changed  to  maintain  the  correct
  70.     picture proportions;
  71. d.  Input documents up to a minimum of ISO A4 size should be
  72.     accepted.
  73.  
  74. 3.  Transmission time per scanning line
  75.  
  76.      A total scanning line is defined as  the  sum  of  DATA
  77. bits  plus  any  required  FILL bits plus the EOL bits.  The
  78. minimum transmission times of the total scanning line should
  79. conform to the following:
  80.  
  81. a.  20 milliseconds recommended standard  with  an  optional
  82.     fall-back to the 40 milliseconds option;
  83. b.  10  milliseconds  recognized  option  with  a  mandatory
  84.     fall-back to the 20 milliseconds standard;
  85. c.  5  milliseconds  recognized  option  with  a   mandatory
  86.     fall-back  to  the  10  milliseconds  option  and the 20
  87.     milliseconds standard;
  88. d.  40 milliseconds recognized option.
  89.  
  90.      The  identification  and   choice   of   this   minimum
  91. transmission time is to be made in the pre-message (Phase B)
  92. portion  of  the  T.30  control  procedure.    The   maximum
  93. transmission  time of any total scanning line should be less
  94. than 5 seconds.
  95.  
  96. 4.  Coding scheme
  97.  
  98.      The  one-dimensional   run   length   encoding   scheme
  99. recommended for Group 3 apparatus is as follows:
  100.  
  101. a.  DATA
  102.     A line of data is  composed  of  a  series  of  variable
  103.     length  code  words.   Each  code  word represents a run
  104.     length of either all white or all black.  White runs and
  105.     black  runs alternate.  A total of 1728 picture elements
  106.     represent one horizontal scanning line of  the  document
  107.     of  standard  A4  size.   In  order  to  insure that the
  108.     receiver maintains color synchronization, all DATA lines
  109.     will  begin  with  a white run length code word.  If the
  110.     actual scanning line begins with a black  run,  a  white
  111.     run  length  of  zero  will be sent.  Black or white run
  112.     lengths, up to a maximum length  of  one  scanning  line
  113.     (1728  picture elements or pels) are defined by the code
  114.     words in Tables 1 and 2.  The  code  words  are  of  two
  115.     types:  Terminating  Code  words and Make Up Code words.
  116.     Each run length is represented by either one Terminating
  117.     Code  word  or  one  Make  Up  Code  word  followed by a
  118.     Terminating Code word.
  119.  
  120.     Run lengths in the range of 0 to  63  pels  are  encoded
  121.     with their appropriate Terminating Code word.  Note that
  122.     there is a different list of code words  for  black  and
  123.     white run lengths.
  124.  
  125.     Run lengths in the range of 64 to 1728 pels are  encoded
  126.     first  by  the  Make  Up  Code word representing the run
  127.     length which is equal to or shorter than that  required.
  128.     This  is  then  followed  by  the  Terminating Code word
  129.     representing the difference  between  the  required  run
  130.     length  and  the  run  length represented by the Make Up
  131.     Code.
  132.  
  133. b.  END OF LINE (EOL)
  134.  
  135.     This code word follows each  line  of  DATA.   It  is  a
  136.     unique  code word that can never be found within a valid
  137.     line of  DATA;  therefore,  resynchronization  after  an
  138.     error burst is possible.
  139.  
  140.     In addition, this signal will occur prior to  the  first
  141.     DATA line of a page.
  142.  
  143.                     Format: 000000000001
  144.  
  145. c.  FILL
  146.  
  147.     A  pause  may  be  placed  in  the   message   flow   by
  148.     transmitting  FILL.  FILL may be inserted between a line
  149.     of DATA and an EOL, but never within  a  line  of  DATA.
  150.     Fill  must  be  added  to insure that each line of DATA,
  151.     FILL, and EOL exceeds the minimum transmission time of a
  152.     total   scanning  line  established  in  the  premessage
  153.     control procedure.  The maximum length for a single line
  154.     of  FILL  is  5  seconds,  after  which the receiver may
  155.     disconnect.
  156.  
  157.         Format: variable length string of 0's.      
  158.  
  159. d.  RETURN TO CONTROL (RTC)
  160.  
  161.     The end of  a  document  transmission  is  indicated  by
  162.     sending   six  consecutive  EOL's.   Following  the  RTC
  163.     signal, the  transmitter  will  send  the  post  message
  164.     commands in the standard T.30 blocked format at the data
  165.     rate.
  166.  
  167.      Format: 000000000001 ... ... ... ... 000000000001
  168.                      (total of 6 times)
  169.  
  170.  
  171.          Table 1a. Terminating White Codes
  172.          Code            Lng     Run
  173.          ---------------------------
  174.          00110101        8       0
  175.          000111          6       1
  176.          0111            4       2
  177.          1000            4       3
  178.          1011            4       4
  179.          1100            4       5
  180.          1110            4       6
  181.          1111            4       7
  182.          10011           5       8
  183.          10100           5       9
  184.          00111           5       10
  185.          01000           5       11
  186.          001000          6       12
  187.          000011          6       13
  188.          110100          6       14
  189.          110101          6       15
  190.          101010          6       16
  191.          101011          6       17
  192.          0100111         7       18
  193.          0001100         7       19
  194.          0001000         7       20
  195.          0010111         7       21
  196.          0000011         7       22
  197.          0000100         7       23
  198.          0101000         7       24
  199.          0101011         7       25
  200.          0010011         7       26
  201.          0100100         7       27
  202.          0011000         7       28
  203.          00000010        8       29
  204.          00000011        8       30
  205.          00011010        8       31
  206.          00011011        8       32
  207.          00010010        8       33
  208.          00010011        8       34
  209.          00010100        8       35
  210.          00010101        8       36
  211.          00010110        8       37
  212.          00010111        8       38
  213.          00101000        8       39
  214.          00101001        8       40
  215.          00101010        8       41
  216.          00101011        8       42
  217.          00101100        8       43
  218.          00101101        8       44
  219.          00000100        8       45
  220.          00000101        8       46
  221.          00001010        8       47
  222.          00001011        8       48
  223.          01010010        8       49
  224.          01010011        8       50
  225.          01010100        8       51
  226.          01010101        8       52
  227.          00100100        8       53
  228.          00100101        8       54
  229.          01011000        8       55
  230.          01011001        8       56
  231.          01011010        8       57
  232.          01011011        8       58
  233.          01001010        8       59
  234.          01001011        8       60
  235.          00110010        8       61
  236.          00110011        8       62
  237.          00110100        8       63
  238.  
  239.  
  240.          Table 1b. Make Up White Codes
  241.          Code            Lng     Run
  242.          ---------------------------
  243.          11011           5       64
  244.          10010           5       128
  245.          010111          6       192
  246.          0110111         7       256
  247.          00110110        8       320
  248.          00110111        8       384
  249.          01100100        8       448
  250.          01100101        8       512
  251.          01101000        8       576
  252.          01100111        8       640
  253.          011001100       9       704
  254.          011001101       9       768
  255.          011010010       9       832
  256.          011010011       9       896
  257.          011010100       9       960
  258.          011010101       9       1024
  259.          011010110       9       1088
  260.          011010111       9       1152
  261.          011011000       9       1216
  262.          011011001       9       1280
  263.          011011010       9       1344
  264.          011011011       9       1408
  265.          010011000       9       1472
  266.          010011001       9       1536
  267.          010011010       9       1600
  268.          011000          6       1664
  269.          010011011       9       1728
  270.  
  271.  
  272.          Table 2a. Terminating Black Codes
  273.          Code            Lng     Run
  274.          ---------------------------
  275.          0000110111      10      0
  276.          010             3       1
  277.          11              2       2
  278.          10              2       3
  279.          011             3       4
  280.          0011            4       5
  281.          0010            4       6
  282.          00011           5       7
  283.          000101          6       8
  284.          000100          6       9
  285.          0000100         7       10
  286.          0000101         7       11
  287.          0000111         7       12
  288.          00000100        8       13
  289.          00000111        8       14
  290.          000011000       9       15
  291.          0000010111      10      16
  292.          0000011000      10      17
  293.          0000001000      10      18
  294.          00001100111     11      19
  295.          00001101000     11      20
  296.          00001101100     11      21
  297.          00000110111     11      22
  298.          00000101000     11      23
  299.          00000010111     11      24
  300.          00000011000     11      25
  301.          000011001010    12      26
  302.          000011001011    12      27
  303.          000011001100    12      28
  304.          000011001101    12      29
  305.          000001101000    12      30
  306.          000001101001    12      31
  307.          000001101010    12      32
  308.          000001101011    12      33
  309.          000011010010    12      34
  310.          000011010011    12      35
  311.          000011010100    12      36
  312.          000011010101    12      37
  313.          000011010110    12      38
  314.          000011010111    12      39
  315.          000001101100    12      40
  316.          000001101101    12      41
  317.          000011011010    12      42
  318.          000011011011    12      43
  319.          000001010100    12      44
  320.          000001010101    12      45
  321.          000001010110    12      46
  322.          000001010111    12      47
  323.          000001100100    12      48
  324.          000001100101    12      49
  325.          000001010010    12      50
  326.          000001010011    12      51
  327.          000000100100    12      52
  328.          000000110111    12      53
  329.          000000111000    12      54
  330.          000000100111    12      55
  331.          000000101000    12      56
  332.          000001011000    12      57
  333.          000001011001    12      58
  334.          000000101011    12      59
  335.          000000101100    12      60
  336.          000001011010    12      61
  337.          000001100110    12      62
  338.          000001100111    12      63
  339.  
  340.  
  341.          Table 2b. Make Up Black Codes
  342.          Code            Lng     Run
  343.          ---------------------------
  344.          0000001111      10      64
  345.          000011001000    12      128
  346.          000011001001    12      192
  347.          000001011011    12      256
  348.          000000110011    12      320
  349.          000000110100    12      384
  350.          000000110101    12      448
  351.          0000001101100   13      512
  352.          0000001101101   13      576
  353.          0000001001010   13      640
  354.          0000001001011   13      704
  355.          0000001001100   13      768
  356.          0000001001101   13      832
  357.          0000001110010   13      896
  358.          0000001110011   13      960
  359.          0000001110100   13      1024
  360.          0000001110101   13      1088
  361.          0000001110110   13      1152
  362.          0000001110111   13      1216
  363.          0000001010010   13      1280
  364.          0000001010011   13      1344
  365.          0000001010100   13      1408
  366.          0000001010101   13      1472
  367.          0000001011010   13      1536
  368.          0000001011011   13      1600
  369.          0000001100100   13      1664
  370.          0000001100101   13      1728
  371.  
  372. Note: It is recognized that machines exist which accommodate
  373. larger   paper   widths   whilst  maintaining  the  standard
  374. horizontal resolution.  This option has been provided for by
  375. the addition of the Make Up Code Set defined as follows:
  376.  
  377.      
  378.      
  379.          Table 3. Extended Make Up Codes (Black and White)
  380.          Code            Lng     Run
  381.          ---------------------------
  382.          00000001000     11      1792
  383.          00000001100     11      1856
  384.          00000001101     11      1920
  385.          000000010010    12      1984
  386.          000000010011    12      2048
  387.          000000010100    12      2112
  388.          000000010101    12      2176
  389.          000000010110    12      2240
  390.          000000010111    12      2304
  391.          000000011100    12      2368
  392.          000000011101    12      2432
  393.          000000011110    12      2496
  394.          000000011111    12      2560
  395.  
  396.      The identification and choice of  either  the  standard
  397. code  table  or the extended code table is to be made in the
  398. pre-message  (Phase  B)  portion   of   the   T.30   control
  399. procedures.
  400.  
  401. 4.2 Two dimensional coding scheme
  402.  
  403.      The one-dimensional coding scheme defined in 4.1 may be
  404. extended  as an option to a two-dimensional scheme.  This is
  405. the subject of further study.
  406.  
  407. 5.  Modulation and demodulation method
  408.  
  409.      It is  provisionally  agreed  that  Group  3  apparatus
  410. operating  on  the  general switched telephone network shall
  411. utilize the modulation scrambler,  equalization  and  timing
  412. signals  defined  in Recommendation V.27ter, specifically in
  413. the preamble and 2, 3, 6, 7, 9 and 10.
  414.  
  415.      The  data  signalling  rates  to  be  used  are   those
  416. recommended  in  Recommendation V.27ter, i.e.  4800 and 2400
  417. bit/s.
  418.  
  419. Note 1: Some administrations pointed out that it  would  not
  420. be  possible  to  guarantee the service at a data signalling
  421. rate higher than 2400 bit/s.
  422.  
  423. Note 2: It should be noted  that  there  are  equipments  in
  424. service  using,  inter  alia, other modulation methods.  The
  425. arrangement of interworking between equipment conforming  to
  426. Recommendation  T.4 and these existing equipments is subject
  427. to further study.
  428.  
  429. Note 3: For higher speed operation, such as may be  possible
  430. on  leased circuits, it is provisionally agreed that Group 3
  431. apparatus may utilize the signals specifically defined in 1,
  432. 2, 3, 4, 7, 8, 9, 11, and 12 of Recommendation V.29.
  433.  
  434. -- 
  435. /* eli@spdcc.com  eli@pws.bull.com    617 932 5598  508 294 7556  */
  436.  
  437.  
  438.