trichview.support
Re: Printing Huge Documents |
Author |
Message |
Sergey Tkachenko |
Posted: 10/18/2003 15:26:24 Yes, there is a way to print multiple documents in one printing job, using undocumented method TRVPrint.ContinuousPrint. This example shows how to print one document consisting of two RichViews (RichView1 and RichView2). Printer.BeginDoc; RVPrint.StartAt := 0; RVPrint.AssignSource(RichView1); RVPrint.FormatPages(rvdoALL); RVPrint.ContinuousPrint; RVPrint.StartAt := RVPrint.EndAt+60; // 60 pixels spacing between documents RVPrint.AssignSource(RichView2); RVPrint.FormatPages(rvdoALL); RVPrint.ContinuousPrint; Printer.EndDoc; > > I'm evaluating the RichView components for use in a document processing app. > I need to handle big (huge!) documents, so I've adopted a master/sub document > structure. Each sub-doc is stored separately (in a SQLite DB) and only one > sub-doc would be visible in a single RichView control at any one time. Looks > like this would work OK except for printing. My question is... > > Is there any way to print the complete doc using RVPrint without appending > all sub-docs into one RichEdit. I've studied the demos and searched the > RichView newsgroups but cannot figure out a solution. > > Any help or suggestions appreciated. > > Fergal > |
Powered by ABC Amber Outlook Express Converter