CROSS TAB PRINTING IN PDF PROBLEM

Post Author: peachpx
CA Forum: General
Hi,
My report uses a Cross Tab query with multiple lines for each value. Originally, I only get one line for Total In.  I modified Total In to include three lines Total Into Final, Total Into Initial and Total Out.  It displays fine in the report, but when I try to print from the server it opens PDF file with only one line present Total Into Final and the other two lines are cut off.  Is this a BUG in CRXII or is this can be fixed with correct formatting?
Please help!

Hi,
cross tab is a diagonal report , u have to make query in such a way so that it returns the all field in row and columns way  i.e in diagonal form .
U have to fetch total in same manner
Rgds,
Premraj

Similar Messages

  • Problem w/ cross-browser printing, embedded pdf javascript

    protected static byte[] exportReportToPdf(JasperPrint jasperPrint)
                                                          throws JRException {
      JRPdfExporter exporter = new JRPdfExporter();      
      ByteArrayOutputStream baos = new ByteArrayOutputStream();
      exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
      exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos);
      exporter.setParameter(JRPdfExporterParameter.PDF_JAVASCRIPT,
                  "this.print({bUI: true,bSilent: false,bShrinkToFit: true});");
      exporter.exportReport();       
      return baos.toByteArray();
    We are using code like this to export a PDF document from a Jasper application.
    The line
    exporter.setParameter(JRPdfExporterParameter.PDF_JAVASCRIPT,
                 "this.print({bUI: true,bSilent: false,bShrinkToFit: true});");
    adds embedded JavaScript to send the PDF document directly to the printer.
    The expected behavior is that a print dialog will come up with a preview of the PDF document.
    This works fine most of the time - except I am having problems about one out of every 5-6 times in Internet Explorer 8 and Firefox.
    What happens is - the print preview dialog with the PDF document does not appear or it appears with a blank document in the preview window.
    -I've tried a number of different JavaScripts (different params to this.print() via exporter.setParameter -I've tried setting different response headers such as
    response.setContentType("application/pdf");
    response.setHeader("Content-disposition","inline;  filename=\""
                       + reportName
                       + "\"");
    response.setContentLength(baos.size());
    these did not seem to help
    This seems to be an IE and FF issue. Has anyone ever dealt with this problem? I need to get it to work across all browsers 100% of the time. Perhaps a different approach to accomplish the goal of sending the PDF document export directly to the printer? or a third party library that will work across browsers? Thanks for any advice.

    You have to be careful when using the ActiveX control to communicate with system functions like printing.  Because it can be embedded in anything that supports ActiveX, some functionality is limited from being called from JavaScript as it may interfere with the host application.
    Check out the IAC API Reference (also included with the SDK) and the methods under AxAcroPDFLib.AxAcroPDF.  There are some print functions in there (like PrintAll) that you can call on the ActiveX control directly, as in from your doPrint() method in your HTML page without using the hostContainer.  You would basically just call:
    pdfObject = document.getElementById("PDFObj");
    pdfObject.PrintAll();
    These methods were designed specifically to work with the ActiveX control when embedded in a host application, and can be used to print a PDF embedded in a web page.

  • Print To PDF problem

    hi,
    i have used the Print to > PDF option of iWeb to create documents that users can print (because of this iWeb printing pb ...).
    but now, the problem is that those PDF files generated by iWeb have line cut in the middle.
    you can see it @ www.voisinconsulting.com/websitev2/services.html for example. click on the 'print this page' link to see the PDF document ... you'll see there is a pb at the bottom of every page. and this happens on every of the PDF pages i have created with iWeb.
    anyone can help me ???
    thanks in advance.
    tom.

    tom:
    I see what you mean. But when I do a Print to PDF from the web page via my browser I get a 3 page PDF file with breaks properly oriented. You might create a good pdf file and link it for download instead of relying on the services to create the page.
    Do you Twango?

  • Printing to pdf problems using 6.0

    I have Adobe Acrobat 6.0 Pro and recently I started having problems printing a document to a pdf. Everything else seems to work fine. I have windows XP and microsoft office 2003. I never had a problem until yesterday. I have also had the updates installed as of 1/2007.

    Not completely sure what I did differently this time but now I have the following message when trying to print to pdf
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[Page: 2]%%
    %%[LastPage]%%
    <PDFX ISO="15930-1:2001" COMPLIANT="false">
    PDF/X Compliance Report
    1. Color
    [Violation] RGB colorspace was found on the following pages:
    Page 1, Occurrences: 3
    Page 2, Occurrences: 2
    Violations: The total found in this section was 5.
    2. Summary
    Warnings: The total found in this document was 0.
    Violations: The total found in this document was 5.
    The number of color problems found in this document was 5.
    This document does not pass PDF/X-1a compliance checks.
    </PDFX>
    %%[ Warning: Did not pass PDF/X compliance tests. No PDF file produced. ] %%
    Can someone help me?

  • Cross tab Header display..problem!

    I have cross tab report in that we wanted to give user drag and drop option,but when the user drags and drops a new object the name of that object will not come automatically. i have tried in other ways to get that but unable to.Could somebody syggest the best way to get the Column names in Cross tab report..thanks..

    Jaspal,
    the best way to get the Column names in Cross tab report
    WebI does not provide automatic column headings once you go into Cross tab.  The easiest way to achieve is to click once on the top most cell, then right-click and choose insert, insert a row above.  Once the row is inserted, then in each column you can place a header by manual intervention.
    Thanks,
    John

  • Adobe Acrobat 8.1.2 Pro Print to PDF problem

    We are trying to us the print to PDF method of PDF creation. In the past you were able to select the PDF job options from under the apple print menu and in the PDF options section. When used under Illustrator or Indesign this would also allow you to choose a save location and name for the pdf file.
    We've been using CS1 and are moving to CS3. After a clean install on a test system that Submenu is now gone. Anyone have any ideas? I can have the users manual set the options in Acrobat Distiller first but this seems to make the PDF printer rather useless.

    Some additional info
    This is on a PPC Mac with OS X 10.4.11 with latest patches. Previously install was Adobe CS1. Removed the Adobe PDF printer, PPD Plugin and PPD file prior to instal. Also removed the Version Cue 1 preference pane and preferences via Adobes Manaul removal script.

  • Printing to PDF problem

    I need to print to pdf so I can get the color separations.  However, after updating acrobat 8.0 to 9.0, the pdf option is no longer in the PPD selection.  Any help to get it back would be very helpful.

    If you upgraded to 9 and you have not opened Acrobat as yet do so it will give you the option to have Acrobat set this up.
    I would then restart the computer.
    If the option does not present itself I would uninstall and reinstall.
    BTW you will have to first print to .ps then distill to get a pdf

  • Printing/creating PDF problems with Mac OS 10.6.4 and word v.X

    In my job at university I use Word 2003 (version 10) in my new iMac. Since I updated to MacOS 10.6.4 I have problems with the printing menu. That means that I can not print or convert to PDF or even generate a preview. When trying to print or obtain a preview, word freezes and I have to force quit. When trying to generate a pdf file it does, but the generated file is unreadable (it says is damaged) and word freezes again. I have played with the preferences, change user and it didn't help. I checked the Font Book and indeed they were many duplicated fonts. I sorted them out, but the problem persists. With very short files it works, but with longer ones word invariably crashes when trying to print or make a pdf. I took one long .doc file and I copied into my laptop (MacBook pro, 2008) that was running 10.6.3. I printed it and converted to pdf; no problems at all. Then, for the sake of knowledge, I updated the system to 10.4.6 and then I couldn't print or create a pdf with the very same file, so it seems that certainly the update is reponsible. So now I know cause but I can not print from any of my computers. To me convert to pdf is an important functionality so I would appreciate any help. I have some ideas: reinstall Office 2003? reinstall 10.6 from the disk (and not update)? use Time Machine to restore the system as it was before the update?
    I didn't detect problems in Office 2004, or any other programs in my macs. Unfortunately, I need Office 2003 for compatibility with some other software. Thanks in advance!

    I updated my MBP to 10.6.4 last night and today I was printing fine from Word 2008 (v12.2.5). I haven't used Office vX since Tiger so I cannot comment on its stability with the latest update. But I suggest that if you haven't done so already, try opening Disk Utility and running Repair Disk Permissions on the 10.6.4 partition. Once this has completed I also suggest that you reset the printing system, restart your Mac and then add your printer queues again.
    *How to Reset the Printing System*
    1. Open System Preferences > Print & Fax
    2. Move your mouse over the Printers list
    3. Hold down the Control button and click the mouse (or right click if supported).
    4. Click "Reset printing system ..."
    5. Restart your Mac

  • Printer or PDF problem?

    Hey all,
    I'm not expert at acrobat, so I thought I'd pose the questions to the experts! :) I own an Epson C86 and my PC is running Acrobat 7.0. Often, when I print PDF files, I end up receiving a page full of garbage characters.
    I've updated my printer drivers and the problem still occurs. Is this an issue with acrobat 7.0 that could be resolved with an upgrade to 9.0? Or is it the PDF file itself that is corrupt?
    Thanks,
    Peter

    Peter,
    It is not an Acrobat problem. However, are you really talking about
    Acrobat---this is a Reader forum---or are you talking about Reader?
    Mike

  • Print Adobe PDF problem: Device type related?

    Hi,
    we have developed a number of adobe print forms and we face a problem. The problem is that not all types of printers can directly print (without first preview the pdf) the form.
    We are using an output device with device type post2 (pdf1 works for some printers too) and access method F (Printing on Frontend computer) , but some printers work perfectly and others instead of the form, print out some postscript (or print) commands.
    We can as well change our printers and get some postscipt printers but the problem is that we want to give access and print the forms some of our partners who logon to our system via VPN and we cannot "force" them to buy new printers.
    Do you have any suggestion for this problem?
    Thanx in advance
    Kostas

    the ABAP Backend is sending a ADS-document in an XML format to the ADS Server (JAVA), the ADS returns a "Parts" for the forms. A "parts" consist of an PDF file and a print file (PostScript, PCL or ZPL), which are placed in the Global Directory. All the conversion should take place within the ADS Server.
    This "Parts" are then send as a PDF to the SAP Spooler.
    For the printing of this PDF document in the SAP Spool System one of the Device types (POST2, HPLJ4, HP9500, PDF1, AZPL203, AZPL300) is taken into account which send the actual PDF to a physical printer.
    What you see in SP01 are the "parts" of an ADS-document.
    Report RSPO0020 (for troubleshooting ADS printing issues) is displaying the "Parts", send back from ADS to the backend System
    The XDC file is the printer description in XML format, which the Adobe Document Services requires in order to create the "Parts" file. PDF documents can only be printed on printers of SAP device types for which there is an XDC file on the Adobe Document Server.  Report RSPO0022 can be used to manage the mapping between the printer device type and the XDC file
    Nesimi

  • OCR Renderable Text and Print to PDF Problems

    I have Adobe Acrobat version 8.1 on my PC laptop and have recently had trouble with OCR at work. When I try to run OCR I get a pop-up box telling me Acrobat cannot perform the function because of renderable text, however if I run OCR on the same file using my desktop PC (which has version 10 installed) I have no trouble. Also, I am no longer able to print items (such as a webpage) to PDF, and instead receive a pop-up box telling me something about the AdobePDF.dll file being missing or not functioning, and an error message when I double click the printer icon at the bottom right corner of my screen. I uninstalled Adobe Acrobat and then reinstalled it yesterday, however it did not fix either problem. Does anyone have any suggestions?
    Thanks!

    what windows version you are using? I think your problem might be due to corrupt operating system. Try reinstalling the OS and reinstall Acrobat soon after.
    Good luck!

  • Problem with Cross-tab report (RTF Template) null values, current-group()

    Hi, experts!
    I generate Cross-tab report using RTF Tamlpate and I have problem with grouping.
    My XML file have to be with one group only because I want to using dynamic regrouping inside the RTF template.
    Here is my data structure (XML file):(Look the images for details)
    http://img156.imageshack.us/img156/3997/xmlstructureay9.jpg
    =======================
    WITH GROUPS
    =======================
    Here is my RTF template:
    http://img151.imageshack.us/img151/2951/resultcrosstabbycustomehf8.jpg
    When I'm using grouping and I want to have for each group cross-tab report I have the following problem: (Look the images for details)
    http://img156.imageshack.us/img156/8786/resultcrosstabbycustomect9.jpg
    And this is my code I'm using inside the RTF template with groups:(Look the images for details)
    http://img156.imageshack.us/img156/4253/fieldbrowserxb7.jpg
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    =======================
    WITHOUT GROUPS
    =======================
    Here is my RTF template:
    http://img151.imageshack.us/img151/9545/resultcrosstabwithoutgrzg7.jpg
    When I generate one cross-tab there is no problem: (Look the images for details)
    http://img156.imageshack.us/img156/7030/resultcrosstabwithoutgrsr1.jpg
    This is my code I'm using inside the RTF template WITHOUT groups:(Look the images for details)
    http://img151.imageshack.us/img151/7030/fieldbrowserwithoutgrours8.jpg
    Can someone give me a hand to deal with this?
    Thank you!

    Pitson,
    better to ask this question in the BI Publisher Forum than here in the Oracle Reports Forum:
    BI Publisher
    Regards
    Rainer

  • Problem with Cross-tab report (RTF Template)

    Hi, experts!
    I generate Cross-tab report using RTF Tamlpate and I have problem with grouping.
    My XML file have to be with one group only because I want to using dynamic regrouping inside the RTF template.
    Here is my data structure (XML file):(Look the images for details)
    http://img156.imageshack.us/img156/3997/xmlstructureay9.jpg
    =======================
    WITH GROUPS
    =======================
    Here is my RTF template:
    http://img151.imageshack.us/img151/2951/resultcrosstabbycustomehf8.jpg
    When I'm using grouping and I want to have for each group cross-tab report I have the following problem: (Look the images for details)
    http://img156.imageshack.us/img156/8786/resultcrosstabbycustomect9.jpg
    And this is my code I'm using inside the RTF template with groups:(Look the images for details)
    http://img156.imageshack.us/img156/4253/fieldbrowserxb7.jpg
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    =======================
    WITHOUT GROUPS
    =======================
    Here is my RTF template:
    http://img151.imageshack.us/img151/9545/resultcrosstabwithoutgrzg7.jpg
    When I generate one cross-tab there is no problem: (Look the images for details)
    http://img156.imageshack.us/img156/7030/resultcrosstabwithoutgrsr1.jpg
    This is my code I'm using inside the RTF template WITHOUT groups:(Look the images for details)
    http://img151.imageshack.us/img151/7030/fieldbrowserwithoutgrours8.jpg
    Can someone give me a hand to deal with this?
    Thank you!

    Pitson,
    better to ask this question in the BI Publisher Forum than here in the Oracle Reports Forum:
    BI Publisher
    Regards
    Rainer

  • Cross Tab display problem in viewer.

    Post Author: SamCCO
    CA Forum: .NET
    I am having a problem with the CrystalReportViewer in Visual Studio 2005.  I have a report which contains a cross tab object that has the upper column labels rotated 90 degrees so that the column widths remain small.  When I view the report in the web viewer in VS 2005, the column labels are all horizontal and unreadable because they run into each other across the top of the cross tab.  Why won't the labels render in a 90 degree fashion?
    When you print the document from the viewer it shows the labels at 90 degrees.  Is this a bug in the report viewer?

    Update
    Hi Guys the report is working fine with cross tab . Its giving the above error when ever I click the Drill to link which takes to the another detail report.
    thanks in advance

  • Visual studio cross tab report design problem

    I have visual studio 2008 and its default crystal reports.
    I have created a cross tab report that has a lot of columns and only 3 rows.
    So the total number of pages that get printed are 34. (with 12 columns at the top of each page since the xtab is in report header).
    My client wants me to utilize the space left at the bottom of the page by having 12 columns at the top and 12 columns at the bottom of the page.
    I don't know how this can be achieved.
    If the problem is not clear  then let me know I'll try to explain more.
    I am on a deadline here so please help me.

    Hello,
    I suggest you also search Forums, there are multiple posting on how to add multiple Xtabs.
    This is a public area for all to use and not a case management system. If you are in a hurry I suggest you contact Support after purchasing a support incident and have a dedicated Engineer help you directly. You can get one from this link:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551
    Thank you
    Don
    Edited by: Don Williams on Nov 8, 2009 10:39 AM

Maybe you are looking for