Category: PDF

  • form fields in PDF – how to retrieve their details?

    This command line shows you a few details:

    $ pdftk … dump_data_fields

    Not enough details for me.

    What about CAM::PDF?
    It comes with a couple of nice sample utilities (the bin/ subdirectory), one of them is called listpdffields.pl . It also does not show me enough details, but I think I will enhance that one.

    Update / 2010-12-11:
    Yes, CAM::PDF works very well for me. I wrote another article on that.

  • ruby and PDF

    the speaker: Lukas Rieder
    working for “paper c”

    some approaches

    writing PDF
    … act as flying saucer …

    UNIX tools

    xpdf :
    $ pdftotext -layout -enc UTF-8 …

    pdftk
    $ pdftk compressed.pdf uncompress output uncompressed.pdf

    imagemagick
    $ convert … # e.g. towards JPEG

    the speaker wrapped some unix tools and called that “PdfUtils”, and released it as GEM.

  • annotating PDF files with free software

    flpsed is a WYSIWYG PostScript annotator.

    You can’t remove or modify existing elements of a document.

    flpsed lets you add arbitrary text lines to existing PostScript documents (PostScript is a registered trademark of Adobe Systems Incorporated).
    Added lines can later be reedited with flpsed.
    Using pdftops, which is part of xpdf one can convert PDF documents to PostScript and also add text to them.
    flpsed is useful for filling in forms, adding notes etc.
    […]

    flpsed is released under the GPL.

    Actually it is more a PostScript annotating tool than a PDF one.
    When you first save an annotated PDF document,
    it gets converted to PostScript.
    If you want to resume editing such a document,
    you and the tool have to deal with the PostScript file.
    You lost the nice document structure diagrams,
    PDF viewers show you for certain documents.

    And: PDF resp. PostScript annotating is not filling out PDF form fields.
    This tool lets you write text at any location within such a document,
    and it does not help you finding PDF form fields, as PDF viewers do.

    I still find this utility very, very useful.