setDefaultPrinter
| Explanation | Set the default printer. This setting is not related to the default printer of Windows and changes the setting inside Biz / Browser. If you print without specifying the printer name in the Doc object, it will be printed to the printer specified by the setDefaultPrinter function. Immediately after starting Biz / Browser, the default printer for Windows is selected. Not available in Mobile and AI | |
| Call format | setDefaultPrinter (printer) | |
| Return value | None | |
| Arguments | String printer | Specify the printer name to select. If "[preview]" is specified, the preview printer will be selected. If null is specified, the Windows default printer will be selected. Otherwise, the printer with the same name as printer will be selected. If no matching printer is found, the selection status does not change. |
| Exception | None | |
| Example of use | | |
| Related item | getPrinterList function. | |