Setting Printer bin name in End User Designer
Hi
Version 7.04 Delphi 6
We have a number of reports which can be edited in the report designer by
users of our application. Some of the reports are multi page letters where
the first page is printed on letterhead paper and the second page is a
subreport.
In the designer we can go to page setup and set the paper bin for the main
report to the letter head and the subreport to a plain paper bin. However
it doesnt work - both pages come from the letter head bin.
What can I do?
Regards
Paul
Version 7.04 Delphi 6
We have a number of reports which can be edited in the report designer by
users of our application. Some of the reports are multi page letters where
the first page is printed on letterhead paper and the second page is a
subreport.
In the designer we can go to page setup and set the paper bin for the main
report to the letter head and the subreport to a plain paper bin. However
it doesnt work - both pages come from the letter head bin.
What can I do?
Regards
Paul
This discussion has been closed.
Comments
If you are using Section style subreports (which you will need to use in
this case), be sure you have the TppSubreport.ParentPrinterSetup property
set to False. In my testing, I was able to assign a different bin to a
subreport and have it print from that bin.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I changed the sub report to Section. At first this caused odd things to
happen - some objects from page 1 where appearing on page 3. Looking at the
Calc tab I noticed that these where listed after the subreport in the Report
Objects tree. I went back to the Design tab and cut the subreport and
pasted it back in. This put it at the bottom of the object tree and solved
that problem.
Shouldn't they print in the order they appear in the designer?
I then went to File/Page Layout/Paper Source and set the main report to one
bin, then selected the subreport and set it to another bin.
Both pages still printed from the first bin :-/
Anything ales I can check / try?
Regards
Paul
1. Items in a report print according to the z-order (i.e. the order in
which items were placed on the report). You can adjust the z-order using
the Send To Back and Bring To Front features built into each component.
2. When you set the bin of the subreport, be sure you are actually
designing the subreport. As a test, try changing the bin name in the object
inspector rather than using the page setup dialog and see if that makes a
difference.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I created a little demo app and it appeared to work on my printer. I say
'appeared' because I dont actually have mulitple bins, just default and
manual - it worked if I set it to page 1 default, page 2 manual, page 3
default and providing I only put paper into the manual feed when it asked -
otherwise it printed all from manual.
I sent the app with instructions to my customer who has multiple bins - she
says it doesnt work - all pages come from main bin. Can I send it to you?
Regards
Paul
Sure, send the example in .zip format to support@digital-metaphors.com and
I'll take a look at it for you.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com