Brother International HL-1070 Technical Reference - Page 146
HP-GL/2, IN Initialize Set Instruction Command, PC Pen Color Command
View all Brother International HL-1070 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 146 highlights
2001/10/02 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 Number of Pens Color Range Equivalent Instruction NP CR Condition 8 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.) 0 1 2 3 4 5 6 7 Color White Black Red Green Yellow Blue Magenta 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. CHAPTER 3 "PCL5C" - 16