printing - Using Reportbuilder for Delphi, is it possible to print landscape and portrait within the same report? -


we're using reportbuilder delphi , have report, made of several smaller subreports, set print landscape. there way make first subreport print in portrait, whilst others print landscape?

i have tried setting orientation on tppreport printersetup object before prints , seemed work @ first, caused problems printing report, , exporting pdf.

thanks!

yes possible. in report design main, uncheck parentprintersetup sub reports.

enter image description here

set polandscape or poportrait in printersetup sub report sub report tab. enter image description here

tested reportbuilder 12.03, delphi xe , foxit 4.1.1

edit 1 tested d2007 , reportbuilder 10.07. no , problem printing pdf first subreport portrait , second subreport landscape.

here dfm containing report definition tested with.

object form1: tform1   left = 0   top = 0   caption = 'form1'   clientheight = 176   clientwidth = 377   color = clbtnface   font.charset = default_charset   font.color = clwindowtext   font.height = -11   font.name = 'tahoma'   font.style = []   oldcreateorder = false   pixelsperinch = 96   textheight = 13   object ppreport1: tppreport     printersetup.binname = 'default'     printersetup.documentname = 'report'     printersetup.papername = 'a4'     printersetup.printername = 'default'     printersetup.mmmarginbottom = 6350     printersetup.mmmarginleft = 6350     printersetup.mmmarginright = 6350     printersetup.mmmargintop = 6350     printersetup.mmpaperheight = 297000     printersetup.mmpaperwidth = 210000     printersetup.papersize = 9     allowprinttofile = true     devicetype = 'screen'     emailsettings.reportformat = 'pdf'     outlinesettings.createnode = true     outlinesettings.createpagenodes = true     outlinesettings.enabled = true     outlinesettings.visible = true     textsearchsettings.defaultstring = '<findtext>'     textsearchsettings.enabled = true     left = 112     top = 32     version = '10.07'     mmcolumnwidth = 0     object ppdetailband1: tppdetailband       printheight = phdynamic       mmbottomoffset = 0       mmheight = 30692       mmprintposition = 0       object ppsubreport2: tppsubreport         username = 'subreport2'         expandall = false         newprintjob = false         outlinesettings.createnode = true         parentprintersetup = false         printbehavior = pbsection         traversealldata = false         mmheight = 5027         mmleft = 0         mmtop = 5292         mmwidth = 197300         bandtype = 4         mmbottomoffset = 0         mmoverflowoffset = 0         mmstopposition = 0         object ppchildreport2: tppchildreport           printersetup.binname = 'default'           printersetup.documentname = 'report'           printersetup.papername = 'a4'           printersetup.printername = 'default'           printersetup.mmmarginbottom = 6350           printersetup.mmmarginleft = 6350           printersetup.mmmarginright = 6350           printersetup.mmmargintop = 6350           printersetup.mmpaperheight = 297000           printersetup.mmpaperwidth = 210000           printersetup.papersize = 9           version = '10.07'           mmcolumnwidth = 0           object ppdetailband3: tppdetailband             mmbottomoffset = 0             mmheight = 13229             mmprintposition = 0             object pplabel2: tpplabel               username = 'label2'               border.borderpositions = []               border.color = clblack               border.style = pssolid               border.visible = false               caption = 'label2'               font.charset = default_charset               font.color = clblack               font.name = 'arial'               font.size = 12               font.style = []               transparent = true               mmheight = 4868               mmleft = 10054               mmtop = 3440               mmwidth = 12785               bandtype = 4             end           end         end       end       object ppsubreport1: tppsubreport         username = 'subreport1'         expandall = false         newprintjob = false         outlinesettings.createnode = true         parentprintersetup = false         printbehavior = pbsection         traversealldata = false         mmheight = 5027         mmleft = 0         mmtop = 18256         mmwidth = 197300         bandtype = 4         mmbottomoffset = 0         mmoverflowoffset = 0         mmstopposition = 0         object ppchildreport1: tppchildreport           printersetup.binname = 'default'           printersetup.documentname = 'report'           printersetup.orientation = polandscape           printersetup.papername = 'a4'           printersetup.printername = 'default'           printersetup.mmmarginbottom = 6350           printersetup.mmmarginleft = 6350           printersetup.mmmarginright = 6350           printersetup.mmmargintop = 6350           printersetup.mmpaperheight = 210000           printersetup.mmpaperwidth = 297000           printersetup.papersize = 9           version = '10.07'           mmcolumnwidth = 0           object ppdetailband2: tppdetailband             mmbottomoffset = 0             mmheight = 13229             mmprintposition = 0             object pplabel1: tpplabel               username = 'label1'               border.borderpositions = []               border.color = clblack               border.style = pssolid               border.visible = false               caption = 'label1'               font.charset = default_charset               font.color = clblack               font.name = 'arial'               font.size = 12               font.style = []               transparent = true               mmheight = 4868               mmleft = 11906               mmtop = 2646               mmwidth = 12785               bandtype = 4             end           end         end       end     end   end end 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -