B.2.2 Page header

Parameter

Type

Comment

PageHeaderID

byte

254 (Page data record type)

PageHeaderLen

byte

0: Document end

 

 

1...255: byte offset of first page data from the Resolution

 

 

Vertical field of the page header. This value is normally equal

 

 

to the size of the remainder of the header (0x10), but there

 

 

could be additional user-specific data between page header

 

 

and page data. COMMON-ISDN-APIignores and does not

 

 

provide such additional data.

Resolution Vertical

byte

Definition of vertical resolution; different resolutions in one

 

 

document may be ignored by COMMON-ISDN-API

 

 

0: 98 lpi (standard)

 

 

1:: 196 lpi (high resolution)

 

 

2...254: reserved

 

 

255: end of document (should not be used: PageHeaderLen

 

 

should be coded 0 instead)

 

 

If FAX paper formats and resolutions are enabled

 

 

0x00: 98 lpi (3.85 lines per millimeter)

 

 

0x01: 196 lpi (7.7 lines per millimeter)

 

 

0x02..0x7f: reserved

 

 

0x80: reserved

 

 

0x81: 100 lpi

 

 

0x82: reserved

 

 

0x83: 200 lpi

 

 

0x84: reserved

 

 

0x85: 300 lpi

 

 

0x86: 392 lpi (15.4 lines per millimeter)

 

 

0x87: 400 lpi

 

 

0x88..0x8a: reserved

 

 

0x8b: 600 lpi

 

 

0x8c..0x8e: reserved

 

 

0x8f: 800 lpi

 

 

0x90..0x96: reserved

 

 

0x97: 1200 lpi

 

 

0x98..0xff: reserved

Resolution Horizontal

byte

Definition of horizontal resolution

 

 

0: 203 dpi (standard)

 

 

1...255: reserved

 

 

If FAX paper formats and resolutions is enabled

 

 

0x00: 203 dpi (R8, 8 pels per millimeter)

 

 

0x01..0x7f: reserved

 

 

0x80: reserved

 

 

0x81: reserved

 

 

0x82: reserved

 

 

0x83: 200 dpi

 

 

0x84: reserved

 

 

0x85: 300 dpi

 

 

0x86: 406 dpi (R16, 16 pels per millimeter)

 

 

0x87: 400 dpi

 

 

0x88..0x8a: reserved

 

 

0x8b: 600 dpi

 

 

0x8c..0x96: reserved

 

 

0x97: 1200 dpi

 

 

0x98..0xff: reserved

Coding

byte

Definition of pixel line coding

 

 

0: modified Huffman coding

 

 

1...255: reserved

reserved

byte

Coded as 0

 

 

9