Interactive Report Produces Corrupt PDF File

Hello.
I am using Apex 3.1.2 and have created an Interactive Report (IR). I then chose the "Download as PDF" option and chose the "Open" option. This caused an error about a corrupt PDF file.
I then saved the file to my Windows drive and attempted to open it using Wordpad. I saw the following error as the very first line in the file:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
I would much appreciate any suggestions as to what to do.
Thank you.
Elie

No Christina,
First I went under report attributes on Interactive reports under download
Download formats:
CSV and PDF
I checked both. CSV format is fine. PDF format is corrupt.
Next I then went in using the below:
http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm
It tells me I don't have a print server defined. I am trying to get the INLINE method to work.
I see in the ADMIN there is a print server configuration section though it is not totally clear as I would think that you would get the default print configuration as you would with any other PDF docuement.

Similar Messages

  • Scanning always produces invalid PDF files

    I recently purchased an HP OfficeJet 4636, and I notice that when scanning documents to PDF, the generated PDF files are always invalid. When opening these files in Acrobat Reader or Acrobat Pro, one gets the message "The file is damaged but is being repaired." Many other PDF tools can't open the files at all.
    I have installed the newest firmware update and restarted the printer, but the problem was not solved.
    I tried many different settings (e.g., resolution, paper size, scan from ADF, scan from Glass), but the problem is always the same. For the record, I am using the "Web scan" interface: http://XX.XX.XX.XX/#hId-pgWebScan.
    If there were an opportunity to attach a file to this bug report, I would attach an actual PDF file generated by this printer. I am happy to supply the file later, and I will refer to this specific file in my analysis of the bug below.
    I am familiar with Adobe's PDF definition:
    PDF Reference, sixth edition. Adobe Portable Document Format
    Version 1.7, November 2006. Abobe Systems Incorporated.
    I examined the PDF file in detail and it is quite clear what the bug is. Object 1 of the PDF file starts at byte offset 10, and it is a stream object containing the main image data in compressed JPEG format. The Length field for the stream object (at byte offset 168) is set to 1051875. However, the actual compressed stream data is only 64914 bytes long.
    This is incorrect, because the PDF Reference (Section 3.2.7, p.61, "Stream Extent") specifies that "If the stream has a filter, Length is the number of bytes of encoded data." (emphasis in original). In other words, the stream length should be set to 64914, which is the length of the JPEG encoded data, and not 1051875 (which is presumably the length of the raw unencoded image data).
    Moreover, four of the entries in the PDF xref table (at offset 65504) are incorrect:
    the byte offset for object 2 is given as 1052085 (actual location of object 2 is 65124);
    the byte offset for object 3 is given as 1052140 (actual location of object 3 is 65179);
    the byte offset for object 4 is given as 1052206 (actual location of object 4 is 65245);
    the byte offset for object 5 is given as 1052383 (actual location of object 5 is 65422).
    Also, the PDF startxref pointer (at offset 65674) points to 1052465, whereas the actual location of the xref table is byte offset 65504.
    Note that in all six cases, the error is exactly equal to the difference between the declared stream length (1051875) and the actual stream length (64914):
    1051875 - 64914 = 986961
    1052085 - 65124 = 986961
    1052140 - 65179 = 986961
    1052206 - 65245 = 986961
    1052383 - 65422 = 986961
    1052465 - 65504 = 986961
    It looks like this is a simple programming error in the printer's PDF generation software: all the offsets are computed as if the length of the embedded image stream were 1051875, whereas it is actually 64914.
    I scanned at different page sizes, resolutions, and so on. Each time, the actual byte offsets were slightly different (depending on the length of the encoded image stream), but the above relationships still hold in each case.
    Please fix this! It is not really acceptable for an HP scanner to produce broken PDF files. Thanks, -- Peter

    Hi @Selinger 
    One of the important things to point out is that the Webscan feature was designed for diagnostic purposes. The intended method of scanning is with HP software and the software build into the OS.
    For Mac users this includes Apple Preview, Image Capture, or scanning from the Print and Fax Window.
    For Windows users, non HP software includes, Windows Live Photo GAllery, Paint, and Windows Fax and Scan.
    Webscan is a great alternative, but it is very basic. Your best option it to install the HP software and us the HP Scan program.
    If there is a particular reason you are using Webscan and prefer to scan this way, the only thing I can really suggest is to try a different browser.
    Please let me know the outcome of a different Browser, what Browser you are currently using, and what happens when you scan with HP software. If you require further assistance, please also include your operating system. What operating system, and version do you have? Mac or Windows?
    I hope this helps.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Any way to repair corrupted pdf file?

    I created a pdf document on a my PC and it became corrupted with all these strange characters.
    Now when I open the document I get an error message that wasn't coming up before im hoping this msg will bring some light into the situation.
    If anyone can help me id be very thankful

    General Repair of Adobe Acrobat Reader corrupted .pdf file...
    1. Go to adobe official site, click the "Support" tab on the top of the screen, click on "Adobe Reader," and then select the "I can't open a PDF document" statement underneath "Troubleshooting." The Support tab is located near the top of the screen as a white word against a black backdrop. After clicking Support, you will see the phrase "Product Support Centers" on a new page in bold white font, under which is "Adobe Reader." The new page after clicking "Adobe Reader" will have the word "Troubleshooting" underneath the phrase "Adobe Reader and Help Support." Underneath "Troubleshooting" is "I can't open a PDF document."
    2. Follow the instructions on how to complete a general repair and installation of Adobe Acrobat Reader. To attempt the most basic PDF repair method, Open "Adobe Acrobat Reader" (select the program in your Start menu, which is on the bottom-left part of the screen), select "Help" from the gray tab menu at the top of Adobe Acrobat Reader, and click on "Repair Adobe Reader Installation." A meter should pop up indicating that your Adobe version is being checked for errors and is being linked back to the home Adobe official website just in case you need to download a new update of the program. If you need to download an updated version of the program, another pop-up will appear on your screen asking you if you want to update Adobe. Click "Yes."
    3. Reopen the PDF file. It should now be readable. If not, then try the next set of directions.
    4. If nothing helped, and you can't redowload .pdf file from source where it was, then use third party solution PDF On-line repair service https://onlinefilerepair.com/en/pdf-repair-online.html

  • Exporting a Report to a pdf file with drill down!

    Hi,
    I would like to export a Report to a pdf file.
    My Report includes drill down options. I require the exported pdf with drill down options.
    (Similar to Navigation options in a PDF file).
    I hope this makes sense.
    Please provide a better solution for me.
    If am not wrong, this facility is not available with Crystal Reports!!!
    Thanks,
    Ramesh.

    Hi Ramesh
    You can download the trial versions of the Crystal Report from the following link:
    https://websmp202.sap-ag.de/support (Please copy the link and paste it to your web browser).
    You can get the license by putting a request in the follwoing link:
    https://websmp202.sap-ag.de/support(Click on Request License key under Service Corner).
    Hope it helps.
    Regards
    Sourashree Ghosh

  • Is it possible to export the page activity report to a pdf file?

    Is it possible to export the page activity report to a pdf file?and is there any api or samples to be reference

    Do you mean audit history?   One method would be similar to the following sample that you could extend to create a PDF from the data returned:
    http://www.eyelock.net/blog/archives/533
    BUT the method used above via JCR Query is an implementation detail.  For future proofing, you should use the ReplicationStatus status = page.adaptTo(ReplicationStatus.class in your code to get the audit logs for a particular page, rather than a straight JCR query. (recommended by Jörg Hoh @ http://forums.adobe.com/message/5253760).

  • Officejet L7680, corrupt PDF file when scanning

    When scanning on my L7680, I have just started to have issues with a "General Error" message (on and off) and also a corrupt PDF file error.  What can I do to fix this? 
    HELP!!!!

    Hi 1193,
    Welcome to the HP Forums!
    I see that you cannot scan with your HP Officejet L7680, and I am happy to help you with this scanning issue!
    For further assistance, I will need to know the following:
    If you are using a Windows or Mac Operating System, and the version number. To find the exact version, visit this link. Whatsmyos.
    If the printer is connected, Wireless, Ethernet, or USB.
    If the power cable is plugged into a surge protector, or directly to the wall outlet. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well.
    If the printer is able to make copies by itself.
    If you are using Windows, please try our HP Print and Scan Doctor, and let me know what happens!
    Hope to hear from you, and have a great day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Pdf image recovery from corrupt pdf files

         the pdf file in which i kept my pictures gt corrupt. i used image extractor tools but for nothing. please help me. i am clueless what to do?

    How silly was I as I had been using PDF files since the day I learned to operate the computer system and didn’t know anything about them. Then one day I realized that why don’t I learn something about PDF to become a mater in it.
    As we know in these days, PDF files are most commonly used by worldwide. Belong to any part of the society, we as an individual or an organization use PDF files. Therefore it has become very essential element in computer service.
                                      “Generally a PDF or Portable Document Format file is a self-contained cross-platform document which appears same as in the form of soft copy or hard copy. PDF files are used by all of us as they contain the complete formatting of the original document, including fonts and images, PDF files are highly compressed, allowing complex information to be downloaded efficiently.”
    PDF is very popular due to its easiest form of transferring the files over and through the internet as it maintains the original formatting and secures the documents so nicely that other files’ formats don’t.
    Any PDF file contains text or images and sometimes both i.e. text and images. It can be used for office presentation, school assignment or personal collection. But sometimes we don’t need the text part which is inside our PDF file. Occasionally, we need only the pictures from our PDF files. That time we usually do this: copy the images or pictures from the PDF files and then paste them in other new PDF file. That process of copy and paste takes a long time and makes us tired. So that time we need an application which can easily extract all the images and pictures from our PDF files in very short point of time.
    But just think about this: How can you extract images and pictures from a PDF file which is corrupted. Because there is not any software application which can extract the images and pictures from a corrupt PDF file. Did I say no?
    Actually there is a tool which can easily extract the images and pictures from not only a normal PDF file but also from a corrupt PDF file. With the help of this tool anyone can easily extract the images and pictures from a single or multiple PDF files of all versions such as 1.3/1.4/1.5/1.6/1.7, from Adobe Acrobat 3.x to Adobe Acrobat X either it is normal or corrupted as it is very simple to use.  After extracting the images and pictures, it allows you to save them in different formats such as JPEG, BMP, PNG and GIF. It is one of the fastest extracting tools which does extraction process in no more time.
    i used this tool as it was refered earlier in this thread, and i am totally satisfy from this tool : PDF Image Extractor from SysInfoTools. What a utility excellent work done by experts.
    http://www.sysinfotools.com/recovery/pdf-image-extractor.html

  • Each page of Oracle Report Generates separate pdf file.

    I have a problem that i want that oracle report runs for one time and generates sepatate pdf files for each oracle report page.eg. if there are 8 page of report then 8 pdf files should generate (one pdf file for each page) but the condition is that the print job is set to NO and page range should not be given each time.

    What version of Reports are you using?
    If it's 10g then have a look at Report Bursting as this should enable you to send the report to multiple files based on a repeating group.
    Mark

  • How to repair corrupted PDF-File  ?

    Hi there !
    I am having problems with a couple of PDF-files which got damaged due to a hard drive break down / file recovery action.
    Neither can i open them ("...not supported") nor have several attempts in repairing them (by using Pdf-repair software) been successful.
    Interesting point about it is, that in terms of file characteristics everything seems to be OK (file size, file type etc. are recognized by the computer).
    Does anyone have an idea what could be done to get my PDF's back to a readable status ?
    Thanks     timrelo
    Ps: In case you got an idea about how to fix a corrupted pdf-file, i am willing to send you one of my files.
          To do so, please send an email to    [email protected]    and i will email you a file.

    Hi Bernd,
    unfortunately i don't have the root-file (indesign etc.) to re-create/export a new pdf.
    all i got is a couple of restored (from the crashed hard drive) pdf files which are indicated as being "corrupt/damaged".
    greets   tim

  • Convert Report Program to PDF file

    Hi All,
    I need example of converting Report program to PDF file.
    I am beginner so please give simple example to understand it properly ..
    Please write the description along with the code so that i can understand it...
    no long long programs please.
    Thanks.
    Raj

    Hi,
    report zabap_2_pdf.
    *-- Enhancements: only allow to be run with variant.  Then called
    *-- program will be transparent to users
    *-- TABLES
    tables:
      tsp01.
    *-- STRUCTURES
    data:
      mstr_print_parms like pri_params,
      mc_valid(1)      type c,
      mi_bytecount     type i,
      mi_length        type i,
      mi_rqident       like tsp01-rqident.
    *-- INTERNAL TABLES
    data:
      mtab_pdf    like tline occurs 0 with header line,
      mc_filename like rlgrap-filename.
    *-- SELECTION SCREEN
    parameters:
      p_repid like sy-repid, " Report to execute
      p_linsz like sy-linsz default 132, " Line size
      p_paart like sy-paart default 'X_65_132'.  " Paper Format
    start-of-selection.
    concatenate 'c:'
                p_repid
                '.pdf'
      into mc_filename.
    *-- Setup the Print Parmaters
      call function 'GET_PRINT_PARAMETERS'
       exporting
         authority= space
         copies   = '1'
         cover_page                   = space
         data_set = space
         department                   = space
         destination                  = space
         expiration                   = '1'
         immediately                  = space
         in_archive_parameters        = space
         in_parameters                = space
         layout   = space
         mode     = space
         new_list_id                  = 'X'
         no_dialog= 'X'
         user     = sy-uname
       importing
         out_parameters               = mstr_print_parms
         valid    = mc_valid
       exceptions
         archive_info_not_found       = 1
         invalid_print_params         = 2
         invalid_archive_params       = 3
         others   = 4.
    *-- Make sure that a printer destination has been set up
    *-- If this is not done the PDF function module ABENDS
      if mstr_print_parms-pdest = space.
        mstr_print_parms-pdest = 'LOCL'.
      endif.
    *-- Explicitly set line width, and output format so that
    *-- the PDF conversion comes out OK
      mstr_print_parms-linsz = p_linsz.
      mstr_print_parms-paart = p_paart.
      submit (p_repid) to sap-spool without spool dynpro
                       spool parameters mstr_print_parms
                       via selection-screen
                       and return.
    *-- Find out what the spool number is that was just created
      perform get_spool_number using sy-repid
                 sy-uname
        changing mi_rqident.
    *-- Convert Spool to PDF
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
        exporting
          src_spoolid= mi_rqident
          no_dialog  = space
          dst_device = mstr_print_parms-pdest
        importing
          pdf_bytecount                  = mi_bytecount
        tables
          pdf        = mtab_pdf
        exceptions
          err_no_abap_spooljob           = 1
          err_no_spooljob                = 2
          err_no_permission              = 3
          err_conv_not_possible          = 4
          err_bad_destdevice             = 5
          user_cancelled                 = 6
          err_spoolerror                 = 7
          err_temseerror                 = 8
          err_btcjob_open_failed         = 9
          err_btcjob_submit_failed       = 10
          err_btcjob_close_failed        = 11
          others     = 12.
    call function 'DOWNLOAD'
         exporting
              bin_filesize            = mi_bytecount
              filename                = mc_filename
              filetype                = 'BIN'
         importing
              act_filename            = mc_filename
         tables
              data_tab                = mtab_pdf.
    *       FORM get_spool_number *
    *       Get the most recent spool created by user/report              *
    *  -->  F_REPID               *
    *  -->  F_UNAME               *
    *  -->  F_RQIDENT             *
    form get_spool_number using f_repid
         f_uname
                    changing f_rqident.
      data:
        lc_rq2name like tsp01-rq2name.
      concatenate f_repid+0(8)
                  f_uname+0(3)
        into lc_rq2name separated by '_'.
      select * from tsp01 where  rq2name = lc_rq2name
      order by rqcretime descending.
        f_rqident = tsp01-rqident.
        exit.
      endselect.
      if sy-subrc ne 0.
        clear f_rqident.
      endif.
    endform." get_spool_number
    Regards
    Sudheer

  • PDF from Interactive Report is corrupt

    Just created an Interactive report under 3.1.1 of Apex
    Selected the PDF and CSV options.
    CSV is fine.
    When PDF is selected it appears to be created.
    However, when it is opened Adobe Acrobat gives and error (not support or damaged file type).

    No Christina,
    First I went under report attributes on Interactive reports under download
    Download formats:
    CSV and PDF
    I checked both. CSV format is fine. PDF format is corrupt.
    Next I then went in using the below:
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm
    It tells me I don't have a print server defined. I am trying to get the INLINE method to work.
    I see in the ADMIN there is a print server configuration section though it is not totally clear as I would think that you would get the default print configuration as you would with any other PDF docuement.

  • When trying to upload a report as a PDF file to my clubs website, I get the message 'should be a PDF file', while it is a PDF file. What is wrong?

    Writings, produced by me and some collegues are to be uploaded to some site. This writings are PDF files. When trying to upload an error message apperars, telling this file is NOT an PDF file. In Google Chrome and Opera there is no problem.

    Hi H.Barker,
    Zou is correct, LabVIEW supports all GIF bit depth images 24bit and below.
    Thank you for forwarding the GIF images, I also experienced the same error when trying to import the "logo.gif" image in LabVIEW however I was able to import the image when I opened it in Microsoft Paint and resaved it as a new GIF.
    This suggests there is a corruption in the original GIF file generated on the web, for example a "terminiating block" may be missing at the end of the GIF file. LabVIEW is not forgiving of GIF images that do not meet the GIF specification whereas other Windows editors may be, it seems that opening and resaving the GIF file in Microsoft Paint added the missing characters thus allowing for the file to be imported into LabVIEW.
    I have attached the working GIF image to this post.
    Hopefully this assists with your application H.Barker.
    Many Thanks
    Jamie S.
    Applications Engineer
    National Instruments
    Attachments:
    LOGO GIF (2).gif ‏34 KB

  • Is it possible that 1 RTF template with 1 xml file produces many PDF files

    Hello,
    We are using XML publisher with eBS.
    As part of it, we've got treatments that generate invoices.
    One treatment produces 1 big XML file with many invoices in it.
    Currently, this big XML file generates one big PDF file with all the invoices.
    I'd like to know if it's possible to keep the big XML file (with many invoices), and instead, generate 1 PDF file per invoice ?
    Basically we would like to split the big PDF file into small PDF, one PDF file per invoice .
    If it's possible, then, how can we do it ?
    I hope my explanation is clear.
    Thanks in advance for your help,
    Olivier

    Have you tried the BI publisher bursting feature?
    Take a look at this:
    http://www.strsoftware.com/wp-content/uploads/2011/09/Oracle-EBS-and-BI-Publisher-Report-Creation-Bursting-and-Delivery.pdf
    http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html
    Thanks,
    Bipuser

  • Interactive report download in PDF - getting an error message

    Hi,
    while using default feature to download interactive report in PDF format, I am getting following error:
    Adobe Reader could not open 'filename.pdf'because it is either not a supported file type or because the file as been damaged ( for example, it was sent as an email attachment and wasn't correctly decoded
    please advice
    Thanks

    Hi,
    Adobe Reader could not open 'filename.pdf'because it is either not a supported file type or because the file as been damaged ( for example, it was sent as an email attachment and wasn't correctly decodedWhen I get this error, I rename the downloaded PDF file to TXT to look into it. Usually there is a human-readable error message in there generated by the web server, Apex or any other party involved in its generation...
    But, as pointed out, have you set up Apex to generate PDFs?
    Luis

  • Saving a report as a PDF file - missing bitmaps

    Reports 6.0.8.11.3 - Oracle 8.0.5
    I have reports that include graphic logos displayed into REPEATING FRAMES - they are stored into long raw fields, and the format specified for the frames in the reports is OLE2.
    ALL IS OK AS LONG AS I PREVIEW AND PRINT THE REPORTS AS USUAL.
    If I specify FORMAT=PDF and try to save a PDF file copy of those reports, they are perfect, but the logos are missing.
    I tried to specify an IMAGE format for the repeating frames, but the problem persists and I get an "unsupported data type" error message.
    Is there a workaround? Sadly, I must use the PDF format, so I ask Your help to know whether there is a way to include raster graphics into a PDF generated by Oracle Reports.
    Thank You so much.

    Hi Cesare,
    From the on-line help, PDF Restrictions:
    "OLE objects are ignored when generating PDF or HTML, but space is reserved for these objects in the output."
    However, raster images are supported if they come from a file or the database. So, if you have actual image files, you can include them by reading them in from file. See the help topic on "image" for all the various options for including images in a report, dynamically or statically.
    regards,
    Stewart

Maybe you are looking for

  • Oracle APEX 4.0 no images

    Hello to everybody after i have run @apexins SYSAUX SYSAUX TEMP /i/ the Application will be opened but there are no images. What is wrong? Need i copy something? Where is the directory /i/ ? Regards, bladepit

  • Upgrade: Bad X Graphical Glitches

    So I did a full system upgrade, and after I rebooted and tried running X, nothing on the screen renders properly except for the wallpaper set by Nitrogen.  The cursor doesn't appear but sometimes flickers if I move the mouse around.  Windows show up

  • How to arrange a month in month wise

    I am creating a matrix report for monthwise receipts in different accounts. Matrix rowfield....account No, matrix column fields month,matrix cell fields amount....Report is coming Ok but i want January should come first then feb onwards but it is com

  • Without Wi-Fi, how can I connect?

    I am a teacher and I would like to use my Ipad Mini as an interactive whiteboard while presenting lessons. Unfortunately, we don't have Wi-Fi in our building. How can I connect to my desktop and control it with my Ipad Mini while walking around the r

  • What Should I See Entering Time Machine?

    I am using a Lacie 500 gig external drive to retain Time Machine backups. Everything appears to work properly. On entering Time Machine, I see only the contents of my 'Desktop' (except the Mac HD and Lacie HD) and nothing else. Is this as it should b