10/10/03

If the control bit is 0, replacement data is not repeated data. Bits 6 to 3 contain the offset count. This field value is from 0 to 15. If this value is 15, the next byte of the control bytes is an optional offset count. The value of this optional offset count byte is from 0 to 255. If this optional offset count value is 255, then the next byte is another (second) optional offset count byte. Optional offset count bytes will continue until the value is less than 255. The total Offset value is the sum of the offset count in the control byte and all the optional offset bytes.

Bits 2 to 0 of the control byte contains the replacement count - 1. The value is from 0 to 7. If this value is 7, optional replacement byte(s) follow the control byte or optional offset byte(s) (if any).

If the first optional replacement count byte is 255, then a second optional count byte follows the first optional count byte. Optional offset count bytes will continue until the value becomes less than 255. The addition of the replacement count in the control byte and all optional replacement count bytes gives the total replacement count.

Replacement data bytes follow the control byte and any optional offset bytes and any optional replacement count bytes.

<Example>

 

Seed row

55 55 55 55 55 55 55 55 55 55 55 55 55

Current row

55 55 55 55 55 11 11 22 33 44 55 66 77

<Different section 11 11 22 33 44 55 66 77>

Offset count = 5 Replacement count = 8

Replacement data = 11 11 22 33 44 55 66 77

7

6

5

4

3

2

1

0

 

 

0

0

1

0

1

1

1

1

 

Optional offset count byte = 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Offset count = 5

11 11 22 33 44 55 66 77

8 bytes of repracement data

Replacement count = 7 + 1 = 8

Command byte for mode 9 compression (repeated replacement data)

7

6

5

4

3

2

1

0

1

Offset count

Replacement count

Control bit

If the control bit is 1, replacement data is repeated data. Bits 6 to 5 contain the offset count and bits 4 to 0 contain the 'replacement count (repeat count) - 2'.

If bit 6 and bit 5 are '1', then an optional offset byte follows the control byte. If the value of this optional offset byte is 255, another (second) optional offset byte follows the first optional offset byte. The addition of the offset count in the control byte and any optional offset bytes gives the total offset count.

If bits 4 to 0 are all '1', an optional replacement count byte follows the control byte or any optional offset byte(s). If the first optional replacement count byte has a value of 255, a second optional replacement count byte follows the first optional replacement count byte. Optional replacement count bytes will continue until the value becomes less than 255.

<Example>

 

Seed row

55 55 55 55 55 55 55 55 55 55 55 55 55

Current row

55 55 55 11 11 11 55 55 66 66 66 66 55

<First section 11 11 11>

Offset count = 3 Replacement count = 3 Replacement data = 11

CHAPTER 2 "PCL" - 79

Page 97
Image 97
Homelite 2060, HL-P2500, HL-1660E, HL-2400CE, HL-1450, HL-1050, HL-1250, HL-1470N, HL-1070, HL-1270N Optional offset count byte =