Problem with raw PDF-source in AIR

Hi Guys,
I have a very annoying issue, that I have not been able to solve yet. I am trying to download a PDF-file from the web. The file was created by OpenOffice.org using the excellent JODConverter web-service. I have working Ruby code that allows me to download the file and save it to disk. When I open the file it works just as intended.
The issue comes from trying to re-implement this feature in ActionScript for use in my AIR application. There are some FlateDecode blocks in the PDF-file, and those blocks appear to be damaged when they pass through ActionScript. I try to save the PDF-file using a FileStream object, but only the meta-data is saved correctly. All the contents of the file (which is in the FlateDecode blocks) is not displayed.
I am no expert on character encoding, but this seems to be a character encoding issue. Both Ruby and ActionScript consider the source of the PDF-file to be a string. They also both seem to agree that it is a UTF-8 encoded string. However, the strings representing the FlateDecode blocks look different in ActionScript than they do in Ruby. Any help on this issue will be greatly appreciated.

Each user would have to set each browser individually.
Note: I don't think it's possible to set the default PDF viewer with code for every user who visits the site.
See the following link to enable Adobe Reader as the default PDF viewer in different browsers:
http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html
Note: Not all PDF viewer browser plug-ins support PDF submissions, and most 3rd party viewers may not support forms created with LiveCycle or forms with Extended Reader Rights enabled.

