Pages(String,PrinterSettings,String,StringCollection,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.
- strFullLinkFileName
- Full link file name of the project to be printed.
- colPages
- Container of pages to be printed. Pages are specified by the full page name.
- 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 changed pages
Exceptions
Exception | Description |
ArgumentException | Thrown
in
case
of
invalid
\parameters,
e.g.
the
project
does
not
exist. |
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