Pages(String,ArrayList,Int32,Boolean,Boolean,String) Method
In This Topic
Prints pages on the specified printer.
Syntax
public void Pages(
string ,
ArrayList ,
int ,
bool ,
bool ,
string
)
public:
void Pages(
String^ ,
ArrayList^ ,
int ,
bool ,
bool ,
String^
)
Parameters
- strPrinterName
- Printer name.
- 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.
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