Error getting tags :
error 404Error getting tags :
error 404 printerName | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
printerName
Basics
Expander triangle
Type
Property
Syntax

set the printerName to string

get the printerName

Introduced
2.9
Environment
Desktop, Web and Server
Platform Support
Mac OS X,Windows,Linux
Security
Printing
Summary
Reports the name of the currently selected printer.
Examples

set the printerName to "PostScript Printer"
if the printerName is not empty then
enable button "Print" of me
end if

Additional Comments
Expander triangle

Use the printerName property to determine or set the printer that will be used by Revolution.

Value

The printerName property returns the name of the currently selected printer, or empty if printing is not available. By default, the name of the system's default printer is returned.

Comments

Setting the printerName will attempt to select the printer with the given name and reset all printer properties to the defaults for that printer. If the printer cannot be found, the result is set to "unknown printer"

Setting the printerName to empty will reset the printer to the system default, and all printer settings to the default for that printer.

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

User Comments
Expander triangle