Eplan Platform API
Eplan.EplApi.HEServices Namespace / Print Class / Pages Method / Pages(String,PrinterSettings,ArrayList,Int32,Boolean,Boolean,String) Method
Printer name.
System.Drawing.Printing.PrinterSettings object to specify further printer settings.
ArrayList of page names to be printed.
Number of copies to print.
Collate output.
Reverse printing.
Full file name of the output \file in case of printing to \file.

In This Topic
    Pages(String,PrinterSettings,ArrayList,Int32,Boolean,Boolean,String) Method
    In This Topic
    Prints pages on the specified printer.
    Syntax

    Parameters

    Parameter NameDescription
    strPrinterNamePrinter name.
    pSettingsSystem.Drawing.Printing.PrinterSettings object to specify further printer settings.
    arrayPagesArrayList of page names to be printed.
    dNumberNumber of copies to print.
    bPrintCollateCollate output.
    bPrintReverseReverse printing.
    strTargetFileFull file name of the output \file in case of printing to \file.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid parameters.
    Thrown if a parameter is set to NULL.
    The internal interface necessary for printing could not be created.
    An error occurred during the print process.
    The given printer could not be found.
    The print process was canceled by the user.
    Some undefined error occurred, e.g. HDC could not be created.
    Remarks
    The specified pages can belong to one project or a number of projects. The projects have to be opened, otherwise nothing is printed. Warning! Please check settings under "Workstation->Graphical editing->Print" because they overwrite parameters of the method.
    See Also