Заполнение pdf форм linux

Is there software that can fill PDF forms?

I have some PDFs which are actually forms, with fields to fill. Is there some software that can fill those fields?

20 Answers 20

Xournal will allow you to draw/write anything on the top layer of any PDF document and then export it back to PDF. It doesn’t allow to actually fill PDF forms, but if writing text / drawing on top of your PDF is enough for you, you may find it useful.

You can install it from the Ubuntu software.

To install from terminal, use the following command:

sudo apt-get install xournal 

Note: Xournal is not anymore actively developed. There is an actively developed fork, Xournal++.

You can’t fill in meant-to-be-filled text fields (and those get lost on export in my experience) , but you can use the text editor tool (and aim relatively high, so the bottom of that I -shaped mouse cursor is actually the middle height of your text to be). – good enough to fill out some arbitrary tax forms or parcel labels.

Document Viewer (Evince) SHOULD be able to fill in forms, IF the document is a fillable form. Not all documents are fillable! If document does not support form filling the form, you should use tools like PDFedit or OpenOffice Draw

You can find them in Software Center

I don’t think evince works. When I save a form I have filled in the information I have entered is lost. okular appears to work however.

Evince 3.18.2 let me very easily put text into a form on a US tax document and save it. Opening the file in xpdf, I can see the edits. Not sure if it’s filling the forms the «right way», but the spacing and font look great in this limited test.

I’ve had evince work on some pdf forms, including tax forms, but not others, including university paperwork. Evince should not be considered a reliable option.

I’m using opensuse and evince doesn’t work for me. Only the text in the currently focused textbox appears, every other textboxes are blank.

I have tried Evince, Okular, PDf Chain and other not so pretty ones. The one that comes closer in the Ubuntu Software Repositories is Okular with an option to «Show Forms» which depending on the form it will or not show. I tried all of those trying to solve this question: How to fill out the forms and save the inputs in this tax report pdf file

The only one that suggest working and has been tested is PDF Edit from here http://sourceforge.net/projects/pdfedit/ and Acrobat 10 from here http://www.adobe.com/products/acrobat.html

I was actually surprised to learn this since there are a lot of PDF Viewers but less editors and even lesser ones that can perform Form filling and such.

Quite frankly, even with expensive Windows software like PDF Revu I am unable to edit all forms. Seems the standard isn’t clear enough or not enough people stick by it?!

Okular after opening announced that file has XFA forms that are unsupported (tax report file in Poland).

@MateuszKonieczny Hi friend, might you have a PDF form that I could use for testing. If you do have one, please feel free to send it to luisalvarado@ubuntu.com so I can check which apps can work with it and update this answer with some updated results. Thank you.

@LuisAlvarado finanse.mf.gov.pl/documents/766655/1481810/IFT-1(13)_v1-0E.pdf or other from finanse.mf.gov.pl/pp/e-deklaracje/formularze/pit (ones linked by text in the red font). Unfortunately I prefer to keep my file private, as it an official tax-related document (I received it after filing taxes). BTW, I ended installing and using Adobe Reader that worked.

Читайте также:  Linux command with grep

One nice feature of Okular is the ability to work with document layers. This can be a big plus aesthetically as it allows one to print w/o the buttons.

2016 answer, since this still comes at the top of google: evince now fills in forms (including encrypted forms). I printed the result to file to save the filled-in version.

For me this is the most helpful answer, since evince is the default «Document Viewer» in Ubuntu anyway.

I was able to save the form and continue filling it out later. But I recall the dialogs being a bit confusing, and it keeps the original file modification time on the form, which is bizarre and really bad practice.

I can use evince (aka Document Viewer) on Debian to fill out the form. To save the filled out form, you can choose «Save a Copy» but overwrite the original. Unlike print-to-file, the form remains fillable if you need to correct a mistake.

PDFEdit (Click To Install on 12.04 or earlier)

Just Launch it from application -> Graphics and then click «Add text»

enter image description here

Then just draw a box and type.

enter image description here

I don’t like web sites that try to install things on my computer; so if anybody else was a bit freaked out, you can just install the «pdfedit» package. The web site you linked to is legit, it just spooked me a bit. 🙂

@Windigo If you are referring to the Click to install link then that is perfectly fine as it will just fire up your Software Center where you can then click on Install to install the package.

pdfedit does not have a package anymore in 14.04. Couldn’t find it. Theres this website, though: pdfedit.cz/en/index.html But the last update seems to have happened in 2012.

update. «Master PDF Editor 3» enables pdf form fields to be entered by the user. It works well to fill forms, remove/add pages, reorder, add comments, etc. It should be listed in ubuntu software centre, else search for the deb file online.

This has always worked best for me. It is commercial, but has a free version with some pro features disabled, but still allows the basics (annotate, split/merge etc. without any watermarks or the like)

As of May 2018, there is now «Master PDF Editor 4». The free version does everything I need. From my (limited) tests I can confirm that it fills forms successfully, also where Ocular fails.

I just tried Master PDF Editor 5. It has functions for filling forms, but they’re not working with the form my accountant sent me. It’s almost making sense to buy a commercial operating system at this point, which is very sad.

UPDATE 2019/04/23
The latest release for LibreOffice 6.2.2.2 now imports PDF files directly.

I have tried all the PDF apps in the Ubuntu repositories. All have been buggy and difficult to use.

If you want simply to fill in the blank boxes on a PDF form (such as many government forms), here is what I do [revised]:

  1. Libreoffice menus: Format → Page Style. → Area → Bitmap
  2. Click «add/import» button located in bottom left region of page
  3. Navigate to your PDF file, and click «open» button to import
  4. You should have the PDF in LO as a watermark image
  5. To add text, use «text boxes» to overlay the text onto the page
  6. Save as .odt and .pdf files.
