Board index » delphi » printing multiple copies of certain pages??

printing multiple copies of certain pages??

Hi,

I have a quickreport to print shipping labels.  The printer runs a
continuous roll of labels through it, so each label is treated like a
single "page" of the report.  I have a situation where an item being
shipped might have multiple pieces to it.  In this situation, my users
want multiple copies of that particular label.  (The number of pieces is
determined by a field in the table.  Most only have 1 piece.)

Is there a way to trigger the report to print multiple copies of a
single label for only those records that have multiple pieces and keep
it printing one label for all the other items with just one piece?
Essentially, I want to multiple copies of certain pages of a report.

Bizarre, eh?  But can it be done?

Craig.

 

Re:printing multiple copies of certain pages??


If your report is being driven by data in a table, just duplicate the
record in the table that needs multiple copies before you print.

Rich

On Fri, 24 Sep 1999 08:54:35 -0400, Craig Symington

Quote
<csyming...@lhbe.edu.on.ca> wrote:
>Hi,

>I have a quickreport to print shipping labels.  The printer runs a
>continuous roll of labels through it, so each label is treated like a
>single "page" of the report.  I have a situation where an item being
>shipped might have multiple pieces to it.  In this situation, my users
>want multiple copies of that particular label.  (The number of pieces is
>determined by a field in the table.  Most only have 1 piece.)

>Is there a way to trigger the report to print multiple copies of a
>single label for only those records that have multiple pieces and keep
>it printing one label for all the other items with just one piece?
>Essentially, I want to multiple copies of certain pages of a report.

>Bizarre, eh?  But can it be done?

>Craig.

Re:printing multiple copies of certain pages??


I think you can use a counter to control it.

In the band's before print event, if the piece is larger than 1 then assign
the piece quantity to the counter.

In the band's after printer event, if the counter is larger than 1 then skip
back 1 rec (so that QR print the same rec once again) and reduce the counter
by 1.

I hope it can help.

Peter Yau

Quote
Craig Symington <csyming...@lhbe.edu.on.ca> wrote in message

news:37EB748B.90139D7F@lhbe.edu.on.ca...
Quote
> Hi,

> I have a quickreport to print shipping labels.  The printer runs a
> continuous roll of labels through it, so each label is treated like a
> single "page" of the report.  I have a situation where an item being
> shipped might have multiple pieces to it.  In this situation, my users
> want multiple copies of that particular label.  (The number of pieces is
> determined by a field in the table.  Most only have 1 piece.)

> Is there a way to trigger the report to print multiple copies of a
> single label for only those records that have multiple pieces and keep
> it printing one label for all the other items with just one piece?
> Essentially, I want to multiple copies of certain pages of a report.

> Bizarre, eh?  But can it be done?

> Craig.

Other Threads