Writable PDF program for Linux?

Discussion in 'Linux' started by paul_audioz, Sep 4, 2024.

  1. paul_audioz

    paul_audioz Ultrasonic

    Joined:
    Feb 21, 2023
    Messages:
    76
    Likes Received:
    31
    Hello Linux fans,

    I have a non-musical related question. I hope that this is okay, if not Mod please delete this question.

    I can read PDF files without any trouble with the standard Debian "qpdfview" program.
    This program is small and does the job.

    However, with "qpdfview" it is not possible to write in PDF documents that are meant to be filled in, like documents you get from the government.

    My question: is there a program that can write in PDF files that are meant to be filled in?

    Kind regards,
    Paul

     
  2.  
  3. Sanskritter

    Sanskritter Ultrasonic

    Joined:
    Nov 15, 2020
    Messages:
    29
    Likes Received:
    28
    apt-get install inkscape or get LibreOffice Draw
    both get the job done and are available in standard repositories.
     
  4. paul_audioz

    paul_audioz Ultrasonic

    Joined:
    Feb 21, 2023
    Messages:
    76
    Likes Received:
    31
    Thank you Sanskritter. I already tried LibreOffice Draw, but that does not fill in the document.

    I installed Inkscape, but there I am only able to change the rest of the document but not the fill-ins, same as LibreOffice Draw.
     
  5. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    1,028
    Likes Received:
    773
  6. paul_audioz

    paul_audioz Ultrasonic

    Joined:
    Feb 21, 2023
    Messages:
    76
    Likes Received:
    31
    I tried opening in the browsers, Chrome and Firefox and Brave, but that does not work.

    Your tool likes nice, but how can I upload my PDF to this website? I guess this website can be used to create your own fill-able PDF's?
     
  7. paulaahrens

    paulaahrens Member

    Joined:
    May 26, 2023
    Messages:
    10
    Likes Received:
    10
  8. paul_audioz

    paul_audioz Ultrasonic

    Joined:
    Feb 21, 2023
    Messages:
    76
    Likes Received:
    31
    Thanks, I tried the version 4 of it. It is a lot of possibilities and also I could not fill in the form.

    Maybe I should upload my PDF so it is possible to try it:
    https://mega.nz/file/oFoxBL4S#XWs5rHwzkrkKn421a3DvIHCtQLqQNGSKP3ZlAPLw4Vw

    Translation:
    "Achternaam" = Family-name. On the line after that the family-name should be written.
    A bit further is "Geslacht" which means Sex and there should be set an X in the appropriate box.
    I hope it is clear what the intention of the form is.
     
  9. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    1,028
    Likes Received:
    773
    Best Answer
    I don't think your PDF contains real PDF forms that you can fill in, but I'm not 100%.

    I used qpdf --json to dump your PDF and the PDF from the link in my previous post. My PDF = lots of form objects, your PDF = no form objects.

    If that's the case, then I guess it'd be quickest to import the PDF into a graphics editor and use the text tool / paint in the checkboxes and save as PDF.
     
    • Like Like x 1
    • Winner Winner x 1
    • List
  10. paulaahrens

    paulaahrens Member

    Joined:
    May 26, 2023
    Messages:
    10
    Likes Received:
    10
    It looks to me as well, as if no true form fields are included with this PDF. By using the mentioned Code Industry Master PDF Editor, you should be able to create such form fields.

    At least the website mentions:
     
  11. Will Kweks

    Will Kweks Platinum Record

    Joined:
    Oct 31, 2023
    Messages:
    458
    Likes Received:
    270
    Like others have mentioned, I don't think this has forms in the file.

    Normally Okular can do this, but it shows no forms in this document. I suppose you could tag annotations or edit it otherwise, but that depends on what the receiver wants.
     
  12. paul_audioz

    paul_audioz Ultrasonic

    Joined:
    Feb 21, 2023
    Messages:
    76
    Likes Received:
    31
    First: thank you all, very kind of you.

    I will check and ask a windows user if she is able to fill in the form PDF with Adobe Acrobat and come back tonight.
    Maybe the problem is indeed that the PDF is not writable...... How very embarrassing that would be for me.....:unsure:
     
  13. paulaahrens

    paulaahrens Member

    Joined:
    May 26, 2023
    Messages:
    10
    Likes Received:
    10
    Right, for example Okular should be fine to fill PDF forms, but not to create any.

    Using LibreOffice Writer you can create documents including form fields and export these to a PDF, but you cannot edit the resulting or any already existing PDF except for filling forms. Editing PDFs requires a native PDF editor like the aforementioned Master PDF editor (or a Windows solution like Acrobat or any of its many clones).
     
    Last edited: Sep 4, 2024
  14. JMOUTTON

    JMOUTTON Audiosexual

    Joined:
    Jan 10, 2016
    Messages:
    1,094
    Likes Received:
    908
    Location:
    Virginia
    I tried your link on a Macintosh in Firefox, Chrome, Brave and Adobe Acrobat Reader and there was no joy. So there is something fundamentally wrong with the file itself.

    I also did a check in Acrobat (not Acrobat Reader) the linked file has no actual compliant form fields. There are some anchors and some named variables but no actual fields to input data, ect ...

    Evince, Okular, Xreader can all fill in a properly created PDF form.

    Someone tired or they've used a non-standard solution that might only work locally because of local extensions or intranet solution software that is already in the stack.

    Things are always a little harder than people want to admit when they decide that they are going to do it themselves and get it the right the first time. It generally take a few tries or paying someone to do it who has done it before works as well.


    Cheers and Good luck.
     
  15. paulaahrens

    paulaahrens Member

    Joined:
    May 26, 2023
    Messages:
    10
    Likes Received:
    10
    Using Acrobat, you'll be able to overwrite the placeholders like lines, checkboxes and the like with something else, but as mentioned, there are no true form fields included with your sample PDF, it's rather a form made for printing it out and filling it in by hand.

    If you'd like to stay on Linux, I'd suggest that you re-create your "form" with LibreOffice Writer including true form fields, which you then export to PDF and will be able to fill in with readers like Okular.
     
    Last edited: Sep 4, 2024
  16. SirGigantor

    SirGigantor Ultrasonic

    Joined:
    Oct 14, 2022
    Messages:
    115
    Likes Received:
    33
    Try running it through a program with OCR scanning to convert it to text, then copying and pasting it into a document editor at about the same font size, then typing it:
     
  17. SirGigantor

    SirGigantor Ultrasonic

    Joined:
    Oct 14, 2022
    Messages:
    115
    Likes Received:
    33
  18. SirGigantor

    SirGigantor Ultrasonic

    Joined:
    Oct 14, 2022
    Messages:
    115
    Likes Received:
    33
    Also, if you find a program to convert it to image files, or just do screen captures of the pages, you can just open it in GIMP or something, then answer by adding text boxes.

     
  19. lbnv

    lbnv Platinum Record

    Joined:
    Nov 19, 2017
    Messages:
    400
    Likes Received:
    217
  20. paulaahrens

    paulaahrens Member

    Joined:
    May 26, 2023
    Messages:
    10
    Likes Received:
    10
    This workflow certainly does not comply with the Portable Document Format with its architecture and features, since GIMP will flatten such PDF files down to an image. And as to OCR, this would be too cumbersome, I'd rather do it from scratch.

    LibreOffice Writer (or WPS Office, but with less options) is really good at designing forms and exporting them to PDF files, that comply with the PDF standards as defined by Adobe including security features, digital certificates (if required) and further export options.

    But if the form in question is not yours and for one-time use only: Just print it out and fill it in by hand.
     
  21. paul_audioz

    paul_audioz Ultrasonic

    Joined:
    Feb 21, 2023
    Messages:
    76
    Likes Received:
    31
    OMG.....my friend reported back and she told me this PDF is NOT fill-able in windows either so it is a faulty document.......

    I AM VERY SORRY to have wasted your time! :sad:

    Thank you all for chiming in and help. This really is a special place of helpful people!

    Kind regards,
    Paul
     
Loading...
Loading...