Duplex printing
hi all,
i got a printer hp 2300dn. i am trying to print duplex ie some figures in
the front page
and terms and condition text on the back
i have changed the printer settings to duplex vertical and insert the text
at the end of the page footer, exceeding the page length.
i have also tried by increasing the page width and insert the text on the
extended area.
this time the duplex setting is change to horizontal.
both methods does not result in back to back printing.
any advice on how to do this?
jason
i got a printer hp 2300dn. i am trying to print duplex ie some figures in
the front page
and terms and condition text on the back
i have changed the printer settings to duplex vertical and insert the text
at the end of the page footer, exceeding the page length.
i have also tried by increasing the page width and insert the text on the
extended area.
this time the duplex setting is change to horizontal.
both methods does not result in back to back printing.
any advice on how to do this?
jason
This discussion has been closed.
Comments
Simply extending the length of the report will not give you the effect you
are after. Which version of ReportBuilder are you using? ReportBuilder 9
or later comes with a new Page Break component that allows you to determine
exactly where inside a report you would like to break to a new page. You
may want to check the article below out as well, it provides some useful
tips on causing a page break.
---------------------------------------------
Article: Forcing a Page Break
---------------------------------------------
Question:
How can I force a page break occur based upon
a condition calculated at run-time.
2 of the best solutions follow:
Solution 1:
Define a Group that starts on a new page when
it breaks. Then use the Group.OnGetBreakValue
event to control the timing of the break.
1. From the Report Designer, select Report | Groups
to access the Group dialog.
2. Define a group based upon a static component,
such as a Label or Variable. Click the
Start new page checkbox. Close the dialog.
3. Using the object inspector's drop down list,
find and select the TppGroup object.
4. Create an event-handler for the Group's
OnGetBreakValue event.
5. Add code to set the break value.
procedure Form1.Group1OnGetBreakValue(Sender: TObject; var aBreakValue:
String);
begin
if condition then
aBreakValue := 'Some Value';
end;
Solution 2:
1. Place a subreport at the point where you might want a page break.
2. Remove its summary band and reduce the height of its detail and
title bands to zero.
By programmatically setting the title band's NewPage property you can
conditionally force a page break. Note that everything after the
subreport that is in the same band with it will need to
ShiftRelativeTo the subreport.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
i am following this tread with great interest.
i tried to do solution 2. but nothing comes out (second page) . Some
questions
1. Can the subreport be place at the footer?
2. Do i place the text for the second page after the sub report or in the
subreport itself(if so where)?
3. Your statement 'to programatically set the newpage property'; when do you
set it? upon printing?
btw i am using version 8
thanks in advance nico
rashid
1. The footer band is not a dynamic height band so it is probably not a
good idea to place a subreport inside this band.
2. According to the solution below, you will place all objects after the
subreport if you would like them on the next plage. (using the z-order).
3. Yes, try using the Band.BeforePrint event to set the NewPage property.
Note: You may also try placing a Section style subreport instead and all
the information you would like on the next page inside this subreport. By
definintion a Section style subreport will always print on its own page.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
need to try this in the office tomorrow.
anyway will all this be alot easier with version 9?
i am unable to locate anything on this in the v9 feature list. btw i am
using 8 standard.
rashid
RB 9.01 includes a built in PageBreak component that allows you to break a
page anywhere on a report. This would definitely make things a lot easier
for you. I would suggest download a trial copy of RB 9.01 and testing it
for your needs.
Note: ReportBuilder 8 does not exist. We went directly from ReportBuilder
7.04 to ReportBuilder 9... .
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com