Printing 2 pages on 1 piece of paper, possible ?

General TRichView support forum. Please post your questions here
Post Reply
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

Printing 2 pages on 1 piece of paper, possible ?

Post by Stef »

Is it possible to print 2 pages on 1 piece of paper.

Older printers all have such a feature, but the newer (cheap) printers cann't do this anymore.

In programs like OpenOffice or Word this is no problem, because these programs have such a feature build in.

Is this possible in RVE ?

thanks,
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You can print in any rectangular area on page using TRVReportHelper component.
You can use the 2 columns printing demo as a prototype:
Demos\Delphi\Assorted\Printing\ReportHelper\
Stef
Posts: 90
Joined: Mon Aug 29, 2005 9:56 am
Contact:

Post by Stef »

thanks Sergey,

I'll compare the method ti printing to pdf-printer,
having the advantage of a printpreview (and a lot less work ;-)

cheers,
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Print preview is also possible using this method.
Create a hidden TRichView with empty document (add one empty text string to it, otherwise TRVPrint will not print it). Create TRVPrint for printing this empty document. Create TRVPrintPreview displaying preview of this empty document. Draw the actual document in OnPagePrepaint event of this TRVPrint.
bswift
Posts: 37
Joined: Thu Sep 15, 2005 8:26 pm

Preview for 2 column

Post by bswift »

Sergey,

This is what you wrote:

Print preview is also possible using this method.
Create a hidden TRichView with empty document (add one empty text string to it, otherwise TRVPrint will not print it). Create TRVPrint for printing this empty document. Create TRVPrintPreview displaying preview of this empty document. Draw the actual document in OnPagePrepaint event of this TRVPrint.


But I cannot get this to work. Is there a working example?

Thanks

Bruce
Post Reply