Similar Messages

  • Problem with preview PDF files on Windows 7 32bit

    Hello,
    in my office I have a problem with preview PDF files on my computers. The files are allright, but if I select a file and click on preview mode after ~ 10sec operation system write something "Preview this file is corrupt for PDF Preview Handler wrong". On other 64bit computers with same programs the preview is work. I try uninstall all Adobe soft (Reader, Flash), clean all Adobe data from folders in root and in register, but it is not solve this problem. On Microsoft forums wrote me, that the problem is probably with AR plugin.
    So, can someone help me?
    Config PC:
    Windows 7 32/64bit Pro
    Intel i3, 4GB
    Adobe Reader 11.0.5
    Adobe Flash Player 15 ActiveX
    Adobe Flash Player 15 plugin
    Preview Handler Surrogate Host ver.: 6.1.7601.17514
    Thank you for help.

    I think I figured it out after reading other forums. Thanks!

  • Problem with printing pdf file

    hello,
    lately i have problem with printing pdf file:
    i click on the print button and the respod is very slow
    it takes more than a minute till the print window apears.
    i tryied to install version X but it's the same, the problem exist only when printing via adobe reader,
    other programs i'd working much faster.
    please advice,
    thank you

    No, it is not set to overprint. Also, I have to add that the printing results were not consistent. Sometimes it covered and sometimes it did not.

  • I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server wher

    I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server where the PDFs open fine) I get an error 'There was an error processing a page. Invalid function resource' The other one just doesn't open at all. Can anyone help with this please?

    Hello,
    Are the pdf linked correctly in the website? Is this a public website? If yes, please post the link here.
    ~Deepak

  • Problem with downloading PDFs

    I have just downloaded a new version of Adobe Reader X 10.1.2 but can't download PDFs such as my electricity bill and t.v. licence

    Thanks for your help.  I’ve now sorted it via help from the site where I was trying to download the PDF from.  The following action solved the problem:
    ·        Click on 'Tools' then 'Internet Option'
    ·        Click 'Advanced'
    ·        Scroll down to Security
    ·        Uncheck 'Do Not Save Encrypted Pages to Disk'
    ·        Click 'Apply'
    ·        Click 'OK'
    Re: problem with downloading PDFs
    created by MichaelKazlow <http://forums.adobe.com/people/MichaelKazlow>  in Adobe Reader - View the full discussion <http://forums.adobe.com/message/4228358#4228358

  • Problem with iOS 8 in ipad air since update, "blue screen with restart"

    Problem with iOS 8 in ipad air since update, "blue screen with restart"

    I have exactly the same problem, i´m tired of looking for a solution but even here there is no answer... i don't know what else do. the blue screen and restart is more annoying every time i use it.

  • Problems with some PDF files

    Hi,
    I have problems with some PDF files. After clicking on link to the file Safari shows me insted of normal document (which is working on Windows) hashes, numbers etc like it was a problem with coding or something. First I was using Preview, I though that maybe installing Acrobat Reader with plugins will solve the problem, but ofcourse it didn't. Did somebody has this same problem?

    Back up all data.
    Please triple-click anywhere in the line below on this page to select it:
    defaults delete -app Safari WebKitOmitPDFSupport
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Quit Safari. Launch the built-in Terminal 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 Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    Wait for a new line ending in a dollar sign (“$”) to appear below what you entered. You can then quit Terminal. Test.

  • Problem with Copying PDFs to any application other than iBooks

    OK here is my problem,
    I used to be able to associated PDFs with other PDF readers (via iTunes > APPS > File Sharing). I just dragged and dropped and all was right in my world. However, all of a sudden this stopped working. I have no clue as to what caused this problem to arise. The only thing I remember 'doing' was adding some new apps.
    I cannot use the PDFs through iBook, well I can but it doesn't meet my needs (highlighting, copying and pasting and adding notes). So instead I want to use PDF HD. I used to have on PDF Masker and Good Reader, but neither does what I want.
    Suggestions?

    Hello Sin K,
    so proxy and Tomcat are located on different machines as well? Is the proxy able to commuicate with the Tomcat on the configured internal ports and is the proxy able to lookup the hostname you configured for the Tomcat?
    For the connector, the proxyName and proxyPort should be the parameters the client uses to call APEX. So if your clients should call via http://proxyserver:8080/testsin/apex the settings would be
    proxyName=proxyserver
    proxyPort=8080Reason for this is that applications (e.g. the APEX Listener) generate there URL references with these parameters.
    But does your proxy actually serve on port 8080? And is that port accessible by clients? Do clients accept cookies from that server?
    In my case, there is only one 302 which redirects to http://host:port/apex/f?p=4500:1000:sessionid which is correct.
    If you look into your first post request in firebug, what's in the request header?
    -Udo

  • Problem with printing pdf

    IF POSSIBLE REPLY IN ITALIAN
    HI, i ve got a big problem.
    i 've to create an A0 page in vectorial pdf, which has connected different files: .psd files for the images with transparency, and vectorial .pdf for the drawings from cad.
    When i ve created my page, i export that in print pdf high quality.
    1° problem: sometimes it fails and tells me there s not enough memory
    2° problem: when print pdf is created, the plotter can t load it to print, it stops at 40% loading.
    there s a way to make an easy vectorial print pdf?
    using vectorial eps instead of vectorial pdf?
    using transparent tiff instead of psd?
    THANKS

    thank you for the fast reply Peter. Im working on an achitecture poster for my last exam, and it contains vector graphics sometimes overlayed on raster images.
    i don t like to use illustrator too, im using 3 programs already to create this poster. do u think .ai are easier than eps???
    i ve tryed to save new pdf without layers, but it didn t work. then i ve tryed to change pdf with eps on indesign, and now the print pdf saving is really faster. im gonna try to plot it and then i ll tell u what s changed.
    OH most important, i was drag n dropping pdf into indesign, and i read it s really wrong! so now i import vector eps to indesign ...
    Plot test...
    TY

  • Problem with Creation of Source module for MS Access

    I am having a problem in creating a source module connected with an "MS Access" file in OWB 9i using the heterogeneous services. I have created a DSN to an access file (.mdb) and created the HS in Oracle (modified the tsnames.ora and listener.ora files with required details). Created a Database link using this service and it's working fine in SQL PLUS, but I am unable to create a Source module in OWB 9i using this db link, since OWB 9i need a schema name for db link. In MS access it's not possible to have a schema.
    Please help me in solving the above issue.
    Thanks in advance
    Jagan

    What version of OWB and Oracle database are you using? If it is an OWB version 9.0.4 or higher, I presume you are trying to create a non Oracle source module under the Oracle Database node - is this the case? If yes, you should not do that, but create your MS Access module under Databases->Other->Other node (as I understand you are not using ODBC). Let me know if my assumptions are correct.
    Regards:
    Igor

  • Problems with saving pdf as a word doc

    hello, i
    recently upgraded to acrobt x pro, and i went to convert a one-page pdf into a word doc.  i went to "file,"
    "save as," "word document, and when i went to view
    the word doc, the format/layout/font, etc. was completely garbled.  what could i be doing wrong?  thanks!

    Your problem is likely with the PDF not having the tags that provide the format information you are expecting. Such information is not needed for the PDF, but is used for the conversion back to WORD. You could try converting a file from DOC to PDF and back to DOC with both a print to the Adobe PDF printer and PDF Maker to get the format info. See how they compare and you should get the idea.

  • Problem with saving pdf files to Mac

    Hi All
    I'm having a problem with pdf files.  When I get sent a pdf fielder email I can open it with no problems but I cannot seem to save it successfully to my Mac. I've tried opening file and doing a 'save as', copy and pasting and dragging and dropping but I keep getting the following message
    Adobe Reader could not open 'filename.pdf' 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).
    Any ideas how I sort this out?

    Can you use your email client's Save Attachments feature to save the file?

  • PS CS 6 & LR 4.1 problems with Raw

    There seems to be a big problem with CS6 (and LR4.1.) with some raw files. My computer has now been logged in twice by adobe support personel trying to fix the problem with no luck.
    First photoshop was not able to open Canon 5D mk3 / CR2 raw files- that got fixed and LR could not open them any more. That got fixed and the problem returned to Photoshop. The last attempt py adobe personel to fix it was poor and "reading" from a book and trying to fix it did not solve anything. I the formatted my hard drive and reinstalled both applications. It seemed to work fine - until next opening of Photoshop when it coul not open the raw files again!!  Really getting tired of this nonsense. Anyone- any ideas??
    Just to clarify I do have the latest updates on these applications...

    I had this exact same problem, but with PS 5 & LR 4.1;  then with PS 6, ACR 7.1 the same damn thing happens!  I've uninstalled PS 6, can't afford it anyway.  Tried using Adobe's DNG convert, the files "convert" to .DNG but they wouldn't open either.  So darn frustrating as the whole system worked fine 2 days ago and now freezes while trying to open anything but a JPG!  No changes to computer; MacBook Pro (unibody) 17", 8 GB RAM, 10.6.8.
    I went back to 10.6.8, PS 5, ACR 6.7 (my D4 is covered) and reset prefs for both PS & LR and now things are working again.... time to reformat this darn thing and clean it up, what a pain!
    BTW, do you or Curt know of a backup program that keeps track of serial #'s??  Having to find all those again will be a pain.
    Alan

  • Preview problems with Adobe pdfs

    Hi all
    I hope this is in the right place ... I've checked through the forums, but couldn't find a problem like this anywhere.
    I have just upgraded from a PowerMac G4 dual to a PowerMac G5 dual-core, both running the latest version of Tiger and have managed to migrate across most things. However, there is one problem I'm having which is a bit frustrating.
    I use the Adobe CS2 for most of my work, but since changing machines, the Export/Save As PDF features aren't working properly. If I Export any document to pdf from InDesign, it will then not open in Preview, giving a particularly vague error: "File Error. Couldn't open the file." If I then open it up in Reader or Acrobat Pro it works, but when closing it afterwards, it asks me to Save the file (though to my knowledge I haven't made any changes). The file will then open in Preview.
    A similar thing happens in Illustrator, but with a twist ... a file Saved as pdf will open straight away in Preview, but once closed won't then open again, until I go through the same process with Acrobat. Having the tested the files on other Macs, the problem is with the files, as they don't open on any machine, nor on a PC (before realising the problem, I sent a pdf to a client).
    Does anyone have any ideas why this is happening? Any help will be much appreciated. Thanks in advance <d>

    Hi Vipir
    Thanks for the quick reply!
    When making the pdfs, I didn't use any of the standards (to maximise compatibility), but I tried every available version of Acrobat (from 4 to 7) and all produced the same result. When I started, I had them Optimised, but after reading a few things online, I tried without Optimising, and then without Tagging them, but still without success.
    The end result seems to be a pdf which will only open on Reader or Acrobat Pro, after being fixed by them in some way. If not opened in either of them, then they don't seem to be able to be opened by anyone (regardless of platform or program).
    Maybe I've been lucky in the past, but I've never experienced any problems with pdfs before, and I just got used to pdfs being fairly 'bullet-proof!'
    Thanks for your help <d>

  • Problem with opening pdf files in Explorer

    I'm trying to use a button to open a pdf file. It's always
    worked in the past, but now I'm receiving an "object error" and the
    pdf is not loading. Does anyone know if this is a problem with the
    new version of Internet Explorer? Any work arounds?
    Here's my code:
    on (release) {
    getURL("NameofDoc.pdf", "_blank");
    }

    Hi,
    1. It's Adobe Reader XI, ver 11.0.08
    I guess the version of the plug-in corresponds with the version of the reader itself?
    2. "Page cannot be displayed", mostly
    Some say it takes a while for the (small) pdf to open, but we could no recreate this behavior yet.

Maybe you are looking for