Moo_PrinterDefault  -  Sets or Gets System Default Printer.

Moo_PrinterDefault ( sPrinter );

This functions sets or retrieves the system default printer. Note: Doesn't affect FileMaker printing


sPrinterStringNo The name of the printer to set as default.

Return Value

Returns either the default printer if no parameter is specified, or true if setting the default printer succeeds, an error code otherwise.


Added in MooPlug Version 0.4.6.


Error CodeDescription
Moo_PrinterDefault|Err_1Invalid number of arguments.
Moo_PrinterDefault|Err_2Error retrieving default printer.
Moo_PrinterDefault|Err_3Error setting default printer.

Related Functions