PDF Printing Issue - Customised Report Layout Error

Hi,
I am trying to get a PDF file output based on the customised RTF file created. I follow the following steps but I am facing an issue with that.
(i) Go to Shared Components > Report Queries.
(ii) Create a new Report query with more than one query.
(iii) Using the XML Data in the Report queries, create a Report Layout (RTF) file.
(iv) Navigate to shared components Report Layout and upload the RTF file.
(v) Once this is done, use the Report Layout created in the Report Queries. Select the Layout name from the Drop Down.
(vi) Click on TEST REPORT, this produces an error: Adobe Reader could not open the <file name> because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded )
Additional Info
The apex instance configured with Embbedded plsql, rdbms version is 11.1.0.7.0 and the BI publisher version 10.1.3.3.
ISSUE DESC
When I use mulitple Queries even after using Generic Report Layout I get the output for the first query alone in the PDF and the remaining Queries are ignored.
And when i use a user defined template, then even If i have a single report query I get the error.
To summarise, I am not able to use the customised Layouts.
I have reproduced the issue in apex.oracle.com
Please log in using,
WORKSPACE: demo_test
USER NAME: [email protected]
pwd: vidhya
After logging in please select the Application Builder.
In that select the Application named PDF.
Select the Shared components > Report Queries
Select the Report Query named test.
Click on the TEST REPORT button in the Source Queries Section.
You will get the error.
Now in the same page in the Report Query Attributes Section change the Report Layout to Use Generic Report Layout and then click on 'TEST REPORT', this will give the PDF file without errors.
The same report has been called from the PRINT REPORT button provided in the page 1 of the application.
This issue is really urgent and critical. Require your inputs/help.
Thanks,
Ramya

I' an APEX newbie and believe I am having the same or a similar problem. I am (for now) developing a system using the hosted Apex development system online. I have created a Report Query which works fine with the default layout. I downloaded the XML (tried both sample data and schema) into Word 2007 with the BI Publisher Template Builder. I used the table wizard to create a simple layout containing all columns with no customization at all. Saved as an RTF, uploaded to Apex as a Report Layout, associated it with the Report Query, clicked Test Report -- and I got nothing.
When the is a PDF, I get the same error you mention ( Adobe Reader could not open the <file name> because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded ). If I switch to an HTML file the out is just a blank screen.
If I switch back to generic report layout, it works fine. This suggests there is something wrong with the template, though it looks fine in Word with the sample data.
I've searched the forums and Google for the better part of a day. What am I missing?

