2001/10/02
CHAPTER 3 "PCL5C" - 16
6.
HP-GL/2
A few HP-GL/2 commands are added for the HL-2400C/Ce, HL-3400CN color laser printer, and the features of
some existing commands are also expanded.
The new or revised HP-GL/2 commands as follows are described in this chapter;
♣
Initialize Set Instruction (IN) - resets all programmable functions to their default settings
♣
Pen Color (PC) - changes the palette colors
♣
Number of Pens (NP) - changes the palette size
♣
Color Range (CR) - sets the range for specifying relative color data
For the basic commands of HP-GL/2, refer to ‘Chapter 8 HP-GL/2 Graphics Language’.
6.1.
IN (Initialize Set Instruction) Command
Command
IN [;]
This command returns the graphics mode to initial conditions. It initializes the parameters listed on Page.9 of
‘Chapter 8 HP-GL/2’ and also those shown below.
Function
Equivalent
Instruction
Condition
Number of Pens
NP
8
Color Range
CR
Black reference (red, green, blue) ----> 0
White reference (red, green, blue) ----> 255
This command also initializes the parameters of the palette as follows;
Palette No.(Pen No.)
Color
0
White
1
Black
2
Red
3
Green
4
Yellow
5
Blue
6
Magenta
7
Cyan
6.2.
PC (Pen Color) Command
Command
PC [pen, red, green, blue]
PC [pen;]
PC [;]
This command changes the pen colors in the palette and sets the colors of all pens to their default settings.
•
pen:
represents the palette number specified by this command. It ignores the command if it is out of the
range of the specified parameter.
•
red, green, blue:
specifies the color. The range of the specified value is determined by the CR command.
Default range is 0 ~ 255.
•
PC [;]:
initializes all palettes.
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 ...