PDA

Click to See Complete Forum and Search --> : How to create a multi-ply report using laser printer?


ngc1997
May 9th, 2005, 12:52 AM
Hi, :wave:

We would like to print a "3-ply" report using laser printer, with first page marked as "original", 2nd as "copy 1", 3rd as "copy 2".
Also, it needs to print collate by report.

What is the smart method to do this?

A. prepare 3 reports, when finished printing, call the other report. But the design is bulky and maintainance will be difficult.

B. modify rpt generation API in VB, custom generate multiple pages for this report. But since our system is using it as a global rpt generate function, this method is not favourable.

C. generate 3 sets of data in database, each labelled with copy 1, 2, 3. hence 3 instances will be generated and printed out.

Currently i'm using the last method. Is there any method that the report can print faster and easier? :confused:

Thank you very much in advance!

Pasvorto
May 10th, 2005, 07:29 AM
You can create a variable on the report. Then test the page. If first page use the "Original" heading, if last page use the "Copy2" heading, else use the "Copy1 heading". I don't have any code I can show you, but it would be something like this (in the parameter formula)

While printing records;
If pagecount = 1 then
"heading 1"
else if pagecount = 2 then
"heading2"
else "heading 3"

ngc1997
May 10th, 2005, 10:17 PM
Thank you!

But how if each copy contains 2 pages, and page no. need to reset to 1 for every copy?