Blank page in report o/p and o/p notprinted when contains multiple pages

Dear Friends,
I am facing couple of issues while modifying an existing report
1. First page of the report is Blank
2. Report output is not printed when the output contains multiple pages.
Currently, along with the data, the report prints the output format in the first page and some totals in the last page.
The requirement is that we do not want these first and last pages.
For this, i made the following modifications to the report.
In the Layout Model,
*1. Under the body of Header section, we have a repeating frame which is printing the output format that comes out as report first page.*
Both Horizontal and Vertical Elasticity are set to Fixed and below is the code in the format trigger on this repeating frame.
function R_HEADER_PAGESFormatTrigger return boolean is
begin
if :p_header_pages = 0
then return(false);
else return(true);
end if;  return (TRUE);
end;I modified this format trigger to always return false as shown below
begin
return false; --statement added by me
if :p_header_pages = 0
then return(false);
else return(true);
end if;  return (TRUE);
end;*2. Under the Body of Trailer section, we have a main frame which prints summary information.*
Both Horizontal and Vertical Elasticity are set to Fixed and below is the contents of the Format trigger on this frame
function M_CONTROL_GRPFRFormatTrigger return boolean is
begin
if :report_term_count > 0
then return(true);
else return(false);
end if;  return (TRUE);
end; I have modified this trigger to always return False as shown below
function M_CONTROL_GRPFRFormatTrigger return boolean is
begin
return false; --statement added by me
if :report_term_count > 0
then return(true);
else return(false);
end if;  return (TRUE);
end;When i run the report after doing these modifications, i am facing the above mentioned problems.
Any idea on why a blank page is coming out before the actual data?
Also when the report output contains multiple pages, the output is not printed. Any idea on this?
Regards,
Sreekanth
Edited by: Sreekanth Munagala on Mar 23, 2012 1:15 AM
Edited by: Sreekanth Munagala on Mar 23, 2012 1:18 AM

Hi InoL,
I have tried by setting vertical elasticity to variable but the blank plage is still coming in the output.
Also, i am just wondering that blank page is not shown for the trailer page even though the Horizontal and Vertical Elasticty is set to Fixed.
Could you please let me know if you have any idea on this?
+InoL Wrote:+
+And this didn't happen before you made the changes to the format triggers?+ Sorry for not mentioning that this happens when i delete the entire fields and frames in Header section.
Setting the Vertical Elasticy of Header to False and returning false in Format trigger still prints the blank page in addition to the actual data pages.
I have also tried setting the option BLANKPAGES=NO in the concurrent program execution options but still the blank page is not suppressed.
Regards,
Sreekanth
Edited by: Sreekanth Munagala on Mar 25, 2012 8:33 PM