Similar Messages

  • PDF Print issue in Report designer

    Hi All,
          I am using Report Designer for formatting group of reports. The issue I face in all is the that when I open the print version of the output in PDF, the words break, for eg: "Department of Biochemistry" will be displayed as "Department of bioc
    hemistry". I want to set up in such a way that if the whole word can't fit in one line, then the whole word should go to the next line and not break itself. I see that issue only in Print version whereas when I display the output, that issue doesnot come.
    Can anyone let me know what setting I need to do to fix this?
    Thanks a lot!!

    Pls refer to this link for help
    http://www.dynalivery.com/customersupport/faq/pdfprinting.html
    Please assign points if this was useful

  • Issue with Report Layout

    Hi All,
    I am working on a report which display employee present or absent in the month. I have to display dynamic column as days varies as per month .
    I am done with the report design/query part, using matrix report layout. Report executes and produce expected output too.
    Problem:
    As this report consists maximum 33 columns (1 = employ name + 31=days in the month + 1=Total days present) I change Page Layout to Landscape.
    When I select report output as "pdf" it generates report in Portrait Layout.
    Could you please tell me how to fix this issue?
    regards,
    RSD

    Title of this Forum: Forms
    Title of this Thread: Issue with Report Layout
    I can't point my finger on it, but something feels wrong. Or is it just me ;) ?
    Reports has its own forum dedicated to questions related to...reports:
    Reports
    You have a good chance that you get more answers over there. Also you did not mention any version numbers (reports version, database version,...) so please add these informations over there as well as the solution to your problem may depend on the version of the product you are using.
    good luck!
    cheers

  • Apex+Cocoon PDF Printing issue  on printing Large Reports

    Hello All,
    I m in a real hard situation with PDF printing in apex.. The application manages to push the report into PDF with lesser record reports but for Large reports, it says File corrupted when i open the downloaded PDF file..
    I use Apex+Coocoon and fop printing. I found from some forums as this issue was with Java Heap size being lesser and asked me to increase the size.. so i increased the size from 128MB to 1024MB and my server settings allows me to set 1550MB at the maximum..
    If i cross this limit the TOMCAT server stops from running...
    But all of the above was not much fruitful, since it throws again the same errors if report rows crosses 6000+ rows, can any one help me out, do i need to check any other settings to make my large reports printable in PDF.
    My application needs to print around *20000+ rows each report may have at least 20 columns* to get printed...
    Much awaited for your assistance
    Edited by: mohansanjee on Sep 8, 2010 3:58 AM
    Edited by: mohansanjee on Sep 8, 2010 3:59 AM
    Edited by: mohansanjee on Sep 8, 2010 4:00 AM

    Matt,
    On this note, it probably also makes sense to mention that with APEX 3.1 we introduce a PL/SQL API that gives you much broader control over what is generated how and the method it's made available to the client. You'll get the ability to retrieve the PDF in a BLOB directly on the server, store in your own tables for later download or send via email attachment. You'll also get the ability to write your own download process using after-submit page processes. And you can have combinations of your own XML with your own stylesheets, or combine report queries with customer stylesheets at runtime, or just simply retrieve the results of pre-defined report queries / report layouts in BLOBs.
    I'll talk about this much more on my Blog once 3.1 is out, and will provide whitepapers, how-to's etc
    Regards,
    Marc

  • Issue with Customised Report Layout for Freezing Panes in a Tabular Form

    Hi,
    I am quite new to Oracle APEX. Any help would be great.
    When I create a Report Template in the Shared components of my application, I do not find it listed in the Report Templates when i navigate to the report regions of my application and so I am not able to choose the customized Template for my reports. I am customizing in order to get scrollable reports in my application, followed the steps provided in the Thread, http://kr.forums.oracle.com/forums/thread.jspa?threadID=2180543&start=0&tstart=0 .
    I am now listing the Steps in followed to create a Report Layout,
    Navigate to Shared components > Templates > Report
    Create From Scratch and paste the code as mentioned in the Thread.
    Apply changes and save it. But when i Navigate to a report in the Application I do not find this Listed.
    Thanks,
    Ramya

    Yes you can make a process that reads the apex_application.g_fnn arrays and insert your row manually but that's a lot of work.
    For what you're doing it doesn't sound like the standard CRUD processes should have a problem with it. On your button-click if it's doing a redirect and not some kind of submit, it's possible then that the value isn't making it into session state and therefore not getting included in the DML. Are you sure it's getting into session state?

  • PDF printing issues [SOLVED]

    Ever since cups got a major upgrade I've had constant problems printing PDF-documents. I've searched and looked for solutions for more than a month. My guess was that I had messed something up by installing some kind of conflicting package that I couldn't track down. However since I made a fresh install the other day on a new SSD I could get a fresh start.
    Printer: HL-Brother 5370DW
    Cups and its dependencies: updated according to stable repositories with nothing added from AUR or modified packages
    Issues before on older install:
    - pdf printing, using common Linux tools, resultet in documents filled with thin grey lines
    - Acroread would work but then it doesn't have the same dependencies
    Issues on fresh install:
    - pdf printing works... but screw up font size and page layout (font size is for whatever reason bigger, marginals smaller, and paragraphs that don't fit are seen as thin grey lines as described earlier)
    - Acroread still works
    Debugging of cups don't give much since there's no obvious errors. Related to the printer the following can be noted:
    D [12/Jul/2012:12:45:05 +0200] [Job 9] Inserted workaround PostScript code for Brother printers
    D [12/Jul/2012:12:45:05 +0200] [Job 9] Page = 595x842; 12,12 to 583,830
    D [12/Jul/2012:12:45:05 +0200] [Job 9] slow_collate=0, slow_duplex=0, slow_order=0
    D [12/Jul/2012:12:45:05 +0200] [Job 9] Before copy_comments - %!PS-Adobe-3.0
    A haven't noticed any issues besides the PDF related ones. Maybe it's related to the same possible reason as some suggest, a conflict between poppler and cups filter. Debugging of cups gives this:
    D [12/Jul/2012:12:45:05 +0200] PID 7342 (/usr/lib/cups/filter/pstopdf) exited with no errors.
    Does anyone know a solution for Brother printers like mine? Is there a solution in the pipeline that I could test?
    Last edited by KimTjik (2012-08-23 18:09:01)

    A quick Google search gives me some interesting results, f.e.:
    * https://bugs.launchpad.net/ubuntu/+sour … ug/1021190
    * https://bugs.launchpad.net/ubuntu/+sour … bug/984082
    -> this insinuates that it might be an upstream-bug.
    I think I read somewhere that cups has changed from PDF to PS as the 'backend', and that means that a PDF that used to be fed directly to the printer, now has to be converted to PS. This same change has given me lots of headaches to print from libreoffice...

  • PDF Printing issue (passing static items)

    Hello experts,
    I am starting out with PDF printing from Apex and have a small (I hope) issue. I have downloaded a demo from Oracle site and all works OK.
    To test the ability to create my own RTF templates I have added an additional item on the page called P3_PAWEL
    Then I have added a field in the RTF template (by copying the existing field from elsewhere in the template and changing its property name)
    As a last step I have added the item in the Report Quearies page by clicking on Session State > and adding the P3_PAWEL item to the list.
    When I now print the report all still works OK but I do not see anything on the report where (in the template) I put my P3_PAWEL text field.
    Any ideas what else I am missing here?
    Regards,
    Pawel.

    What you are after is the Oracle XML Publisher Desktop.
    Goto :
    http://www.oracle.com/technology/software/products/publishing/index.html
    and download Oracle XML Publisher Desktop 5.6.2 for Microsoft Windows. It is 100Mb.
    It adds some buttons to MS Word.

  • V10.1.5 upgrade - Adobe PDF printer issues - font embedding

    Hi,
    Accepted the 10.1.5 (Acrobat Standard) upgrade.  Have started having "Adobe PDF" printer failures with MS Outlook 2010: Font embedding issues.
    Is there a setting somewhere I need to tweak to tell it to substitute with another font when it runs into licensing issues?
    I've re-installed CutePDF as a workaround, but would prefer to use the Adobe printer.
    save-as-filename.log:
    "%%[ ProductName: Distiller ]%%
    %%[ Error: LucidaSans cannot be embedded because of licensing restrictions. ]%%
    %%[ Font vendor (B&H) does not permit this font to be embedded in PDF. ]%%
    %%[ Error: invalidfont; OffendingCommand: xshow ]%%
    Stack:
    500
    /l
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%"
    Regards,
    JD

    In the settings file you should be able to set to continue even if the embed fails. In that case, I think you will simply have the PDF without the one font being embedded. You can also set to never embed it in the settings file (if you can find it on your system).

  • PDF Print Issue

    Hello ALL,
    I'm stuck on an Issue w/ PDF printing for columns which has '&' (ampersands) in the data. I'm trying to escape the Ampersands in the SQL Query using the APEX_UTIL. URL_ENCODE, but the report doesn't show-up right.
    I initially tried the replace with '%26amp;' , the PDF export works, but the IR report is messed-up. Can any of you guys shed some light on this ?
    Thanks
    Prashanth

    Which broswer and what OS? You might want to configure the browser to open pdfs in stand alone in AA rather than within the browser window, or v/v.

  • CS6 PDF Printing Issues

    For years I have succesfully used the "Adobe PDF" printer as a way to print PDF files from photoshop files.  i create a lot of architectural images consisting of layers of raster images and text that are typically 24 x36 @ 300 dpi.  I have used this process, rather than saving as a PDF, because printing resulted in the smallest file size.  I have used this method for years with CS3 and for the past few months with CS6.  Just recently I started getting the following error through a .log file:
    %%[ ProductName: Distiller ]%%
    %%[ Error: invalidfileaccess; OffendingCommand: imageDistiller; ErrorInfo: DictCRC --nostringval-- ]%%
    Stack:
    (                                                                                                         """""""!!!!!!!!!!!!!! !"##" !"    "!       !!     ###########$$$"!!    !!!!!!!                  ...)
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    Do other users use the Adobe PDF printer as a method for creating PDF files and has anyone else experienced this issue?  I have figured out a work-around, but I would prefer that the software continue to perform as it has in the past.
    Thanks!

    A quick Google search gives me some interesting results, f.e.:
    * https://bugs.launchpad.net/ubuntu/+sour … ug/1021190
    * https://bugs.launchpad.net/ubuntu/+sour … bug/984082
    -> this insinuates that it might be an upstream-bug.
    I think I read somewhere that cups has changed from PDF to PS as the 'backend', and that means that a PDF that used to be fed directly to the printer, now has to be converted to PS. This same change has given me lots of headaches to print from libreoffice...

  • ADS pdf printing issue

    Good Day;
    I have a problem with PDF printing. Everything was working fine . The problem started when  I scheduled the report RSPO1043 for spool Consistency check on every saturday. So from monday when I print PDF  I am getting an error /usr/sap/<SID>/SYS/global/spoolxxxxxx.PDA file doesnot exist. I can see only three files there except .pda . I assume the scheduled report delete the old archive files.
    Is there any link between .pda file and the report RSPO1041?
    Also my ADS_AGENT user get automatically locked frequently , What can be the reasons for the lock?
    Thanks in advance ..
    Regards
    Seethy Meerasahib

    Hi;
    The Problem get resolved by resetting the password on services>Destination> at Visual Admin. Eventhough the lock get removed the .PDA file still doent exist. Everything is fine.
    Regards
    seethy

  • Purchase Order Crystal Report Layout Error

    The stock Crystal Report Layout for Purchase Orders is giving me the following error:
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    Error in File POR20002 {b89f97ad-bf1f-447b-8bb4-b3d2e5219269}
    {3C375C81-7D37-475D-9BCB-1703CE533B65}.rpt
    Error in formula N_Decimal_Places:
    '// To get the length of decimals
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    I looked in the Crystal Reports Formula fields and could not find N_Decimal_Places.
    Has any one else had the problem with the PO layout that comes with Business One?  If so, how did you fix it?

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • Report print attributes - custom report layout

    Hi there,
    I've looked for this information in the web and in this forum without luck so far...
    We have here BI Publisher and I use the "Enable Report Printing" option in a traditional report in Apex 4.0.2. That works great.
    But instead of using the "Default Report Layout", I want to use a custom one based on a RTF file. However I have no idea what the data XML looks like in order to build a custom layout.
    To be clear: if you go to Shared Components > Report Queries, you have a Download XML Data option so you can build your report layout based on the XML structure. For instance, you can use <?for-each:ROWSET1_ROW?>, <?COLUMN_NAME?> etc
    Any ideas about what that XML structure is for a traditional report?
    Thanks
    Luis

    Found it: change temporarily the output format to XML and download the report. The XML structure is all there. Very helpful to know that all page items are included in the XML as well. It would be good to have this functionality detailed somewhere in the Apex documentation.
    What I still need to know is how to access the substitution strings below in my RTF (NOT XSL-FO) template:
    Select Default Report Layout to use the built-in generic report layout.
    To use a custom generic report layout, select it from the list.
    You can use the following substitution strings when building custom XSL-FO report layouts:
    #PAGE_HEADER#
    #PAGE_HEADERFONT_COLOR#
    #PAGE_HEADER_FONT_FAMILY#
    ...Any ideas?

  • Printing issue of report output list display

    Dear All,
    I need to print the report output display list. So, for this I have used the following code. But it's not printing.
    Will you please check the below code and kindly let me where should I change/modify in the code.
    START-OF-SELECTION.
      SET PF-STATUS 'ZGUI_STATUS1'.
    END-OF-SELECTION.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'PRNT'.
         DATA: l_params TYPE pri_params,
               l_valid TYPE c,
               l_arc_params TYPE arc_params.
         CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING
             destination            = l_v_usr01-spld
             copies                 = 1
             list_name              = 'TEST'
             list_text              = 'Test NEW-PAGE PRINT ON'
             immediately            = 'X'
             line_size              = 220
             release                = 'X'
             mode                   = 'CURRENT'
             no_dialog              = 'X'
           IMPORTING
             out_archive_parameters = l_arc_params
             out_parameters         = l_params
             valid                  = l_valid
           EXCEPTIONS
             archive_info_not_found = 1
             invalid_print_params   = 2
             invalid_archive_params = 3
             OTHERS                 = 4.
    NEW-PAGE PRINT ON PARAMETERS l_params ARCHIVE PARAMETERS
                              l_arc_params NO DIALOG.
          PERFORM display_data.
          NEW-PAGE PRINT OFF.
      ENDCASE.
    Many Thanks,
    Ranjan

    Dear Amit,
    The font size is not increasing, in-fact, if I use the code like the below, it's not even printing, I am checking different ways,
    DATA: lay   TYPE pri_params-paart,
          lines TYPE pri_params-linct,
          rows  TYPE pri_params-linsz.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'PRNT'.
          lay = 'X_60_85'.
          lines = 60.
          rows  = 85.
          DATA: l_params TYPE pri_params,
                l_valid TYPE c,
                l_arc_params TYPE arc_params.
          CALL FUNCTION 'GET_PRINT_PARAMETERS'
            EXPORTING
             destination            = l_v_usr01-spld
              destination            = 'LPIN'
              copies                 = 1
              list_name              = 'TEST'
              list_text              = 'Test NEW-PAGE PRINT ON'
              immediately            = 'X'
              layout                 = lay
              line_count             = lines
              line_size              = rows
             line_size              = 220
              release                = 'X'
              mode                   = 'CURRENT'
              no_dialog              = 'X'
            IMPORTING
             out_archive_parameters = l_arc_params
              out_parameters         = l_params
              valid                  = l_valid
            EXCEPTIONS
              archive_info_not_found = 1
              invalid_print_params   = 2
              invalid_archive_params = 3
              OTHERS                 = 4.
          NEW-PAGE PRINT ON   PARAMETERS l_params NO DIALOG.
          PERFORM display_data.
          NEW-PAGE PRINT OFF.
      ENDCASE.
    Kindly let me know if you have some new answer?
    Kind Regards,
    Ranjan

  • Acrobat Pro 9 pdf Printer issue

    Hello!  Hope everyone is having a great day!
    I have a small issue with the 9.0 printer.  It is part of my print cue, can print to it, the print dialogue says that the job is completed, but the file never shows up. 
    I am running a MacBook with OSX 10.5.8 and have Acrobat 9 Pro version 9.1.3.
    Any ideas would be helpful.  My apologies if I did not provide enough information to do so!  Cheers.
    Jeremy

    If you have X.5.8.  look here:
    I've blacked out my computer identity. This is based on on my OSX.4.11 Setup.
    In reading up on Snow Leopard I 've read in MacWorld and what was Mac Addict that lots of things have been changed moved around or renamed in Snow Leopard. So Your milage may vary.
    As for Getting back the PDF Printer in Snow Leopard. Because of the new Security system in Snow Leopard, as  the saying goes it ain't going to happen.
    (Please note information is given by an Experienced User of Acrobat. I am not an employee of Adobe.)

Maybe you are looking for

  • Can I set up a Content Filter that is Time/Date stamp dependent?

    My company would like to add an additional disclaimer text during Holidays where the company is closed.  It will say something like: "In observance of the 'XYZ' holiday, our offices will be closing at 3:00 PM on Friday, December........ and will reop

  • Missing words and lines in PDF

    Platform/tools: Windows XP Pro SP 2 or later FrameMaker 7.2 Adobe Acrobat 8 Professional (part of CS3) Adobe PDF print driver setting: High Quality Print, black and white (rather than color) When I create a PDF from FrameMaker, my process is to print

  • [SOLVED]Creative Zen V - libmtp regular user cant access

    Anyone know how to configure libmtp so that a regular user (not root) can access the device? I have searched the forum/wiki but didnt find anything usefull. When I run mtp-detect as root it prints alot of info about the device, so I guess its working

  • How to use a Removeable Pen Drive in Solaris 10( x86 )??

    Hi every body, I have installed Sun solaris 10 in my x86 intel P4 PC with Windows XP (Dual boot). I have only a CD-ROM and Floppy. Its really a pain for me to install any downloaded product or patches. Coz i need to copy them in CDs.It costs bucks. 1

  • How to watermark or sign a photo

    how to watermark or sign a photo