Back to Devexpress

TCustomdxComponentPrinter.PrintEx(TdxPageNumbers,Integer,Boolean,TBasedxReportLink) Method

vcl-dxpscore-dot-tcustomdxcomponentprinter-dot-printex-x28-dxpsglbl-dot-tdxpagenumbers-system-dot-integer-system-dot-boolean-dxpscore-dot-tbasedxreportlink-x29.md

latest2.1 KB
Original Source

TCustomdxComponentPrinter.PrintEx(TdxPageNumbers,Integer,Boolean,TBasedxReportLink) Method

Prints report pages.

Declaration

delphi
procedure PrintEx(APageNums: TdxPageNumbers; ACopies: Integer; ACollate: Boolean; AReportLink: TBasedxReportLink = nil);

Parameters

NameType
APageNumsTdxPageNumbers
ACopiesInteger
ACollateBoolean
AReportLinkTBasedxReportLink

Remarks

Call this procedure to print the odd, even, or all report pages depending on a value passed as the APageNums parameter:

ValueDescription
pnAllThe PrintEx procedure prints all report pages.
pnEvenThe procedure prints only the even report pages.
pnOddThe procedure prints only the odd report pages.

Pass the number of printed copies and the page collation flag as the ACopies and ACollate parameters, respectively.

By default, the PrintEx procedure prints the component printer’s current report link. To print a specific report link, pass it as the optional AReportLink parameter.

If you need to print only a single page or a specific list of report pages, call the PrintPages or PrintPagesEx procedure instead.

See Also

dxPSCore.dxPrintComponent

TCustomdxComponentPrinter.Print

TCustomdxComponentPrinter Class

TCustomdxComponentPrinter Members

dxPSCore Unit