printColors

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the printColors to {true | false}
get the printColors
Summary

Reports whether the next print job should be printed in color.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
set the printColors to false
Values
NameTypeDescription
Value

The printColors property is either "true" or "false". The default value is determined by the default setting of the current printer grayscale.

RelatedCommand: open printing
Property: printerFeatures, printFontTable, printCommand
Securityprinting
Description

Use the printColors property to specify whether to print in color or not. If "color" is not among the items of the printerFeatures then this property will have no affect and all print jobs will be printed in monochrome.

If the printColors is false then LiveCode will convert all colors in the data to be printed to greyscale before sending to the printer.

To have an effect, this property must be set before calling open printing.

Tagsprinting