6.3.13. Horizontal 1200-dpi image format mode (Raster Graphic Mode 1027); Horizontal 1200-dpi image format mode (Raster Graphic Mode 1027) ; ESC*b##W <Block 1> <Block 2> <Block 3> - Page 118

Brother HL-4040CN Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 2 PCL - 98 

6.3.13.

 

Horizontal 1200-dpi image format mode (Raster Graphic Mode 1027) 

The printer supports 1200 dpi printing for special image formats in 1200 dpi mode.  We recommend that the 
installed printer memory is 10 Mbytes or more for 1200 dpi printing.  

 

To set 1200 dpi mode, 

1.  Set 1200 dpi printing mode by using the following PJL command: 

 

 

@PJL SET RAS1200MODE = ON 

2.  Choose PCL mode with the following PJL command: 

 

 

@PJL ENTER LANGUAGE = PCL 

(If you select a mode other than PCL mode, 1200 dpi printing mode cannot be selected.) 

The PCL Mode set command for 1200 dpi Image Format is ESC *b1027M.  The transfer raster data command 
(ESC*b###W) then transfers horizontal 1200 dpi data. 

<1200 dpi Graphic Data Compression Format> 

This compression format consists of blocks of data 64 dots down the page starting from the leading edge of the 
paper. 

i.e.:  If the graphic data extends over three bands as shown in the following diagram, it transfers the data as 

three blocks of data: 

 

 

ESC*b##W <Block 1> <Block 2> <Block 3> 

 
 
 
 
 
 
 
 
 

In mode 1027, the transfer graphic data command byte count does not have a limitation of 32,767 bytes. 

The block data is composed as follows: 

Position Data 

Description 

0 - 1 

Block length 

n - 2 

2 - 3 

Horizontal position

dots from the left of the page 

4 - 5 

Vertical position 

dots from the leading edge of the 
page 

Height dots 

number of image vertical dots 

7 - 8 

Width words 

number of image horizontal 16 bit 
words 

9 - (n - 1)  Compression data 

compression image data 

 

i.e.:  Data is at horizontal position = 256, vertical position = 64, height = 32 dots, width = 100 x 16 bit words 

(1600 dots), and compression data is 800 bytes; 

ESC*b809W 03h 27h 01h 00h 00h 40h 20h 00h 64h [Data800Byte] 

 

 

          



 _ 



      



 _ 



       



 _ 



       |      



 _ 



 

         | 

 

 

 

            a            b            c        d 

    e               f 

 
 
 
 
 
 
 
 

(256, 64) 

32 

1600 

 0 

 64 

 128 

Band 1

  Band 2

a: Block length(807) 
b: Horizontal position(256)
c: Vertical position(64) 
d: Height dots(32) 
e: Width words(100) 
f: Compression image data

  0 

  64 

 128 

  192 
  256 

  320 

 

Band 1

Band 3

Band 4

Band 2

Band 5

Block 3

Block 2

Block 1

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

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

  • 6.3.
  • 13. Horizontal 1200-dpi image format mode (Raster Graphic Mode 1027) The printer supports 1200 dpi printing for special image formats in 1200 dpi mode.
  • 1. Set 1200 dpi printing mode by using the following PJL command: @PJL SET RAS1200MODE = ON 2.

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