Blank first page of pdf

Diadem 2012
I've had a recurring issue which I've l lived with for quite a while and have not been able to narrow down what causes it.
Sometimes a report exported as a PDF has a blank page 1 (missing what should be on page 1 - I only see a black border outline when opening the PDF) and from page 2 on looks normal. Originally the reports were created from a template TDR. After we upgraded to Diadem 2012 I rewrote the report code to dynamically create each report from scratch and the problem happened using both methods. I run this code on different computers and using a variety of source files and I haven't been able to figure out a pattern. 
All the reports are being automatically generated so I don't have a TDR to compare to the PDF. 
For example, today I generated an Attribute, a dirty and a clean report. Page 1 of the attribute report was blank, but the dirty and clean reports look fine. Page 1 for all 3 reports is a page containing the serial numbers which were used to generate the rest of the report. If there are enough serial numbers to require more than one page, the second page prints fine.
I have a different product which page 1 of the dirty report is blank. There is no attribute report for this product. It's almost like there is some initialization code that needs to happen is not happening, but it fixes itself once it goes on to page 2, and all future reports for the product work fine. But I'm using the same code on a different computer and it is not generating blank pages. 
The code for the first page of the attribute, dirty and clean is the same code. The attribute and dirty/clean routines are in different code files so the routine which generates the serial number page is copied.
Looking for any ideas.
thanks,
James

James
I feel for you, this looks like a hard one to narrow down to a solution.  I have made automatically generating reports to PDF as well.
It does sound some initialization code is not being ran consistently.  With my limitations of can't see code, and really do not have the time if did have code.  But I can offer some tips used to trouble shoot similar issues.
1)  As far as comparing the tdr to PDF. You can add right before the PDF is made, a command to save the tdr file. That will allow you to verify that the PDF output command is not the issue. It will also allow code to be developed to detect it missing, and log it.
2) Once you have a TDR of the first page not happening, you can develop code to look at the report objects to check that the first page has values in it. 
3) Once you have the code that will detect the first page not being present, then this sub or function can be can at various pages of the app, with results logged to DIAdem log or other fie.  This has the potential to reduce the possible area causing the issue.
General notes: 
a) When you are refering to the specific pages. Is this by page number or by page name?  I usually use page name to get the page I want.
b)  When it builds the report and report objects, Is the app naming the objects as it makes them?  If it was then it would make is more straightforward to check for them missing. 
I am thinking that once you have a sample TDR with the missing first page information, It opens up the troubleshooting options.
If some examples of the above are helpful. Just let me know.
Paul

