The relationship between color selection sequences and the resulting colors for several ribbon cassettes is shown in the following table:

 

selected

yellow, magenta, cyan,

red, green, blue,

 

3 black, red

 

color

black

 

black

 

 

 

 

(YMCK)

 

(RGBK)

 

 

 

black

black

 

black

 

black

 

red

red *)

 

red

 

red

 

green

green **)

 

green

 

****)

 

yellow

yellow

 

green

 

****)

 

blue

blue ***)

 

blue

 

****)

 

magenta

magenta

 

red

 

red

 

cyan

cyan

 

 

blue

 

****)

 

 

 

 

 

 

 

*

red = yellow + magenta

}

 

 

 

 

**

green = yellow + cyan

two-pass print is automatically executed

 

***blue = magenta + cyan

****sequence is ignorered

The sequence CSI 0 m resets all CSI...m -sequences! A maximum of 16 CSI...m -sequences can be joined in one sequence: e.g. CSI n1;n2;nx m.

Example

10 REM

color selection

 

20

LPRINT

CHR$(27);"[31m";

 

30

LPRINT

"this is written with red colour"

 

40

LPRINT

CHR$(27);"[34m";

 

50

LPRINT

"this is written with blue colour"

 

60

END

 

Miscellaneous 73

Page 309
Image 309
Tally Genicom Matrix Printer manual Ymck Rgbk, Red Green Yellow Blue Magenta Cyan