Mark Stephens I have been working with Java and PDF since 1999 and am a big NetBeans fan. I enjoy speaking at conferences. I have an MA in Medieval History and a passion for reading.

The 2017 Guide to to PDF Files – Creation I

56 sec read

Last time my colleague Sophia introduced you to PDF files and how much support is there for Java. This week we will be looking at the creation of PDF Files.

You dont need to be a magician to create PDF’s

A PDF file is a complex file format. Originally designed by Adobe, it is now an ISO standard of over 1000 pages. PDF files are unusual in that they do not contain the actual content (like a Word or Text file), but the information needed to create the display of the content when the PDF viewer puts it all together.

It is a simplified version of PostScript, where you create a program which runs to generate the output. This is why they are very hard to hack – you are editing the program to generate the content, not the actual content.

A PDF file contains a set of objects with a table telling you where the objects are all located in the PDF file. The objects themselves contain a mix of binary and text content. If you know what you are doing, you can create it yourself.

In this series of posts, my colleague Daniel shows you how to build a really simple PDF file (and that is nasty enough). It is not for the faint-hearted……

Part 1: PDF Objects and Data Types
Part 2: Structure of a PDF file
Part 2.5: Create a non working PDF
Part 3: DIY Blank Page
Part 4: Hello World Pdf
Part 5: Path objects
Part 6: Graphics State

Next time, we will show you the easy route….

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. 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.