Читайте также:  Linux server web console

Rob, In step 2, do you mean Format/Page/Background/Graphic then choose the tiff file? If that is the case, it does not seem to work. I use Open Office 3.2. Otherwise, I do not see Page under Edit. Neither do I see watermark in Open Office. I hope you tested what you suggest. If you did, please provide the details again. Much appreciated.

A warning: after exporting to PDF back the content more often than not would look like slightly different than in the original document. Margins, offsets, alignment, all that (as always with OOO/Libreoffice)

Abobe Reader for Linux, not open source but it handles this kind of stuff.

Adobe has discontinued support for Linux. This link here seems to have information about how to install the Linux version: ubuntuhandbook.org/index.php/2014/04/…

Can run in docker container without polluting local system with old cruft using github.com/chrisdaish/docker-acroread

Since (at least) Ubuntu 14.04 Evince is able to fill the PDF with forms.

Then, if you want to save the PDF in a way that the form cannot be modified anymore, for example because you need to send the PDF to someone, you can just print to file the document.

Not all of them, XFA forms are unsupported (present in tax report form in Poland) and unlike Okular there is not even an error message.

@reducingactivity They say that now Firefox supports editing «XFA forms» askubuntu.com/a/1186460/19753

Libreoffice Draw is the best open-source pdf filling & signing application I have found on Linux.

However for annotations (highlights, underlines, boxes & adding notes), then Okular is the best.

Draw is good other than its long-standing bug of broken formatting as a result of not supported embedded fonts: bugs.documentfoundation.org/show_bug.cgi?id=82163. Okular is great aside from the size an exported PDF becomes.

In firefox 91.7.0esr (64-bit) I am able to edit PDF fields e.g. in this form. If I then hit the download button, I download a PDF file with the fields edited. The fields remain editable so I can repeat the process and perform further edits. Edit: This is now also possible in Chrome. Voila!

Firefox is even a good solution for editing «XFA forms», which cannot be edited by many other software, as it seems: askubuntu.com/a/1186460/19753

FoxitReader Linux version works also for adding text
(anywhere , not good as a real form field editor , but can be useful too) :

After downloading, extracting and running install script, open your pdf. You can write using «typewriter» in «comment» menu.

Good to know that there is a Linux version, but it’s not on Flathub and it’s not on Snapcraft either (I don’t care about snaps anyway, it’s just an unnecessary harm done to the FOSS community) so it’s virtually not existent anymore these days. Yes you could go to foxit.com/downloads/#Foxit-Reader but we as a community agreed to use repositories instead of hunting software on sketchy sites on the internet and have every computer owner be burdened to keep the zoo of software updated. It made so much sense that even Microsoft adopted it only ~25 later to create winget.

It’s not exactly the «Ubuntu specific» answer, but I did away with using Google Drive and https://dochub.com/. I just clicked on «Open with» dropdown in my Google Drive and selected DocHub there.

Читайте также:  Aomei partition assistant linux

Atril (that is a fork of Evince) comes by default on Mate Desktop (Ubuntu Mate, Linux Mint Mate, etc) and has full support to fill forms on PDF’s, including checkboxes.

Are you sure? I see no option to achieve this and github.com/mate-desktop/atril#atril is not even mentioning such capability

I am 100% sure, because I use it a lot to fill forms inside PDFs. The only requisite is the form fields themselves inside the desired PDF.

With PDF Studio you can fill interactive PDF forms (including XFA) or you can use the typewriter tool to add text onto flat forms, then flatten into the document or save as a PDF comment.

PDF Studio 7 was in the top 10 downloads on the Ubuntu Canonical Software Center.

@Mateusz Konieczny: Happens to all of us, sooner or later. There’s PDF Studio 11 at qoppa.com. But it seems it’s payware only and thus not in the Ubuntu repos anymore.

  1. MasterPDFeditor is now problematic for Ubuntu 17.04. crashes regularly.
  2. Using Libreoffice, LO is changed too for release 5.2. The pdf must be imported into GIMP, then saved as a bmp file. In LO, use menu: format/ page/ bitmap. Choose your bmp file and import to current LO page. To enter text, click the textbox icon in the menu. This will overlay the text onto the bmp image. Save and export to new pdf file. Repeat process if you need different forms for different pages. Join all pdf files with pdfshuffler .

I was able to get it done using INKSCAPE. Hope this helps!

Just use the Adobe Acrobat PDF Reader Windows Version (there is none for Linux anymore) via Wine. On Ubuntu 20.04, there’s a snap for it and it just works:

sudo snap install acrordrdc acrordrdc # note: on first startup, this might take 10 minutes to set up wine 

I have to fill out a monthly report that is a form with a special table where you can even enter times and it calculates stuff and there is a button to fill in the current date. I have not found any other program that supports these (IMO absolute overkill) PDF form features.

Also, please convince your HR department to stop using PDF forms.

Update 2023: It turns out Firefox can handle such documents well when they are properly formatted. I was able to clearly see which fields and checkboxes can be filled and I was able to save the document with my modifications. It’s just the amount of garbage documents and other users reliance on a proprietary application (with a deprecated and unsafe feature set) which make me occasionally doubt in which time we live in.

It’s a solved problem. When you arrived here, take a deep breath. Stop searching, «print» the document, fill it out and move on.

I use GIMP whenever I need to change something in PDF a document.

I know very well that PDF documents with forms – and a whole lot more awkward security holes – can be created and that some people actually use this, but I prefer that people do not send me such documents. That’s why I use GIMP.

It’s also not very different from printing the document and scanning it as a PDF (or TIFF and faxing it). I don’t understand why people actually do «scan to PDF» without involving OCR or some kind of re-vectorization, but this misunderstanding of the format works in my favor.

Источник

Оцените статью
Adblock
detector