[Function] Sets color, opacity, and color reversal for the foreground and background of targets in the field. This command is used for text, diagram (rectangles, circles, ellipses, diagonal lines), 1-dimensional barcodes, 2-dimensional codes, and black & white bitmap graphic fields. The foreground and background of target fields are shown in the following table. Please refer to the section of the 2.6 Designating Color and the product specification of the printer for the color setting to ensure decoding barcodes and 2-dimensional codes. [Initial value] Foreground: opacity 100% black (black) (r1 = 0, g1 = 0, b1 = 0, a1 = 255), Background:
opacity 0% white (Transparent) (r2 = 255, g2 = 255, b2 = 255, a2 = 0) [Response] None [Reference] Related function specifications: 2.6 Designating Color, 2.7 Field color reversal Related commands: None [Note] Parameters of “a1 (Foreground opacity)”and “a2 (Background opacity)” are not supported on a PNG image. Set “Foreground opacity” and “Background opacity” in PNG image. ESC/Label Command Reference Guide Rev.
L Page 107 Target Foreground Background Text Text Rectangular area containing text Rectangle, circle, ellipse Outline Area enclosed by outline Diagonal line Line None 1-dimensional barcode 2-dimensional code Bar Spaces (However, a background color is fixed to transparent even if you set a background color by this command.) B&W bitmap graphics Printed dots (Value of bit: 1) Dots not printed (Value of bit: 0)