Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PrintDialog.SetFirstPage
Sets first page.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PrintDialog | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "PrintDialog.SetFirstPage"; Page ) More
Parameters
Parameter | Description | Example |
---|---|---|
Page | The first page to print. | 2 |
Result
Returns OK or error.
Description
Sets first page.This property containing the one-based index of the first 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.Disable
- PrintDialog.Enable
- PrintDialog.GetFirstPage
- PrintDialog.GetLastPage
- PrintDialog.GetPrintType
- PrintDialog.SetAllPages
- PrintDialog.SetLastPage
- PrintDialog.SetPaperName
- PrintDialog.SetPrinterName
- PrintDialog.SetPrintType
This function is free to use.
Created 17th March 2016, last changed 17th March 2016