SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2007
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Do you know of a pdf-a solution?

    Not sure where to start...

    I need a tool to design an "application form", which has to follow an governmental design instruction. We are talking about very high accuracy of sizes, placement and fonts. This tool should be easy to use (not require a person with 3y software engineering education, preferably some one without college to use this tool to create an form).

    I should get some sort of a template from this tool.
    This template should then be used to merge with data from an database, and tata gief ze PDF. Preferably do this in java.

    Either this PDF should be of type PDF/A (archive, special type of PDF), or ... I need some tool to convert to PDF/A. Preferably not one that just create an image of the document and save it in a PDF (which would conform to the standard, but in an ugly way).

    Any suggestions? I've looked around, but i've never done any PDF at all, and my head kinda spins because there is so messy information all over the place.
    I've heared complaints about crystal and ireports, and google is full of crap.

  2. #2
    SiteP0int Weazle hooknc's Avatar
    Join Date
    Dec 2004
    Location
    Socialist Republic of Boulder
    Posts
    937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look into iText.
    baby steps... baby steps...

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2007
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    iText..
    It looks like I need Acrobat Writer or something to create the form/template, but I couldn't find any good info on how and what it would support.
    It seemed the usual way to use Itext is to create som HTML ... and thats not good enough, cause HTML is crap with accuracy. And you need an professional to make good html.
    I also couldn't find any info on how to convert to, or make sure the end result is PDF/A, unless I hand coded the layout in java... which ...

    Unless I missed something, then I can't use this.

  4. #4
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    With iText you can create and edit PDFs. The PDF specification is nearly 1000 pages, at my last count, so it is not something to consider doing lightly...you'll need excellent Java skills and the time to make it work.

  5. #5
    SitePoint Member kellogg9's Avatar
    Join Date
    Jun 2009
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    iText is what youre looking for

  6. #6
    SitePoint Enthusiast
    Join Date
    Nov 2007
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    From nabble 21.jan.2009:
    First, you need to write a PDF/A validator - to understand what parts of the existing PDF are (and are not) compliant with PDF/A. While iText has all the necessary APIs for reading the various parts of the PDF that you will need to parse, the understanding of how it all goes together will be up to you - and require that you have a VERY DETAILED understanding of PDF and PDF/A. I would give yourself at least 4 months on this part of the project.

    After you've completed the validator - you're ready to deal with correcting the problems. This is MUCH MORE complex since for each error, you will have to write a "fixer" and while some fixes are easy, some are VERY complex and require low level understandings of not just PDF but also related formats such as the various font formats allowed in PDF. I would give yourself at least 6 months.
    How the #%& is iText even an solution when there is so many tools out there?

    We talk about serious stuff here, like filling and printing something like the US tax form, and NOT the high school prom invitation.

    If I'm correct, JasperReports are built on iText - and thats what iText probably are ment for. Beeing some lib in some insane solution. But in the real world you do not do this kind of stuff UNLESS someone pays you to do it, and 1y development is not what my customer want to pay for. There is alot cheaper commercial solutions out there.

  7. #7
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    The only difference between tax forms and prom invites is that the tax forms have more fields - if you can competently place just one field, you should be able to place all the fields that you need.

    The output on this is far less important (and difficult) than the business logic required to make sure that the information entered is complete and correct.

    If iText scares you that much, consider hiring someone that knows what they're doing.

  8. #8
    SiteP0int Weazle hooknc's Avatar
    Join Date
    Dec 2004
    Location
    Socialist Republic of Boulder
    Posts
    937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by darkslayer View Post
    How the #%& is iText even an solution when there is so many tools out there?

    We talk about serious stuff here, like filling and printing something like the US tax form, and NOT the high school prom invitation.

    If I'm correct, JasperReports are built on iText - and thats what iText probably are ment for. Beeing some lib in some insane solution. But in the real world you do not do this kind of stuff UNLESS someone pays you to do it, and 1y development is not what my customer want to pay for. There is alot cheaper commercial solutions out there.
    I don't understand your post.

    - Are you frustrated because you don't know how to do a project that you promised a client?
    - Are you nervous that the project is more complex then you anticipated and that what you've agreed to do already has other "cheaper commercial solutions"?
    - Or, are you slamming on people that tried to point you in the only direction of a tool that they know works with pdf?

    Your diatribe is missing direction and consistency, but it did get at least two replies.

    I give it a 3 out of 10.
    baby steps... baby steps...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •