Project(String,PrinterSettings,String,Int32,Boolean,Boolean,String) Method
In This Topic
Prints all pages of the given project 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.
- 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.
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