<< Click to display table of contents >>


Prints the whole document.

procedure Print(Title: String; Copies: Integer; Collate: Boolean;
  PageSet: TRVPageSet = rvpsAll; Ascending: Boolean = True);

The method prints the document from SRichViewEdit according to PrintMode.

The properties SRichViewEdit.MinPrintedItemNo and MaxPrintedItemNo are taken into account.

Title – document title for the Print Manager.

Copies count of copies to print.

Collate if more than one copy is printed, defines whether to print them together or not (if Collate, pages are printed like 1, 2, 3, 1, 2, 3. If not Collate, pages are printed like 1, 1, 2, 2, 3, 3).

PageSet set of pages for printing (all/odd/even).

Ascending switches normal/reverse order of printing (True: 1, 2, 3; False: 3, 2, 1).


Print(Title, Copies, Collate, PageSet, Ascending) is equivalent to PrintPages(1, SRichViewEdit.PageCount, Title, Copies, Collate, PageSet, Ascending).


About the grid printing mode (multiple pages on the same paper sheet)

Printing odd and even pages, and printing in reverse order are not supported if PrintMode = srvpGrid.

About the poster printing mode (each page on the multiple paper sheets)

For posters (PrintMode = srvpPoster), if Collate = False, printing order depends on the printer capabilities. In this mode, if Collate = False, pages are never collated.  If the printer itself supports printing multiple copies, fragments of each page are not collated as well (page 1 fragment 1, page 1 fragment 1, page 1 fragment 2, page 1 fragment 2, then the same for page 2). But if the printer does not support multiple copies, TSRVPrint collates page fragments (page 1 fragment 1, page 1 fragment 2, page 1 fragment 1, page 1 fragment 2, then the same for page 2).

For posters, fragments of each page are always printed in normal order, Ascending may only reverse the order for pages of the source editor (SRichViewEdit). "Odd/even pages" means pages of the source editor; all fragments of pages specified in PageSet are always printed. Because of this, you cannot use the procedure described below for printing posters on both sides of paper sheets.

How to print on two sides of paper:

1.Print odd pages in normal order.

2.Flip the sheets over, then reinsert them into the printer. If page count is odd, do not insert the last page.

3.Print even pages in reverse order.

See also: