Bits/index ; Bits/value (#1, #2, #3) ; 2) Long - Page 146

Brother HL-4040CDN Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 3 PCL5C - 8 

 

Bits/index 

 

Specifies the palette size at 2

n

n

 indicates bits/index. (

n

=4 

 2

4

=16 palettes) 

 

When the encoding mode is 0 or 1, the palette size selected by the bits/index value specifies the range of the 
index No., which can be used for raster data. 

 

The values specified by the encoding mode are listed below; 

Encoding Mode 

Bits/Index 

0 0,1,2,3,4,5,6,7,8 
1 1,2,4,8 
2 1 
3 8 

 

 

Bits/value (#1, #2, #3) 

Each value indicates a color as follows; 

#1: red 
#2: green 
#3: blue 

 

When the encoding mode is 0 or 1, it ignores this setting.    The black/white reference, described later, is set. 

 

When the encoding mode is 2, it shows the number of planes that are required to send each color. 

 

When the encoding mode is 3, it shows the number of bits that are required to send each color. 

 

It sets the black reference to 0.    (Valid when the Encoding mode is 0 or 1.) 

 

It sets the white reference to 2

n

-1.    (Valid when the Encoding mode is 0 or 1.) 

 

2) Long 

Format 

 MSB 

LSB 

0 - 1 

Format (0) 

Encoding mode 

2 - 3 

Bits / index 

Bits / value #1 

4 - 5 

Bits / value #2 

Bits / value #3 

6 - 7 

White reference for value #1 

8 - 9 

White reference for value #2 

10 - 11 

White reference for value #3 

12 - 13 

Black reference for value #1 

14 - 15 

Black reference for value #2 

16 - 17 

Black reference for value #3 

The long format allows you make the setting of the white/black reference in addition to the ones available in the 
short format. 

 

 

White reference for value #1, #2, #3 

 

This mode specifies the white value (the lowest level of density). 

 

Each value indicates a color as follows; 

#1: red 
#2: green 
#3: blue 

Range: -32767 ~ 32767 

 

When the encoding mode is 2 or 3, this setting is valid. 

 

Detailed Information for Brother HL-4040CDN Command Reference Guide for Software Developers

Lists of information found in Brother HL-4040CDN Command Reference Guide for Software Developers - Page 146

  • 1.)  It sets the white reference to 2 n -1.
  • 1.) 2) Long Format MSB LSB 0 - 1 Format (0) Encoding mode 2 - 3 Bits / index Bits / value #1 4 - 5 Bits / value #2 Bits / value #3 6 - 7 White reference for value #1 8 - 9 White reference for value #2 10 - 11 White reference for value #3 12 - 13 Black reference for value #1 14 - 15 Black reference for value #2 16 - 17 Black reference for value #3 The long format allows you make the setting of the white/black reference in addition to the ones available in the short format.

Related Documents for Brother HL-4040CDN Command Reference Guide for Software Developers