6.3.9. Start raster transfer; 6.3.10. Send raster data; 6.3.11. Compress transfer graphics- Page 116

Brother HL-1650 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 2 PCL - 96 

6.3.9.

 

Start raster transfer 

Esc*r#A (27)(42)(114)#(65) 

<1Bh><2Ah><72h>#<41h> 

 

This command signals the start of the transfer of a raster image to the printer. 

 

# is 0 or 1. 

 

# = 0 denotes that the image will be printed starting from the left edge of the logical page. 

 

# = 1 denotes that the image will be printed starting from the current cursor position. 

 

The transfer of raster data to the printer continues until either an End Raster Transfer command is sent or a 
command other than Send Raster Data, Set Compression Mode or Set Raster Y-Offset is sent. 

 

6.3.10.

 

Send raster data 

Esc*b#W<data> (27)(42)(98)#(87) <1Bh><2Ah><62h>#<57h> 

 

This command sends a single row of the raster image to the printer for printing. 

 

# signifies the number of bytes to be sent. 

 

If more data is transmitted than can be fitted onto one row of the specified raster area, the excess data will be 
ignored. 

 

6.3.11.

 

Compress transfer graphics  

Esc*b#C<image data>  (27)(42)(98)#(67) <1Bh><2Ah><62h>#<43h> 

 

As a more efficient alternative to the Send Raster Data command, this command sends a single row of the 
raster image to the printer for printing in a compressed form. 

 

# signifies the number of data bytes that the uncompressed row consisted of. 

 

Pairs of bytes describe the data which follows.  

 

If the MSB of the first byte of a pair is 1, the byte that follows the pair is repeated. The number held in the 
remaining fifteen bits of the byte pair is the number of times the data byte is repeated. 

 

If the MSB of the first byte of the pair is 0, the bytes that follow the pair are not repeated. The number held 
in the remaining fifteen bits of the byte pair is the number of bytes of unrepeated raster data that follow. 

 

A raster row is made up of a sequence of byte pair-image data combinations. 

 

6.3.12.

 

End raster transfer 

Esc*rB (27)(42)(114)(66) 

<1Bh><2Ah><72h><42h> 

 

This command signals the end of a transfer of a raster image to the printer. 

 

After execution of this command the cursor is positioned a distance of one raster row (at the last specified 
number of dots per inch) down from the bottom of the raster area. 

 

Esc*rC (27)(42)(114)(67) 

<1Bh><2Ah><72h><43h> 

 

This command signifies the end of the raster graphic data transfer and this is a modified version of the 

ESC 

*rB 

command. 

 

After receiving this command,  the printer resets the compression seed, compression mode and left-graphics 
margin to 0. 

 

Also,  the cursor is positioned a distance of one raster row (at the last specified number of dots per inch) 
down from the bottom of the raster data. 

 

This command resets the compression mode setting to 0. 

 

This command defaults the left graphics margin to 0. 

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

Lists of information found in Brother HL-1650 Command Reference Guide for Software Developers - Page 116

  • 6.3.
  • 9. Start raster transfer Esc*r#A (27)(42)(114)#(65) &lt;1Bh&gt;&lt;2Ah&gt;&lt;72h&gt;#&lt;41h&gt;  This command signals the start of the transfer of a raster image to the printer.
  • 1.  # = 0 denotes that the image will be printed starting from the left edge of the logical page.
  • 6.3.
  • 6.3.
  • 11. Compress transfer graphics Esc*b#C&lt;image data&gt; (27)(42)(98)#(67) &lt;1Bh&gt;&lt;2Ah&gt;&lt;62h&gt;#&lt;43h&gt;  As a more efficient alternative to the Send Raster Data command, this command sends a single row of the raster image to the printer for printing in a compressed form.
  • 6.3.
  • 12. End raster transfer Esc*rB (27)(42)(114)(66) &lt;1Bh&gt;&lt;2Ah&gt;&lt;72h&gt;&lt;42h&gt;  This command signals the end of a transfer of a raster image to the printer.

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