Pages(String,PrinterSettings,ArrayList,Int32,Boolean,Boolean,String,Boolean) Method
                In This Topic
            
            Prints pages on the specified printer.
            
            
            Syntax
            
        
            Parameters
- strPrinterName
- Printer name.
- pSettings
- System.Drawing.Printing.PrinterSettings object to specify further printer settings.
- arrayPages
- ArrayList of page names to be printed.
- dNumber
- Number of copies to print.
- bPrintCollate
- Collate output.
- bPrintReverse
- Reverse printing.
- strTargetFile
- Full file name of the \output file in case of printing to file.
- bPrintChangedPages
- Print only changed pages.
 
            Exceptions
| Exception | Description | 
|---|
| ArgumentException | Thrown
                                    in
                                    case
                                    of
                                    invalid
                                    \parameters. | 
| ArgumentNullException | Thrown
                                        if
                                        a
                                        parameter
                                        is
                                        set
                                        to
                                        null. | 
| ApplicationException | The
                                       \internal
                                       interface
                                       necessary
                                       for
                                       printing
                                       could
                                       not
                                       be
                                       created. | 
| Eplan\:\:EplApi\:\:Base\:\:BaseException | An
                                                           error
                                                           occurred
                                                           during
                                                           the
                                                           print
                                                           process. | 
| Eplan\:\:EplApi\:\:HEServices\:\:Exceptions\:\:PrinterMissing | The
                                                                                given
                                                                                printer
                                                                                could
                                                                                not
                                                                                be
                                                                                found. | 
| Eplan\:\:EplApi\:\:DataModel\:\:OperationCanceledException | The
                                                                             print
                                                                             process
                                                                             was
                                                                             canceled
                                                                             by
                                                                             the
                                                                             user. | 
| Eplan\:\:EplApi\:\:HEServices\:\:Exceptions\:\:UnknownPrinter | Some
                                                                                undefined
                                                                                error
                                                                                occurred,
                                                                                e.g.
                                                                                HDC
                                                                                could
                                                                                not
                                                                                be
                                                                                created. | 
See Also