Mark Stephens I have been working with Java and PDF since 1999 and am a big NetBeans fan. I enjoy speaking at conferences including Business of Software, JavaOne, CodeOne and DevFest. I have an MA in Medieval History and a passion for reading.

The 2017 Guide to PDF Files – Creation II

1 min read

PDF Creation the Easy way….

Last time, we showed you how to write your own PDF file. This is useful for understanding the complexities of PDF files (and why you really want to use a PDF SDK to create and edit PDF files). Hopefully, we convinced you it was a bad idea….

The easy way to generate a PDF file is to get a computer program to generate if for you – many programs can generate PDF files directly either are part of their printing features or offer direct PDF export. You can also use an SDK such as IText (which was written for creating and editing PDF files programmatically).

The advantage of this is that you do not need to know anything about PDF. The disadvantage is that you are trusting in the PDF creation tool. Some common software tools (Quartz on MacOS as one example) tend to make a mess of PDF files.

There are tools produce very good quality PDF files which are small and useful while others are not so good. Often it is very hard to tell from looking at a PDF how ‘well-made’ it is. Many PDF files also contain errors which complicates how different tools will later handle them.

If you want to start learning about PDF files, we have a large number of blog posts on the subject of the PDF file format where we document all the features you may find and show some nasty bugs. Two good places to start are:-

Next time we carry on looking at PDF files with a discussion on text in PDF documents.

IDRsolutions develop a Java PDF Viewer and SDK, an Adobe forms to HTML5 forms converter, a PDF to HTML5 converter and a Java ImageIO replacement. On the blog our team post anything interesting they learn about.

Mark Stephens I have been working with Java and PDF since 1999 and am a big NetBeans fan. I enjoy speaking at conferences including Business of Software, JavaOne, CodeOne and DevFest. I have an MA in Medieval History and a passion for reading.

Leave a Reply

Your email address will not be published. Required fields are marked *

IDRsolutions Ltd 2019. All rights reserved.