Programming with Reflection
ValidatePrinter property
Syntax |
|
Works with |
|
Data type |
Returns (first syntax line) or specifies (second syntax line) how Reflection validates your printer selection. When this setting is False, Reflection validates a printer only at the time of printing and not before, showing the error message "Error opening printer" if an invalid printer name is encountered. When this property is True, Reflection validates the printer whenever the printer name is changed or read from a settings file. (This behavior was the default prior to version 8.0.4.)
Note: A value of True is not recommended because Windows no longer supports a way to validate without attempting to print.
The default value is False.