27

When I try to open the PDF file I need it looks this way (I have tried Evince, Chrome and Firefox), saying

Please wait...

If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document.

You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/products/acrobat/readstep2.html.

For more assistance with Adobe Reader visit http://www.adobe.com/support/products/acrreader.html.

I have found an explanation saying

Certain PDF files (dynamic XFA forms) created in Adobe LiveCycle can only be opened in Adobe Reader and Adobe Acrobat. When you try to open these files in an alternative PDF viewer, then you will see this error message.

How are such files meant to be opened on Ubuntu given the official Adobe Acrobat Reader package is deprecated?

It's not a real problem for me practically as I have actually managed to install Adobe Acrobat Reader 9 (BTW I am, however, afraid this ancient version is going to start having problems with opening new files of this kind soon) on Xubuntu 15.10 a reasonably tidy way by unpacking the old Ubuntu DEB package, putting the necessary files to a subdirectory in /opt and editing the Reader's launch scripts but I believe it's a pretty serious issue for using Ubuntu in commercial/academy/government environments so there is to be a more proper way.

1
  • 1
    I could open it with Adobe Reader 9 for Linux. But it is not officially available for download any more.
    – Pilot6
    Mar 31, 2016 at 19:55

7 Answers 7

14

Try Master PDF Editor (proprietary). The free version is good for viewing, but for editing probably not (I read that it leaves watermarks).

You can also use the outdated, unsupported, probably very insecure, old Adobe Reader 9 for Linux.

3
  • 1
    I used Master PDF Editor and was really surprised that it can open these types of files! As far as I know, this is the only non-Adobe solution I've ever seen, wonder how they did it?! Kudos to them and thanks for the answer Dec 4, 2017 at 1:23
  • It opened it but it doesn't allow editing it. It says "This form is compatible only with Adobe Reader or Acrobat". Dec 17, 2017 at 16:07
  • 1
    Master PDF Editor works! Jul 4, 2018 at 11:41
7

Recent drafts of PDF next-generation (ISO 32000-2) note that there was a vote to deprecate XFA:

Editor’s note: XFA forms have been deprecated from ISO 32000-2 in accordance with the outcome of the letter ballot following the Pretoria meetings.

As explained at 3 Alternatives to the Adobe PDF Reader on Linux | Linux.com | The source for Linux information, features like Extended form filling (such as XFA Forms) and Embedded 3D models won't work in most open source implementations.

So I suggest pushing back to the people producing the documents, explaining that they are not accessible to people in a variety of situations, are not supported by e.g. the Chrome PDF viewer or open source viewers, and that they thus increase the attack surface and increase security risks. So they should drop use of XFA.

2
  • 8
    +1 for the advise not to inflict these annoying documents on the world in the first place!
    – cbare
    Sep 16, 2016 at 16:10
  • 1
    So hard to convince government organizations and consequently public service organizations that have to interact with them not to use XFA compatible readers and whatnot. It's honestly terrible how bad Adobe has made PDF accessibility.
    – Tmanok
    May 11, 2022 at 2:33
7

I just now used the free online service at https://speedtesting.herokuapp.com/pdfxfa/ "XFA PDF to Normal PDF (XFA Form Flatten)". Worked perfectly for me, I used it for just one fillable pdf that I couldn't view or print because it was in this annoying XFA fillable format :-(

4
  • I tried this, but the website insists on switching off Adblock first (ok, I am a leach), and when opening the resulting PDF with Evince, the file just shows a Warning: JavaScript is disabled. To enable JavaScript, go to the yellow message bar near the top of the screen, click Options and select the desired option. Not really eager to do that ... Mar 31, 2020 at 15:16
  • 1
    This is probably my favourite solution. I shouldn't need to download new software if I just want to open a PDF. And this solution accomplishes that. Nov 25, 2020 at 17:24
  • This is a perfect solution, easily distributable to laypeople who can then use EVINCE or Xournalpp, LibreOffice etc to open and edit the PDF.
    – Tmanok
    May 11, 2022 at 2:35
  • Obviously don't use this internet based solution for any pdf containing sensitive information
    – cardamom
    Aug 31, 2022 at 11:02
2

I installed Acrobat Reader for ubuntu using:

https://linuxconfig.org/how-to-install-adobe-acrobat-reader-on-ubuntu-18-04-bionic-beaver-linux

While this is an old version of the Acrobat Reader I was able to open that special file. Note: I had to download the needed pdf file to my desktop and open this file using the Acrobat Reader

1
  • You can convert it to normal pdf from print -> print to pdf in adobe acrobat DC. After that you can open it with any pdf viewer. Jul 17, 2022 at 19:00
2

Open the file with Firefox. Firefox is now (in 2023) able to display XFA files correctly even when Evince can't. It's not necessary to install any plugins.

2
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – zx485
    Sep 12, 2023 at 15:09
  • I've edited my answer to make it a solution rather than a comment. Sep 13, 2023 at 16:38
1

The latest Adobe Reader DC for Windows will run under Wine (the 32-bit version of that, at least) given enough tweaking and massaging. Of course, it's a bit of a project to actually get working - you'll need winetricks (and a bunch of things it can scrounge up, perhaps atmlib ie8 vcrun6 wininet msxml3 msxml6 corefonts riched20 wsh57 but YMMV), fonts, and possibly a bunch of other stuff. Might want to try a virtual machine with the same version of Ubuntu before you start messing with your host machine. But I discovered a way to get things working with CentOS 7 (I needed the 32 bit Wine to install Reader, which made things more complicated because CentOS doesn't supply that) , so Ubuntu ought to be a walk in the park!

-1

Chrome should work BUT Chrome first needs the NotablePDF plugin to actually view the PDF. Make sure you have that plugin. That should get you smooth sailing viewing PDF via a browser. Can be found in the Chrome App Store.

Okular is supposed to be one of the most stable PDF readers on Linux systems. It is the default viewer in KDE. It has a little more features than Evince, which I saw you've already tried.

Good Luck and Enjoy.

3
  • Notable now known as Kami PDF does not work
    – tread
    Jun 21, 2016 at 6:51
  • I've tried this one and the effect is the same, i. e. not working. Thank you for the suggestion anyway.
    – Ivan
    Feb 19, 2017 at 17:34
  • 1
    I've had no problems filling out Adobe forms in current versions of Chrome by default. no plugins required.
    – Elder Geek
    Feb 13, 2018 at 14:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .