The Text Color control contains four boxes which specify the commands that render the color text output.
For the HP PaintJet printer, the Black, Red, Green, and Yellow boxes contain the corresponding Text Color command (ESC&vnS) which renders text using the specified color. If n is 0, the text color is black; if n is 1, the text color is red; if n is 2, the text color is green; if n is 3, the text color is yellow, and so on.
To select black text, type the following Text Color command in the Black box:
\x1B&v0S
To select red text, type the following Text Color command in the Red box:
\x1B&v1S
To select green text, type the following Text Color command in the Green box:
\x1B&v2S
To select yellow text, type the following Text Color command in the Yellow box:
\x1B&v3S
To select blue text, type the following Text Color command in the Blue box:
\x1B&v4S
To select magenta text, type the following Text Color command in the Magenta box:
\x1B&v5S
To select cyan text, type the following Text Color command in the Cyan box:
\x1B&v6S
To select white text, type the following Text Color command in the White box:
\x1B&v7S