Eplan Platform API
Eplan.EplApi.HEServices Namespace / Print Class / Project Method / Project(String,Project,Int32,Boolean,Boolean,String,Boolean) Method
Printer name.
Project 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.
Print changed pages

In This Topic
    Project(String,Project,Int32,Boolean,Boolean,String,Boolean) Method
    In This Topic
    Prints all pages of the given project on the specified printer.
    Syntax

    Parameters

    Parameter NameDescription
    strPrinterNamePrinter name.
    pProjectProject 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.
    bPrintChangedPagesPrint changed pages
    Exceptions
    ExceptionDescription
    Thrown in case of invalid parameters, e.g. the project does not exist.
    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
    If bPrintChangedPages is used with non-empty strTargetFile and nothing was changed empty file will be created anyway. Warning! Please check settings under "Workstation->Graphical editing->Print" because they overwrite parameters of the method.
    See Also