Similar Messages

  • Pages created by Template view and preview Ok - Except when linked on page

    I created a template in DW. The template contains a background image and an editable region. I made some pages using the template / updated my pages and saved them as html. I have worked with templates before.
    Here is the problem. I can open, view the html files in DW that I applied the template to, they look normal. I can preview the files in IE.
    If I click a link in lets say the index file, to another lets cay contact.html file that I applied the template to, it only loads the editable region and  I don't see the template applied. If I pull up the file, say contact.html in DW the template is applied and if I preview  it the page displays. No background image or dropdown includes are on the page and the template is not applied for some reeason in preview when linking from a hotspot. The path is correct.
    I tried this several times and still no luck. I even uplopaded to the web and the same thing is happening.
    Please advise as to what I should look at? I can direct you to an example if need be. -
    Dreamweaver MX user.
    Thanks,
    Greg

    Here is the code of an html file in which the region is editable. The template has been applied to this page and is one of the pages that is having a problem.
    I will need to look further into your last response, although it makes perfect sense to a webmaster like yourself, it only makes partial sense to me but I do undertand the point. I will look into that furher, thank you for your response.
    When looking at the code, my Background image was repeating and I do not want it to. I edited some of the code and although, it does not look clean, it does work. Maybe this is part of the problem.
    In this example, I did get the background to work, not sure how, but my includes and a image over the background with the hotspots are not wodking.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html><!-- InstanceBegin template="/Templates/index_new_0415.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- InstanceEndEditable --><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    .unnamed1 {
    background-attachment: scroll;
    background-image:  url(Background/final3/final.jpg);
    background-repeat: repeat;
    -->
    </style>
    <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
    </head>
    <body background="Background/final3/final.jpg" style="background-image: url(/html/Background/final3/final.jpg); background-position: top left; background-repeat: no-repeat;">
    <table border="0" width="942" cellpadding="0" cellspacing="0">
    <!--DWLayoutTable-->
    <tbody>
    <tr>
    <td height="25" width="13"> </td>
    <td width="244"> </td>
    <td width="16"> </td>
    <td width="296"> </td>
    <td colspan="2" valign="top">
    <table border="0" width="100%" cellpadding="0" cellspacing="0">
    <!--DWLayoutTable-->
    <tbody>
    <tr>
    <td height="25" width="214" valign="top"><!--#include file="includes/inc_sitemenu.html" --></td>
    </tr>
    </tbody>
    </table>
    </td>
    <td width="159"> </td>
    </tr>
    <tr>
    <td height="81"> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td width="168"> </td>
    <td width="46"> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="44"> </td>
    <td rowspan="3" valign="top"><img border="0" usemap="#Map" width="244" src="Background/final3/roll.gif" height="372" /></td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="125"> </td>
    <td colspan="3" valign="top">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="480" height="125" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">
    </object>
    </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="203"></td>
    <td> </td>
    <td rowspan="2" colspan="3" valign="top"><!-- InstanceBeginEditable name="EditRegion4" -->
    <table border="0" width="400" cellpadding="0" cellspacing="0">
    <!--DWLayoutTable-->
    <tbody>
    <tr>
    <td height="46" width="400" valign="top">
    <div align="left"><img width="250" src="images/seminars.jpg" height="46" /></div>
    </td>
    </tr>
    <tr>
    <td height="698" valign="top">
    <p><img width="471" src="images/seminarsscan.jpg" height="433" /></p>
    </td>
    </tr>
    <tr>
    <td height="8"></td>
    </tr>
    </tbody>
    </table>
    <!-- InstanceEndEditable --></td>
    <td> </td>
    <!-- InstanceBeginEditable name="EditRegion3" --><!-- InstanceEndEditable -->
    </tr>
    <tr>
    <td height="42"></td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="128"></td>
    <td></td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    </tbody>
    </table>
    <p>
    <map name="Map">
    <area href="contact.html" coords="56,7,166,46" target="_self" shape="rect"></area>
    <area></area>
    <area href="about.html" coords="50,57,160,85" target="_self" shape="rect"></area>
    <area></area>
    <area href="http://www.tailgatetalks.com/" coords="33,98,155,128" target="_blank" shape="rect"></area>
    <area></area>
    <area href="images/final2_16.gif" coords="20,140,161,176" target="_self" shape="rect"></area>
    <area></area>
    <area href="http://www.couragelearning.com" coords="23,188,176,222" target="_blank" shape="rect"></area>
    <area></area>
    <area href="http://www.scottenvironmental.com/" coords="29,234,231,267" target="_blank" shape="rect"></area>
    <area></area>
    <area href="consutling.html" coords="53,277,235,314" target="_self" shape="rect"></area>
    <area></area>
    <area href="HeatWebinar.pdf" coords="88,327,240,359" target="_self" shape="rect"></area>
    <area></area>
    </map>
    </p>
    </body>
    <!-- InstanceEnd --></html>

  • I am able to save pages to my reading list and the list opens when I tap on it but no page show, just a gray screen.  How do I get the reading list to show?

    I am able to save pages to my reading list and the list opens when I when I tap on the icon, but all I get is a gray area and not pages to read.  What am I doing wrong?

    See this - http://kb.mozillazine.org/Sorting_bookmarks_alphabetically

  • When I click on my mail icon, the page flies across the screen and gives me a new altered email page with no menu for preferences, etc.  How do I change that?

    When I click on my mail icon, the page flies across the screen and gives me a new altered email page with no menu for preferences, etc. How do I change that?

    Press the escape (esc) key to exit full-screen mode.

  • Any way to get more than 100% zoom on print jobs when printing multiple pages?

    I know how to increase the size of a print job, when I am printing one page at a time. But when I go to print 2 pages at once (the multiple page print function), there are always large margins around the page. I'm ok with saving paper and printing up two pages, but it seems silly to see small print and wide blank margins. Is there any way to increase the print zoom, when printing multiple pages per sheet of paper?

    I once overshot the limit by marking too many photos to fit within 99 pages, but I could never figure out how to fool the application and had to give up trying to add those 14 extra photos.
    I asked a friend (who practically lives in Terminal) if he had any way of modifying that limit, but he reminded me that if their printing services are set up to bind books and bill for only 99 pages, fooling the application might be useless if the service only prints me a 99 page book and discards the additional pages.
    I can understand that you wouldn't want to let people print 1000 page books, but I sent feedback anyway to allow me to increase the limit. Anyone know of any service that lets you print beyond iPhoto's limits?

  • Error in smartform when printing multiple pages

    Hi,
    I m using a smartform which have two pages in it,
    i m able to save and activate it without any error message and when i run the function module generated to chk my smartform
    it runs fine and diplays two pages i m using.
    but as i m attaching this form with my driver program it is giving an error message while running . the error message is " No other output defined in main window."
    Please help me out to resolve the issue.

    Re: error in smartform when printing multiple pages
    dharani tadikonda
    Thanks for this answer. It is absolutely correct.

  • Disable Auto-Centring When Printing Multiple Pages

    Hello,
    I am using Adobe Reader XI Version 11.0.04 (mac). I am trying to print multiple pages (specifically custom 1 by 3 portrait), but am finding that the 3 pages auto-centre (appear in the middle of the page). Is there a way to disable this auto-centring so that the three pages can be flush to th left of the page (e.g. left margin).
    Thanks

    Re: error in smartform when printing multiple pages
    dharani tadikonda
    Thanks for this answer. It is absolutely correct.

  • Scroll Bar Problem after Printing a web page containing multiple page data

    Hi All,
    I have a web application which has two DIV, one is main and one is child. I am having problem in printing multiple pages. There is a lot of data in the child DIV and i am using JavaScript functions to control the print functionality. When i print using window.print(), only the data on the main page currently being showed is printed. I further researched and checked out the Style.Overflow property.
    Now i am using divMain.style.overflow = "visible"
    After this the complete print comes. But in Firefox, the scroll bar disappears and only single page is left with no scroll bar .
    Now if after print i give divMain.style.overflow = "Auto" OR divMain.style.overflow = "Scroll", still the scroll bar doesn't come and if it comes then its inactive. I am unable to see the complete data on the page after the print is taken.
    The problem is not coming in I.E and the full data with scroll bar is recovered in I.E.
    Please help me how to get the normal page with full data and scroll bar after printing in Firefox.
    Thanks,
    Manuj

    hi, i would update my reader first to the newest version.
    does the size of the textfield never change, independant how much text is in it?
    perhaps check your subforms, if they are type "position" size does not change in my opinion, except your parent subforms expand to fit....
    or use "flowed" subforms...and regard the parent subforms too!

  • When printing multiple pages from an internet email or webpage, only the first page is properly fitted on the page. All subsequent pages are cut off on the right side. What's the fix?

    I have set the print settings to "Ignore scaling and Fit to Page" and it seems to work only for the first page of a multi-page webpage or email chain. Nothing I've done seems to fix it. I've set the print settings to 90% scale in page set-up in order to print FedEx online waybills properly, but I can't seem to solve the other problems.

    Doc: I've had a similar experience, and here are the details, investigation, and a workaround. My printer is a Brother MFC-645CN, and I'm using Snow Leopard (10.6.8) on a 2010 iMac quad i5 connected to the printer over my ethernet LAN. Are you using a Brother printer?
    Firefox has shown this kind of nasty issue for the past six months or so. It seems to be related to the imaging algorithms in Preview when dealing with Firefox (now at v.12) and the Brother printer -- the screwy second page (and beyond) show up skewed and up-sized when doing a print preview also. No such problem seen in Safari or anything else. I am not currently using any other Mozilla apps on this Mac besides Firefox.
    A few months ago I tested printing from my administrator account and  a different user account. Firefox printing was completely normal and as expected. When I went back to my main user account, back came the funky second page.I went through extensive troubleshooting to try to chase it down, systematically removing and replacing apps and preferences and many other Library files related to printing, Brother drivers, Firefox, and Preview. Nothing helped. Solution was to migrate my user files to an account where the printing problem wasn't happening. I deleted the problem user account.
    Everything was fine for about three weeks, and then with no warning, printing was back to the bad second page, just as before. I am stumped, and I'll let smarter people try to figure it out. I use Firefox a lot, and it's possible that some add-on setting is interfering, or a web page I visited turned the printing funky again. I just don't know.
    Also checked on a Mac G4 running Leopard (10.5.8) and Firefox 3.6.28. No printing/preview problems there.
    Now, for the work-around I am currently using -- print each page separately, one at a time. Page 1, then page 2, etc. Preview and printing looks completely normal. Hope this works for you until the bug is located and squashed for good.
    Glenn

  • "The document contains multiple page sizes"

    I am using ID 2014.1 on Windows 7.
    I have a 60-page document, and whenever I want to print a page on my desktop printer, I get this message:
    I have not changed the size of any of the pages, and I can't see anything unusual when I go through the whole document.
    There's no warning when I export to PDF.
    Here's my document setup:
    I have reset my preferences, to no avail.
    Exporting the file to idml didn't help either.
    I tried to print from some other files, and the same thing happened on one file, others were ok.
    Any ideas?

    I don't have CC 2014 installed on this machine, but you should quit the CC Desktop app using the gear icon, then restart it so it updates and check again, just to be sure.

  • No Scaling when Printing Multiple Pages per Sheet

    I'm trying to print a pdf document but with 2 pages per sheet. I tried to scale up the document by 10% (in the page setup tab) but it actually scaled down about 30%. Any idea what could be going wrong? Can Adobe even scale up and print multiple pages on the same sheet?

    Are you using the Multiple button under the Page Size & Handling section of the Reader Print dialog? This section allows you to determine how many pages are printed per sheet. The scaling is pre-determined by the number of sheets you have selected.

  • Preview buggy when printing multiple pages per sheet using a custom paper size

    I have a square book I've designed and I've printed the pages to a PDF. Now I'd like to re-print the pages so you can see facing pages together exactly like when, in preview, you select "View > Two Pages".
    Each page is 12x12 so I'd like to re-print them to be 24x12 (24-wide)
    I was previously able to do this in preview (prior to mountain lion) using the "layout > two pages per sheet" option with a custom paper size but when trying with Mountain Lion, the print-dialog preview doesn't match the output when saved as pdf; pages either get shrunk or cropped without my permission and it generally seems to be buggy. I've been playing around with it for over an hour and can't get two pages side-by-side to take up a full 24x12 custom virtual page when saved as PDF
    I would expect the print preview to accurately display what will be printed (saved as PDF) and I am guessing that maybe the printer selected (HP all-in-one) is affecting the preview and save to pdf options?
    Can someone tell me how to achieve a printed rendition of the "view > two pages" layout?

    I have a little more information. I turned on "single hairline" border and as you can see, it's converting my square pages into "US Letter" pages BEFORE applying them two-to-a-page. So it's using my selection of "Paper Size" as both the source and destination paper size, rather than just the destination size, because my source is obviously 12x12 square (confirmed by looking at page properties in preview). Apple, please fix this

  • Reverse printing order when copying multiple pages?

    My boss often wants to copy multi-page documents using the ADF and copy mode. Since the feeder takes the pages from the top, the copies end up in reverse order. Is there any setting that would make the copies come out in the same order as the original?  ( I know you could scan them all and then print, but he doesn't want to do that.) 

    Hi, HPGLinda!
    So that the Community can help you better, we will need to know exactly which model of printer you're using, which operating system is on the computer that's talking to it, and which applications you're trying to print from. That, and any other details you'd like to give will help the Community better understand your issue!
    If this is a time-sensitive matter, our US-based technical support team is standing by, ready to help 24/7 via Email at http://bit.ly/EmailCanon or by phone at 1-800-OK-CANON (1-800-652-2666) weekdays between 10 AM and 10 PM ET (7 AM to 7 PM PT).
    Thanks and have a great day!

  • Reducing margins when printing multiple pages on one sheet

    When I print a pdf document from Preview, a document from Pages, or from any other application and select the Layout-> Pages Per Sheet as 2, 4, or more, very large margins are put around each sheet and between the pages on the sheet. If these margins could be reduced, the print size would be bigger. Is there any way to reduce these margins (say down to 1cm or so)?

    I figured out a way to reduce the margins. You can do it quickly by choosing Scale to Fit-> Fill Entire Paper, from the Preview settings in the print dialog box. You can also increase the scaling to make the writing fill up more of the page manually by choosing Scale -> and putting a higher percent. The preview window is helpful in showing what it will look like.

  • If I have two separate pages documents, how do I compile them into one document with multiple pages?

    I have two separate documents, but I need them to be in one document in a sort of magazine form. How do I get the documents saved together so there are multiple pages in one document?

    Menu > View > Page Thumbnails > click on the thumbnails > Copy > Paste into second document thumbnails
    Peter

Maybe you are looking for