Accusoft.PrintPro7.Net
SelectPrinter(PrintPro,Int32,Int32,Int32,Int32,PrintRangeAvailable) Method
See Also  Send Feedback
Accusoft.PrintProSdk Namespace > Printer Class > SelectPrinter Method : SelectPrinter(PrintPro,Int32,Int32,Int32,Int32,PrintRangeAvailable) Method




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 setup dialog.
toPage
An integer which represents the default to page set in the page range portion of the setup dialog.
availableRange
The available range to select from in the select printer dialog

Glossary Item Box

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.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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 setup dialog.
toPage
An integer which represents the default to page set in the page range portion of the setup dialog.
availableRange
The available range to select from in the select printer dialog

Return Value

The Printer that was selected.

Remarks

The dialog shown will have the ranges available for selection that are passed with a default selection of pages if that selection is available. If pages is not in the available selection, another constructor is likely to be more appropriate.

See Also

©2013. Accusoft Corporation. All Rights Reserved.