2001/10/02
CHAPTER 3 "PCL5C" - 5
2.2.
Using PCL Color Mode - Set PCL Color Setting
Command
ESC*v#W (27)(42)(118)#(87) <1Bh><2Ah><76h>#<57h>
# = 6, 18
# stands for the number of bytes of data that follow this command.
This command sets the palette size and transformation between the entered value and device-specific value.
This command has two types of format,
short format
and
long format
. Here are the formats for the PCL color
setting.
1)
Short Format
MSB
LSB
0 - 1
Format (0)
Encoding mode
2 - 3
Bits / index
Bits / value #1
4 - 5
Bits / value #2
Bits / value #3
♣
Format
This value must be 0.
♣
Encoding mode
•
This value defines how to send the raster image data.
•
The value can be from 0 to 3 only, other values are ignored.
Encoding Mode
0
Send Index No by Plane *
1
Send Index No by Pixel
2
Send Direct Value by Plane
3
Send Direct Value by Pixel
* = default
Send Index No by Plane (= 0 default)
•
This mode assigns the Index No. to the Plane, then sends it.
•
The necessary number for the Plane is determined depending on the number of bits/index. 1 (one) plane
should be needed per 1 (one) bit/index. For instance, 4 planes are needed for 4 bits/index.
•
Bits/index must be 1, 2, 4, 5, 6, 7, 8.
•
This mode sends the plane data except the last one using the
Send Raster Data by Plane
command
(
ESC*b#V
).
•
This mode also sends the last plane data using the
Send Raster Data
command (
ESC*b#W
).
(i.e. 4 bits/index)
ESC*b#V d1, d1, d1,
d1
, d1 ...
→
Plane 1
1st raster
ESC*b#V d2, d2, d2,
d2
, d2 ...
→
Plane 2
ESC*b#V d3, d3, d3,
d3
, d3 ...
→
Plane 3
ESC*b#W d4, d4, d4,
d4
, d4 ...
→
Plane 4
ESC*b#V d1, d1, d1, d1, d1 ...
→
Plane 1
2nd raster
ESC*b#V d2, d2, d2, d2, d2 ...
→
Plane 2
MSB
LSB
Index No.
d4
d3
d2
d1
** The Italic characters shown above are the index No. at the 4th pixel in the 1st raster.
Summary of Contents for HL-1250
Page 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Page 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Page 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Page 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Page 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Page 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Page 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Page 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Page 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Page 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Page 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Page 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Page 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Page 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...