Error : (does not begin with '%PDF-'. ) when print report in pdf

Hi all,
http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm
using the example in the above link,
I have created a report and tried to print in pdf format,
But
does not begin with '%PDF-'. this error is appearing when the adobe reader is opening.
Could anyone help me to make out the reason for this error?
bye
srikavi

Srikavi,
Which rendering engine are you using? BI Publisher? Apache FOP? Did you follow the steps outlined here when you configured PDF printing:
http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
Regards,
Marc

Similar Messages

  • PO PDF Error - File does not Begin with '%PDF-'

    Hi,
    I am working on Implementing PO PDF with XML data and RTF Template. I have created a new template in XML Publisher and followed the following set up steps
    Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
    setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your new template.
    When I view the document from PO Summary > inquire > View Document, I get an adobe reader error
    'File does not begin with '%PDF-', how ever when I preview it from the template definition, it opens fine.
    I tried running PO Output for communication with my custom template but I don't see the parameter 'Purchase Order Layout'. The last parameter in the list is 'Include Blanket'.
    Am I missing any set up steps? However when I use the standard Purchase Order Layout in Document Types set up, the Inquire > View Document created a PDF output.
    Any help is greatly appreciated.
    Thanks,
    Sharmila

    I encountered same error in BPA Invoice Print. I remove a MLS function from the program definition and this error disappeared. Have not fully investigated but maybe this will help. Thanks.

  • Error with a PDF document in a BSP App: "File does not begin with '%PDF-'"

    Hi All,
    I have the following piece of in the layout of a BSP Application in our system.
    <%
    DATA: LV_PDFSIZE TYPE I,
                LW_PDF     TYPE TLINE,
                LV_XDATA   TYPE XSTRING.
    data: LT_PDF type ZGTIS_TAB_TLINE,
          lv_id type zgtis_http_id,
          filename type STRING.
    lv_id = session_id.
    import lt_pdf to lt_pdf from
           database zgtis_http_indx(in) id lv_id.
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'Content-Type'
        VALUE = 'application/pdf').
    if w_printall ne 'X'.
    CONCATENATE 'display; filename="invoice_' BIL_NUMBER '.pdf"'  INTO filename.
    else.
    CONCATENATE 'display; filename="invoice_' 'ALL' '.pdf"'  INTO filename.
    endif.
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'Content-Disposition'
        VALUE = filename ).
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'pragma'
        VALUE = 'no-store').
    RUNTIME->SERVER->RESPONSE->SET_HEADER_FIELD(
        NAME  = 'cache-control'
        VALUE = 'no-store').
    *     Convert to XSTRING
    FIELD-SYMBOLS <P> TYPE ANY.
    LOOP AT LT_PDF INTO LW_PDF.
      ASSIGN LW_PDF TO <P> CASTING TYPE X.
      CONCATENATE LV_XDATA <P> INTO LV_XDATA
        IN BYTE MODE.
    ENDLOOP.
    *     Set the response data
    RUNTIME->SERVER->RESPONSE->SET_DATA(
        DATA   = LV_XDATA ).
    %>
    This piece of code works fine when 'If w_printall ne 'X'.' condition is succesfull and I can see the PDF but when w_printall = 'X' I get the above error on a popup box, the error is "File does not begin with '%PDF-'" and I cant see the PDF.
    Does anyone have any suggestions!
    Kindly help.
    Regards,
    Karthik

    Check this thread
    it is a Big Discussion on that.
    In first page and second page you can see solutions.
    /thread/747643 [original link is broken]
    one with patch and other with setting in Adobe.
    Regards
    Vijay babu Dudla

  • File does not begin with '%Pdf-' in Persona to take a Print

    Dear all,
    What would be the reason for the error " File does not begin with '%Pdf-' when its trying to open in adobe reader in Persona.
    Does persona support any KMC content management ? please resolve this error.
    Find the attached screenshot.
    And we are using persona version as :
    Component
    Release
    SP-Level
    Support Package
    PERSOS
    100
    2
    SAPK-10002INPERSOS
    Cheers, Vasanth S

    hi vasanth,
    This issue might not be related to personas.
    Is this happening with all the PDFs?
    Also, i would recommend you to upgrade your personas SP to latest.
    New features in Personas 2.0 SP04; also Personas 1.0 SP04
    Sushant

  • Error from reports from ZAM(Graph or PDF) - File does not begin with '%PDF-'.

    I just noticed today that any Graph or PDF report I try to view I get the
    following error - Error from reports from ZAM - File does not begin with
    '%PDF-'. I tried to just save the file and then open it, but get the same
    error. I can open other pdf files I have downloaded from other sites ok.
    Anyone have any idea? I haven't done anything to that server that I am
    aware of in quite a while.
    Thanks
    Bill

    I took a closer look at the files it downloaded, opened them with notepad,
    haer is what it says:
    XSL Transform or subsequent processing failedThe document has no pages.
    "Bill" <[email protected]> wrote in message
    news:2bBtk.2164$[email protected]..
    >I just noticed today that any Graph or PDF report I try to view I get the
    >following error - Error from reports from ZAM - File does not begin with
    >'%PDF-'. I tried to just save the file and then open it, but get the same
    >error. I can open other pdf files I have downloaded from other sites ok.
    >Anyone have any idea? I haven't done anything to that server that I am
    >aware of in quite a while.
    >
    > Thanks
    >
    > Bill
    >

  • Error:  File does not begin with '

    After changing two javascript "else if" statements to "if" in an Adobe LiveCycle v8 form, I received errors upon saving. Now the file seems to be corrupt because when I attempt to open it I get an error stating "File does not begin with '". Does anyone know what could be causing this AND MORE IMPORTANTLY if there is a way to salvage my form? Please help!

    Hi VetSrini,
    Thanks for the update. I was able to figure out what was wrong.
    Now there is another problem. When i try "View Output", the excel file is shown and the following options are also shown:
    1. As an XML List
    2. As a read-only workbook
    3. Use the XML Source Task Pane
    When I try the first option, I get the following error:
    An Invalid Character was found in text content
    When I try the third option, I get the following error:
    Cannot load the specified XML or schema source.
    when i press the details button, it gives me the following detailed error:
    An Invalid Character was found in text content
    When I try the second option, i get the same error, but with some xml tags
    Can anyone please help me and tell me why i am getting these errors.
    Thanks in Advance,
    Arun

  • TS1292 My code is all letters and does not begin with X. Does this mean it is invalid ?

    My code for the iTunes gift card says invalid. The 16 digit code is only letters and does not begin with x. What do I do ?

    Where exactly is it getting stuck? When you turn on highlight execution what is it dong?
    From looking at the top level VI though I bet your problem is that you are using the equals function to stop the loops. Your I32 gets type cast as a dbl, and the chance that they are equal is very slim.
    The reason is that doing an equal compare of doubles is never a good idea. The double may show up in your indicator as 1 but if you increase the digits of precision on that control you would see that is was actually something like 1.0000000000000001. So your math may lead to 1.000000000001 and the conversion of the I32 to dbl may lead to 1, therefore they are not equal and the loops will not finish.
    Take a look at this KB Comparing Floating Points Does Not Seem to be Working Properly.
    and this one: Why Do My Floating Point Numbers Lose Precision?

  • Macbook Pro 2011 DVI HDMI out does not work with TV when the power cable is connected

    My Macbook Pro (Early 2011) DVI HDMI out does not work with TV when the power cable is connected. If get the blue screen and then can use the macbook but nothing is displayed on the TV. If i go into display I can see that there are two screens but nothing displayed on the TV. If i take the power cable out at this point the TV shows the second desktop as expected. If i then reconnect the cable, the screen flickers, as though it is being affected by the power cable, and the screen goes blank on the TV. Only if i remove the DVI cable do i get the blue screen again. If i remove the power cable and reconnect it will do it every single time, so i cannot see it being a TV issue or a minor glitch.
    I have had this working previously but at the minute it seems to not be playing ball....any thoughts
    Thanks
    Dan

    BUMP
    Any ideas?

  • On certain sites, some lines have the lower half missing. Changing the font or its size does not help. The error does not appear with Iceape or Chromium.

    On some sites certain lines appear with the bottom half missing, as if obliterated. Changing the font or its size does not help. The error does not appear with Iceape or Chromium.

    I looks that the whole line doesn't fit in the container, so the bottom part is cut off. The usual cause is that a font is used that takes more vertical space, so any increase or changes from the font in what the website prescribes can cause this issue. I've seen web pages that were even affected by changing the minimum font size from none to 1 (!). If you do not have the font installed that the website specifies then Firefox will fallback to another (default) font that may have different dimensions.

  • Help me, I have a problem with font when export report to PDF?

    Hi everyone! Help me
    I have a problem with font when export report to PDF
    My report uses template .rtf with font Times New Roman (Unicode), language is VietNamese.
    when desige template no problem, error only happen when view report by PDF.
    Edited by: user10236405 on Oct 15, 2008 11:23 PM

    give it time to boot. the time depends on yr memory size n data. soon a process bar will appear indicating the boot process. if still this doesnt work. try formating the phone. but this ways u lose all data on the phone (unless u backed it). relax! the data on the memory card is safe.

  • Deskjet D4260 does not work with an ethernet printer server

    I am attempting to attach a Deskjet D4260 printer to a home ethernet network using a StarTech PM1115U printer server. The printer has been connected to the network through a desktop computer, and worked perfectly.  The printer server will also work with a different printer (Canon i550).  However, it doesn't work with the D4260.  The server's port will not go online, and it does not appear to recognize the printer.
    This occurs regardless of OS (Windows XP, VIsta, 7, and 8 preview all don't  work).
    StarTech says there is no incompatibility issue with the server and host-based LIDL printers in general or the D4260 in particular.  Does anyone know of any issues, or how to get the D4260 to work with this printer server?

    Yes, that is how the instructions with the server tell you to install it.  The server is connected to the network via ethernet cable and the printer to the server via USB.  The server's instructions (as well as those given to me from StarTech support) say to install the printer as a local printer using a TCP/IP port using the server's IP address, which must be on the same subnet as the computer you are installing the printer on.  All this I have done.  There are a number of settings for the port.  It can be raw or LPR and there are other options.  I have attached it as instructed, and I have tried both raw and LPR, and tried various other settings.  I was able to install a Canon i550 on the server with no difficulties.  I was able to print to the printer, and the server, when I accessed it using either StarTech's server management software or a browser pointed to the IP address, showed the server's port on line and identified correctly the printer attached to it.  When I attach the D4260, however, it shows the port off line and does not identify the printer.  I got this server as a replacement for one that I bought without knowing that, according to its own documentation, it does not work with LIDL orinters.   StarTech did not have any such warning, and the StarTech support people said that there should be no problem with a LIDL printer.  They told me to consult HP support (to which this forum is the closest thing I can find).  It looks to me as if either there is something about the printer that needs to be reset, or the server does not work with this printer.  So far changing the driver does something, but not enough to print.

  • I have updated my macbook air to OS X Yosemite. Now my computer does not connect with my HP printer 1300. What do I need to do to resolve this problem?

    Hello,
    I have recently updated my mac book air to OS X Yosemite. Now my mac book air does not connect with my HP Laserjet 1300 printer. Can you please tell me what to do to solve this problem?
    Thank you very much.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post other kinds of diagnostic report — they're very long and not helpful.

  • Airport does not communicate with my wireless printer

    Hello all,
    I can really use some help here.  We have a Canon wireless printer and an Airport Extreme.  The printer was working wirelessly until recently and I called Canon for tech support.  I was on the phone with Canon for an hour.  We have trouble-shot the printer every which way.  They are now telling me that the airport is not communicating with my wireless printer.  Is there someone that can help me check this?

    Earlier G5s had an external T antenna I believe, besides the antenna wire inside...
    http://support.apple.com/kb/TA27092
    http://www.macproonline.com/Airport-Extreme-antenna-external-G5-Tower/PowerMac-G 5/PowerMac-G5-Parts/G5-June-2004-Dual-20-Dual-18-PowerMacs-Replacement-Parts-p56 36587.html
    One of these may be a better/cheaper option...
    http://eshop.macsales.com/item/Newer%20Technology/MXP2802GU2/
    Message was edited by: BDAqua

  • File does not begin with '%pdf' error with adobe reader 10.1.5 onwards

      In our web application we are using activePDF toolkit (3rd party component) to fill up carrier forms on the fly which are PDF files.
    The output file processed by the above library works fine when opened with adobe reader 8, 9 and10 on end user’s browser (IE); however, it gives below error when opening with adobe reader 11.
    Till now, we have tried different settings at IIS level, Internet explorer e.t.c. suggested on different internet posts. However, we are still facing the problem.
    While analyzing this we have come across following link
    http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html
    According to this adobe 10.1.5 onward file should only start with "%pdf". If file start with other than this we get file corrupted message.
    Before we can communicate this message to client we want to confirm this for experts. Please let me know my assumption is right?

    Rahti - i'm having the same issue but I not familiar with the steps outlined in the Adobe link below
    http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html
    Would you be able to help with how I can navigate to this on my PC to correct it for me.
    Thanks.

  • Page does not fit on paper when printed directly to printer

    Hi experts,
    I have developed a form in transaction SFP, using A4 as the paper format for the master pages. If I print to spool and preview and print my form from spool using transaction SP01, the form prints nicely. If I print directly to printer using the generated function module for the form (setting parameter REQIMM to true), the page does not fit on the paper (it is cropped), and also I do not get duplex printing.
    Why do I get different results when printing directly to printer as opposed to printing to spool first? How can I ensure that the form is printed correctly when printing directly to printer?
    thanks!
    Frank

    Did you check the window settings of the Firefox desktop shortcut to see how Firefox opens?
    Did you try to delete the current Firefox desktop shortcut and create a new shortcut?
    Use Restore or Maximize in the right-click context menu of the Taskbar icon to set focus to the Firefox application if you do not see the Firefox window.
    Open the system menu of that Firefox window via Alt+Space and see if you can move and resize that window (use the keyboard cursor keys).<br />
    If that works then first close all other open Firefox windows and then close Firefox via "File > Exit/Quit" to save that setting.

Maybe you are looking for

  • Can't add books to library

    Whenever I try to add ebook (either bought (i.e. link) or from my computer) into ADE i get the error message that "ADE 4.0 has stopped working". I have tried it several times, restarted the Computer, and reinstalled the program, but it still does not

  • [SOLVED] How to use GPT GUIDs for referencing partitions in /dev?

    Hi all,          I wanted to know whether it is possible to use Unique Partition GUID of a GPT partition to setup /dev/disk/by-part-uuid (something like that) and using that path in the bootloader config's 'root= ' kernel parameter. It is possible to

  • How to get Adobe form element

    Hi Guru, How can i get adobe element Ex: I have one dropdwon List with Name : List1. I want get the value of <b>List1</b>. Like-----weContext.currentDataElemet.getMaterial(); like that i need to get <b>List1</b> value. this element is not bind.  dyna

  • Region handles in piano roll-where are they?

    Hey! In Logic 9's piano roll, there were handles on either end of the regions so you could drag the region ends to make them longer or shorter. I see no handles to do that in Logic Pro X.  Where are they? In Logic Pro X the only way I can see to leng

  • WD Disk started to self eject everytime

    Hi guys. I´m Having issues with my  2010 13" Macbook Pro 7,1. I made the OWC Data Doubler mod almost 1.5 years ago. Since the mod everything has been running butterly smooth. Disks: OS : OWC ELECTRA 6g 128Gb SSD MEDIA: WD Scorpio Black 750Gb 7200RPM