ESC*b#V r, r, r, ; ESC*b#V g, g, g, ; ESC*b#W b, b, b, - Page 145

Brother HL-1670N Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 3 PCL5C - 7 

(i.e.) 

 

ESC*b#V r, r, r, 

r

, r...

 Plane 1 

1st raster 

 

ESC*b#V g, g, g, 

g

, g...

 Plane 2 

 

ESC*b#W b, b, b, 

b

, b...

 Plane 3 

 

ESC*b#V r, r, r, r, r...

 Plane 1 

2nd raster 

 

ESC*b#V g, g, g, g, g...

 Plane 2 

** The Italic characters shown above are the index No. at the 4th pixel in the 1st raster. 

[Example] 

If you want to send RGB=(1,1,1)(0,1,1)(1,0,1)(0,0,1)(1,1,0)(0,1,0)(1,0,0)(0,0,0); 
** The values in the brackets show the RGB value of the pixel. 

Enter 

'ESC*v6W 00h 02h 01h 01h 01h 01h'

, then select 

Send Direct Value by Plane

Select 1 bit/index. 

ESC*r1A 

   

Start Raster Transfer 

ESC*b1V 10101010B 

 

Send Plane 1 data (Red data)

 

ESC*b1V 11001100B 

 

Send Plane 2 data (Green data)

 

ESC*b1W 11110000B 

 

Send Plane 3 data (Blue data)

 

ESC*rC 

   

End Raster Transfer 

 

 

 

(xxh: hexadecimal, xxxxxxxxB: binary) 

 

Send Direct Value by Pixel (= 3) 

 

This sends each value of RGB pixel by pixel. 

 

Bits/index must be 8. 

 (i.e.) 

 

ESC*b#W r, g, b, r, g, b, r, g, b, 

r, g, b

,...

 1st raster 

 

ESC*b#W r, g, b, r, g, b, r, g, b, r, g, b,...

 2nd raster 

 

ESC*b#W r, g, b, r, g, b, r, g, b, r, g, b,...

 3rd raster 

 

ESC*b#W r, g, b, r, g, b, r, g, b, r, g, b,...

 4th raster 

 

ESC*b#W r, g, b, r, g, b, r, g, b, r, g, b,...

 5th raster 

** The Italic characters shown above are the index No. at the 4th pixel in the 1st raster. 

[Example] 

If you want to send the RGB value below; 

RGB value. 

 

(0,0,0)(128,128,128)(128,64,0)(255,128,64) 

1st raster 

(128,128,128)(128,64,0)(255,128,64) (0,0,0) 

2nd raster 

(128,64,0)(255,128,64) (0,0,0) (128,128,128) 

3rd raster 

** The values in the brackets show the RGB value of the pixel. 

Enter 

'ESC*v6W 00h 03h 08h 08h 08h 08h'

, then

 s

elect 

Send Direct Value by Pixel

Select 8 bits/index. 

ESC*r1A 

Start Raster Transfer 

ESC*b12V 00h 00h 00h 80h 80h 80h 80h 40h 00h ffh 80h 40h 

Send Plane 1 data (Red data)

 

ESC*b12V 80h 80h 80h 80h 40h 00h ffh 80h 40h 00h 00h 00h 

Send Plane 2 data (Green data)

 

ESC*b12W 80h 40h 00h ffh 80h 40h 00h 00h 00h 80h 80h 80h 

Send Plane 3 data (Blue data)

 

ESC*rC 

End Raster Transfer 

 

 

 

(xxh: hexadecimal, xxxxxxxxB: binary) 

 

Detailed Information for Brother HL-1670N Command Reference Guide for Software Developers

Lists of information found in Brother HL-1670N Command Reference Guide for Software Developers - Page 145

  • 8. (i.

Related Documents for Brother HL-1670N Command Reference Guide for Software Developers