Force report to print duplex
I have a simple report that has a header & footer containing customer data
from the tables. The form has a dbrichedit showing the data from the Notes
field. If the data is larger than the area I get the page printed loads of
times. I need to be trap this and print the overflow onto the duplex side of
the paper without the header and footer if possible.
from the tables. The form has a dbrichedit showing the data from the Notes
field. If the data is larger than the area I get the page printed loads of
times. I need to be trap this and print the overflow onto the duplex side of
the paper without the header and footer if possible.
This discussion has been closed.
Comments
Duplexing is usually handled by the printer driver itself so it may be
difficult to dynamically control certain sections of a report without
creating multiple print jobs.
The simplest solution would be to create a loop that prints each customer
separately (by dynamically changing the search criteria). Then you can set
the report to always print in duplex mode and not have to worry about
certian customers ending up of the back page of the previous one. You can
also hide the header and footer bands if the page number (PageNo) is equal
to 2.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
of copies. How do I say ' continue on new page & switch of headers.
Cheers
Stevew
Try setting the ReprintOnOverflow property of the DBRichEdit to True. This
will ensure that it prints to the next page. Also be sure the control or
band is not larger than the actual paper size itself so you don't get
endless pages.
Try using the PageStart event to check which page is printing and toggle the
visibility of the header and footer band accordingly.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
on the next page.
In my quick testing with the biolife table in the DBDEMOS database, I was
able to get a DBRichText component to successfully overflow to a new page if
it didn't fit. Are you able to recreate this behavior using something
simple like this?
Another option you might explore is creating a group around each customer
and setting the group to start on Odd Pages. This will ensure that each
customer starts on an actual page rather than a duplexed one.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Cheers
If ppReport3.PageNo > 1 then
begin
ppHeaderBand15.Visible := false;
ppDBRichText7.top := 25;
end;
When printing on the duplex side the text starts at the very top of the
page. How do I drop this down please?
By default, when you remove the header band, the detail information will
snap to the top. One option would be to place all the header band
information inside a TppRegion and toggle the visibility of that rather than
the header band itself. This will leave an empty header band on the second
page "pushing" the overflowed detail information down.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com