Suppressing Objects on 2nd Copy
Hi,
I'm working with RB 10.07 and need to figure out how to suppress the
printing of specific objects on the second copy of a report when printing
with collation turned off. The kicker is that this has to be done entirely
from within RAP as there are no provisions in my application to catch the
device OnStartPage event and count the number of page prints.
The basics of the situation is that there is paper in the tray with
alternating colors and the second copy (yellow) needs to print without
certain fields.
Any suggestions on how I can accomplish this entirely in RAP without
changing the application code?
--
---------------------------------------
Terry Swiers
Millennium Software, LLC
http://www.1000years.com
http://www.atrex.com
Atrex Inventory Control/POS -
Big business features without spending big business bucks!
Atrex Electronic Support Options:
Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
Email: mailto:support@atrex.com
I'm working with RB 10.07 and need to figure out how to suppress the
printing of specific objects on the second copy of a report when printing
with collation turned off. The kicker is that this has to be done entirely
from within RAP as there are no provisions in my application to catch the
device OnStartPage event and count the number of page prints.
The basics of the situation is that there is paper in the tray with
alternating colors and the second copy (yellow) needs to print without
certain fields.
Any suggestions on how I can accomplish this entirely in RAP without
changing the application code?
--
---------------------------------------
Terry Swiers
Millennium Software, LLC
http://www.1000years.com
http://www.atrex.com
Atrex Inventory Control/POS -
Big business features without spending big business bucks!
Atrex Electronic Support Options:
Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
Email: mailto:support@atrex.com
This discussion has been closed.
Comments
When collation is set to False, ReportBuilder generates each page once and
the device handles each copy iteration. This is the reason it is necessary
to use the OnStartPage of the device to add or adjust a drawcommand at
runtime for each copy with collation off. Since this event is not available
from RAP, you will need to access it through a pass thru function in Delphi.
If this is not possible, you will need to find a way to manually generate
each separate copy inside the report. If your report is not very large, you
might try using section subreports to represent each copy of a page and
piece the report together that way.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Not exactly the answer that I wanted to hear, but I do appreciate the
response.
Thanks again for the fast support.
--
---------------------------------------
Terry Swiers
Millennium Software, LLC
http://www.1000years.com
http://www.atrex.com
Atrex Inventory Control/POS -
Big business features without spending big business bucks!
Atrex Electronic Support Options:
Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
Email: mailto:support@atrex.com