5.3. Set Gamma Correction; 5.4. Download Dither Matrix; 5.5. User-defined Pattern Command- Page 153

Brother HL-1250 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 3 PCL5C - 15 

5.3.

 

Set Gamma Correction 

Command 

ESC*t#I (27)(42)(116)#(73)  <1Bh><2Ah><74h>#<49h> 

#  = 0.0 ~ 32767.0 

(command is ignored for invalid values) 

Default value = 0 (gamma correction off) 

This command does not destroy the contents of the current palette, but setting a gamma value replaces any 
lookup table input in either Device CMY or Device RGB. 

 

5.4.

 

Download Dither Matrix 

Command 

ESC*m#W [data] (27)(42)(109)#(87)  <1Bh><2Ah><6dh>#<57h> 

Range = 7 ~ 32767 (Any other value is ignored.) 
# stands for the number of pattern data bytes. 

 

This command specifies a single matrix for the R, G, and B colors. 

 

The dither which is specified by this command is valid when selecting the # value to 9 or 10 with the

 

Set 

Render Algorithm

 command. 

 

The table below shows the format for a dither matrix that is applied to all three primary colors. 

 MSB 

LSB 

0 - 1 

Format (0) 

Number of planes (1) 

2 - 3 

Dither matrix height in pixels 

4 - 5 

Dither matrix width in pixels 

 

Format:

 

set to 0. 

 

Number of planes:

 

set to 1. 

 

Dither matrix height in pixels:

  specifies the dither matrix height by the number of pixels.     

 

Dither matrix width in pixels:

  specifies the dither matrix width by the number of pixels. 

**  The values for 'Dither matrix height in pixels' and 'Dither matrix width in pixels' should not be 0.   

The multiple of these two values should not be more than 32767. 

 

5.5.

 

User-defined Pattern Command 

Command 

ESC*c#W (22)(42)(99)#(87)  <1Bh><2Ah><63h>#<57h> 

Range = 0 ~ 32767. 
# stands for the number of pattern data bytes. 

 MSB 

LSB 

0 - 1 

Format (1) 

Continuation (0) 

2 - 3 

Pixel Encoding (1/8) 

Reserved (0) 

4 - 5 

Height in Pixels 

6 - 7 

Width in Pixels 

8 - 9 

Pattern Image 

 

Format:

 

set to 1.    This command downloads the color pattern. 

NOTE: 

If the Format is set to 0 or 20, it sends monochrome format.    For details, refer to 'Chapter 2 PCL'. 

 

Pixel encoding:

  set to either of 1 bit or 8 bits.    If selecting 1 bit, 1 pixel is assigned to 1 bit (2 colors).   

If selecting 8 bit, 1 pixel is assigned to 8 bits (256 colors). 

 

Height in pixels:

   specifies the pattern height by the number of rows. 

 

Width in pixels:

    specifies the pattern width by the number of pixels. 

 

Pattern Image:

  sends the pattern image data as an index number of the palette.    It uses the colors of 

the current palette when the pattern is used. 

Detailed Information for Brother HL-1250 Command Reference Guide for Software Developers

Lists of information found in Brother HL-1250 Command Reference Guide for Software Developers - Page 153

  • 5.3.
  • 67.0 (command is ignored for invalid values) Default value = 0 (gamma correction off) This command does not destroy the contents of the current palette, but setting a gamma value replaces any lookup table input in either Device CMY or Device RGB.
  • 5.4.
  • 1.  Dither matrix height in pixels: specifies the dither matrix height by the number of pixels.
  • 67. 5.
  • 5. User-defined Pattern Command Command ESC*c#W (22)(42)(99)#(87) &lt;1Bh&gt;&lt;2Ah&gt;&lt;63h&gt;#&lt;57h&gt; Range = 0 ~ 32767.
  • 1. This command downloads the color pattern.

Related Documents for Brother HL-1250 Command Reference Guide for Software Developers