printfontcolor

Enables the item to be printed with a specific font color on a color printer.

This color can be the same as or different from the font color shown on the screen. On black and white printers, grayscaling is used.

Syntax

   <printfontcolor>color</printfontcolor>
Table 1. printfontcolor parameters
Parameter Type Description
color special The color may be expressed in any of the following formats:
  • Comma-separated RGB values. For example: 192,192,192
  • Hexadecimal-based RGB values. For example: #336699
  • Color name. For example: blue

Available in

button, check, combobox, field, label, line, list, popup, radio, slider, page global, form global

Examples

These samples both set the printed font color to forest green.

   <printfontcolor>forest green</printfontcolor>
   <printfontcolor>34, 139, 34</printfontcolor>
   <printfontcolor>#228B22</printfontcolor>

Usage details

  1. The default printfontcolor is derived from the fontcolor setting or default for the item, except in the case of checks or radios, which default to black. (The fontcolor default may be further derived from page or form settings or defaults.)
  2. For check items, the printfontcolor option describes what color the check in the check box will be when the form is printed. Likewise, for radio items, the printfontcolor option describes what color the on dot will be when the form is printed.
  3. For line items, the printfontcolor option describes what color a line will be when the form is printed.