Similar Messages

  • Blank first page

    When I import an existing PDF (from a set of customer supplied PDFs) into the Designer I consistently get a blank first page that I am unable to get rid of. In the hierarchy view there is only one page showing. If I click on that page I go to the page with the controls on it (the second page). The page counter at the bottom shows 1/2 for the blank page and 2/2 for the page that the controls are on. I have tried dragging and cut/paste the controls to the top (blank) page. If I try to create a control on the blank page, it shows up on the Hierarchy tree under the the "topmostSubform level, between the Master Pages node and the Referenced Objects node - but the controls are invisible on the Body Pages design area.
    It seems completely unrecognized in the environment, except by the page number counter.
    This does not happen on all PDF's - I tried a similar one from another source and it imported fine.
    So 2 questions -
    1. What would be wrong with the customer PDF original that would cause this problem?
    2. How do I get rid of the blank page?

    I also had this problem after converting some existing pdfs into Livecycle Designer 7.1. I tried the same conversion in v7.0, and it didn't do this, so I suspect an undocumented feature may have crept into version 7.1. ;)
    I found that the problem was that somehow the subform for the first ACTUAL page was longer than the bottom of the page. After re-adjusting the subform to something just under the bottom of the page, my extra page vanished and all was good again.
    My clue was the fact that when I was on that page and clicked down towards the very bottom, the size in the bottom status line showed 8.5in X 11.014in.
    Hopes this helps someone out there. I spent almost a whole day trying to figure it out. :( I looked through seemingly endless XML code and never saw it. It was probably there but I just didn't see it.
    Regards,
    Ray

  • Forms that previously worked, print a blank first page.

    I have numerous forms that were created in LiveCycle Designer 8 that worked perfectly, but suddenly they all are printing a blank first page.  When I am in LiveCycle in the Design view, I am able to print both pages but when I go to the Preview PDF view, the first page is blank on print preview.  I'm stumped. There are no security settings around printing.  Any help would be greatly appreciated.

    This seemed to be a property that is causing an additional page to be printed.. If you can send the form to [email protected] , I can have a look at it..
    Thanks
    Srini

  • Blank first page on DHTML viewer in Crystal 2008

    I have seen some threads regarding this issue but no real resolution.
    We are using Crystal 2008 running in a Windows 2003 web server and IIS 6. With the base version of Crystal 2008 installed, everything worked fine when rendering reports in the DHTML viewer. As soon as we upgraded to Crystal 2008 SP2, all reports now show a blank first page.
    If you page back and forth or do an export, the data on the first page are displayed.
    Does anyone have any ideas what caused this and how to fix it other than uninstalling the service packs?

    Let's back up a bit. How did you actually deploy the Crystal Reports 2008 .NET Runtime to your web server? Based on your last message it sounds like you use the original CD media? If so this is incorrect.
    You mentioned you copied the crv.js from a cab file from the install media. This might account for your problems because you are using an old of out date .js file with newer engine components.
    The way I always suggest to deploy to a web server is to use our server redist files. Below are a few of the files you could use. I've listed FP3.3, SP 3 and SP 2. I don't know what patch level you want to be at so the decision is up to you.
    Service Pack 3, Fix Pack 3.3 Server Redist
    https://smpdl.sap-ag.de/~sapidp/012002523100016807202010E/cr2008fp33_redist.zip
    Service Pack 3 Server Redist
    https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip
    Service Pack 2 Server Redist
    https://smpdl.sap-ag.de/~sapidp/012002523100009159002009E/cr2008sp2_redistinstall.zip

  • First page of PDF is blank

    PDF's that I create look fine in all readers except Adobe Reader for Android where the first page is blank. I can't figure out why though for the life of me. Anyone have an idea why something like this would occur?    

    Thanks Mehwish,
    Do you have any insight into why this occurred and if there's a way to avoid it until you guys get this fixed? Any ETA on the fix? This is a huge issue for us right now and I'm trying to figure out any workaround possible. Thanks.

  • Only first page of pdfs will display in Reader for iPad?

    When I attempt to open some (not all) pdf files, only the first page of the document will display. The remaining pages show up blank, with the top toolbar also not displayed.
    These files are downloaded from my university's Blackboard app, with some working properly and others not despite them all being pdfs. I have tried downloading them directly from Blackboard and uploading them to Google Drive (where they display properly) and downloading them from there, but neither works. All files will open and display properly in iBooks so it seems that the problem is with Adobe Reader. How do I fix this?

    Are you running the latest Adobe Reader Version i.e. 11.0.1? Can you please share the file where you are encountering this issue to [email protected]?

  • Blank first page and chart printing on the second page

    I have a subreport in my report footer that displays a chart.  The detail section is suppressed in the main report.  For some reason the chart displays on the second page of the report and the first page is blank except for the report header and page footer.  In the section expert the 'new page after' box is checked and grayed out so I can't remove the check to see if that solves the problem.  I've never been particularly skilled in regards to reporting and in addition it's been quite a few months since I've even worked on a report.  I'm using Crystal XI. Can anyone provide suggestions on where I might look to solve this problem.

    Main Report
    Report header--suppress blank section
    Page header --suppress blank section; supress (no drill down) - page number = 1
    Detail--Suppress (no drill down); suppress blank section
    Page Footer--suppress blank section
    Report Footer--suppress blank section
    Sub Report
    Report header a--suppress (no drill down) - {?Pm-?Graph Type}<>"Pareto" ; suppress blank section
    Report Header b - suppress ( no drill down) - {?Pm-?Graph Type}<>"Pareto-Top 5" ; suppress blank section
    Report Header c--Suppress blank section
    Group Header #1a--Suppress (no drill down) - If {?Pm-?Graph Type}="Pareto-Top 5" or {?Pm-?Graph Type}="Pie-Top 5" then
    {@nIncrement}>5
    ) ; Suppress blank section
    Group Header #1b--Suppress ( no drill down) - {?Pm-?Graph Type}="Pareto" or {?Pm-?Graph Type}="Pie" ; Supress blank section
    Detail--Suppress (no drill down); suppress blank section
    Group Footer #1--Suppress (no drill down) ; suppress blank section
    Report Footer--suppress blank section

  • Safari 4.0.3 only displays first page of PDF

    Since a recent software update Safari fails to display anything other than the first page of any PDF opened within it. This applies to direct downloads, and to previously downloaded PDFs that worked perfectly in Safari only days ago. Any ideas? I do not use any 3rd party plug-ins, only the pure in-line viewer built into Safari. I do not wish to use the Adobe plug-in because is it god-awful slow to launch.
    The PDFs are intact, and can be viewed normally in Firefox or Preview. Therefore, this seems likely to be a recently added anti-feature. This is an app-killer for me.
    Any help would be much appreciated.
    Best regards,
    Steve

    Oh my goodness, I have spent HOURS today trying to get Safari to download more than the first page of a PDF. Aughghgh!
    Someone please help...none of the above work. Control-clicking doesn't work. Replacing the com.apple.Safari.plist doesn't work. Opening in a new window, "saving as" to the hard drive, etc. doesn't work.
    It works just fine on my iMac at work, but I am not at work…
    I would prefer NOT to use Acrobat Reader if I can help it, because I understand it is incredibly slow.
    Does ANYONE know how to get Safari to download a multipage PDF? I don't care if it opens in Preview automatically or if I have to open it later, I just need to get the darn file!
    Frustrated in Indiana

  • Mail only sends the first page of PDF files

    since I upgraded to OS 10.8.3, when I send a PDF attachment using Mail only the first page is sent.
    If I use Safari, then the entire file is sent
    Any ideas what is going wrong wi

    Select the page and go to Tools>Pages>Extract  to get the page. Then save as other>DOCX.

  • Why does Safari only display the first page of PDFs

    When I use Safari to view PDFs attached to a web site I manage only the first page of the PDF displays. There is no problem if I use other browsers. Also the problem is specific to my machine as other Mac users can view all pages of the PDF on their machines. I have looked at Safari Preferences but there does not appear to be any incorrect settings.

    Hi
    do you have any 'pdf' plugins showing in HD/Library/Internet Plug-Ins/ ?
    If you do, quit all browsers & drag the plugin to the Desktop, or some other folder, then test pdf's again. If they still display oddly, try quitting Safari & removing the file Home/Library/Preferences/com.apple.Safari.plist.
    If np pdf plugins show, try the plist move anyway & if you still have problems, it's helpful to test this in a New User Account which takes but a few minutes & tells us if it's a system-wide issue, or restricted to your regular user.

  • Blank First Page in Sub Report

    Hi,
    My sub report display the first page blank with data starting from the second page. The first page just displays the Report Header. How can I fix this?
    Thanks.
    Reena

    Is it possible that there is a group in the subreport and you have Keep Group Together set in the Group Options?
    Fuskie
    Who would bet the group data is larger than what fits on a single page and Crystal reacts to that by pushing the whole thing to the second page...

  • What determines whether or not a thumbnail image of first page of PDF is shown in Win. Explorer

    In the bottom details pane of Windows Explorer, the PDF can be shown as either just a PDF icon or a thumbnail image of the first page of the PDF.
    What aspect of the PDF file determines what is shown, and how is this changed (if possible) in Acrobat?

    Neither PDF (the file format) nor Acrobat / Adobe Reader are involved with the "preview" an OS file browser might provide. When present it is provided by the OS. To learn more about the whole thing some web searches will yield a generous population of links to information.
    Be well...

  • FF4 only shows first page of PDF when linking to document.

    I upgraded to FF4. When I link to a PDF document it only shows the first page.

    I forgot to add that the first page of the PDF document shown on the email is actually an image. I don't know why the mail client does that.

  • Get rid of first page in PDF generated by report designer

    When I publish a report from report designer and convert it to print version, the first page of the PDF has - name of the report and last updated information for the whole first page. How can I get rid of this page? is there any setting that I need to do to get rid of the front page with all these details.

    Hi voodi
    Did you find a solution to your problem? I'm having the same issue here.
    Best regards,
    Martin Søgaard

  • Email shows first page of PDF document but won't let me launch iBooks

    Hello, I've been trying to launch iBooks from an email with a PDF attachment. The email shows the first page of the PDF document but there's nothing I can do from there. I can launch iBooks from safari to read the PDF but I need to do it via email.
    Thanks,

    I forgot to add that the first page of the PDF document shown on the email is actually an image. I don't know why the mail client does that.

Maybe you are looking for

  • Report Generation Toolkit Installation

    Hello! I need to install the Report Generation Toolkit, but only using Excel 2007. Is this possible?  Or will we need to install a full Office suite?  Is there a way to workaround full install? We'll only be using Excel anyway... Thanks!

  • How to modify a column name & How to modify a constraint name

    How to modify a column name? How to modify a primary key constraint name if the pk has been referenced by another foreign key? Thanks.

  • Switching between VTs kills Xorg and GDM restarts

    Hi, since yesterday I noticed some sort of severe problem of my system.  I am still trying to locate the reason why this all happens. My problem looks like this: Every time I switch from X to a VT everything looks fine. But once I want to switch back

  • Upgrading the hard drive and RAM

    Its about time to upgrade this 80GB it has no storage due to running windows as well. I just have a few questions Will I lose battery life upgrading parts? What brand HDD due most people go with? What is the max RAM the macbook can handle? Which bran

  • Oracle.jsp.parse.JspParseException

    After making minor changes to my jsp's, i deployed the war and now the jsp's cant find the tld's, even though they exist. I get the following error: 500 Internal Server Error OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="/t