Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  

PrintDialog.Reset

Resets settings in plugin.

Component Version macOS Windows Linux Server iOS SDK License
PrintDialog 12.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No Free
MBS( "PrintDialog.Reset" )

Parameters

none

Result

Returns OK or error.

Description

Resets settings in plugin.
We reset our properties back to defaults.
Copies, AllPages, FirstPage, LastPage, Orientation, Duplex, PageNumberingOffset, PrintStyleSetting, PrintTypePopupIndex, PrintTypeRadioIndex, ReverseOrder, PaperWidth, PaperHeight are all set to -1.
NoDialog, PrintToPDF, Reset and FixDestination is set to off.
PrinterName, PaperName, Options, LastSettings, DestinationPath, Tray and LoadedSettings are cleared.

Examples

Sets printer name, resets and checks:

Let ( [
r1 = MBS( "PrintDialog.SetPrinterName"; "Hello" );
r2 = MBS( "PrintDialog.GetPrinterName" );
r3 = MBS( "PrintDialog.Reset"; "Hello" );
r4 = MBS( "PrintDialog.GetPrinterName" )
]; r2 )

See also

Release notes

Blog Entries

Created 9th February 2022, last changed 9th February 2022


PrintDialog.Install - PrintDialog.SetAllPages

Feedback: Report problem or ask question.


Start Chat