
| 
 Purpose  | 
 Set the foreground color 
 (and, optionally, the background color) for various 
  | 
| 
 Syntax  | 
 XPRINT COLOR foreground& [, background&]  | 
| 
 Remarks  | 
 Colors are expressed as RGB values, or use -1 for the default color. If the background parameter is -2, the background is made transparent. If either parameter is -3, the existing color is not changed. A host printer must first be connected with XPRINT ATTACH. If a host printer is not attached, error 57 is generated.  | 
| 
 See also  | 
|
| 
 Example  | 
 ' Set colors to red foreground and blue background. XPRINT COLOR %RED, RGB(0,0,191)  |