Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

PrintDialog.SetLastPage

Sets last page.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PrintDialog 6.2 Yes No No No No

MBS( "PrintDialog.SetLastPage"; Page )

Parameters

Parameter Description Example value
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


PrintDialog.SetFirstPage   -   PrintDialog.SetNoDialog

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins