Selects a printer from the
PrintPro workspace using the windows select printer dialog and setting the minimum and maximum page range along with the default from and to values the user is allowed to choose from.
'Declaration
Public Overloads Shared Function SelectPrinter( _
ByVal As PrintPro, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
) As Printer
'Usage
Dim printProWorkspace As PrintPro
Dim minPage As Integer
Dim maxPage As Integer
Dim fromPage As Integer
Dim toPage As Integer
Dim value As Printer
value = Printer.SelectPrinter(printProWorkspace, minPage, maxPage, fromPage, toPage)
public static Printer SelectPrinter(
PrintPro ,
int ,
int ,
int ,
int
)
public: static Printer* SelectPrinter(
PrintPro* ,
int ,
int ,
int ,
int
)
public:
static Printer^ SelectPrinter(
PrintPro^ ,
int ,
int ,
int ,
int
)
Parameters
- printProWorkspace
- The PrintPro workspace to use.
- minPage
- An integer value which represents the minimum available page range the user is allowed to select from in the print dialog.
- maxPage
- An integer value which represents the maximum available page range the user is allowed to select from in the print dialog.
- fromPage
- An integer which represents the default from page set in the page range portion of the print setup dialog
- toPage
- An integer which represents the default to page set in the page range portion of the print setup dialog
Return Value
The printer that was selected.