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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

PrintDialog.SetLastPage

Sets last page.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 6.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "PrintDialog.SetLastPage"; Page )   More

Parameters

Parameter Description Example
Page The last page to print. 2

Result

Returns OK or error.

Description

Sets last page.
This property containing the one-based index of the last page in the job to print.
Value is -1 if not defined.

Examples

Print page 2 to 3 copies:

Set Variable [$r; Value:MBS("PrintDialog.Enable")]
Set Variable [$r; Value:MBS("PrintDialog.SetFirstPage"; 2)]
Set Variable [$r; Value:MBS("PrintDialog.SetLastPage"; 3)]
Print []
Set Variable [$r; Value:MBS("PrintDialog.Disable")]

See also

Created 17th March 2016, last changed 17th March 2016


PrintDialog.SetFirstPage - PrintDialog.SetNoDialog

Feedback: Report problem or ask question.