CMaps packaged within Qoppa PDF library and cmaps.jar

The most common CMaps are packaged directly into our library jars, including: 83pv-RKSJ-H, 90msp-RKSJ-H, 90ms-RKSJ-H, 90ms-RKSJ-V, B5pc-V, CNS-EUC-H, CNS-EUC-V, GB-EUC-H, Identity-H, Identity-V, KSC-EUC-H, KSC-EUC-V, KSCpc-EUC-H. Additional CMaps, used to read and display character encodings in CJK (Chinese, Japanese, Korean)  fonts are contained in the cmaps.jar filest. This jar file should be included in your classpath when you need to render PDF documents containing these type of fonts. The PDF reference (Chapter 4.6.4 CMaps) […]

Read More

OCR Languages Download Links

OCR Language Download Links Required Data File for All Languages      Orientation and script detection Common Languages      English – English      French – Français      German – Deutsch      Spanish – Español      Italian – Italiano      Chinese (Simplified)  – 中文简体中文      Chinese (Traditional)  – 中文繁體 All Other Languages – This file contains all the languages available (large file)      tessdata_fast.zip

Read More

Self-hosted Web Document Viewer to Display PDF, Word, Excel

Do you need to create your own self-hosted document viewer? Does your company handle confidential documents? Do you need to keep control of your documents? Do you need to be able to access your own document storage or database? Do you need to render PDF documents and Microsoft Office documents in the browser on all […]

Read More

2017R1 PDF Automation Server Release

Download PDF Automation Server v2017R1 Version 2017R1 – September 14 2017 This version of PDF Automation Server adds new features to the Web PDF Viewer & Markup and to the REST API including: Interactive Form Filling, Redaction, Text Markups, Rubber Stamps, and Drag & Drop to Rearrange Pages. The new version also includes all parsing and […]

Read More

Troubleshooting PAS REST Server Connection Issues

Q: When I try to connect to the PDF Automation Server Rest Module I get an error saying “This site cannot be reached”. How can I fix this? A: Follow the troubleshooting steps below to get connected to your server Make sure the PAS service is running First check to make sure that the server […]

Read More

Retrieving signature information from a signed PDF

This java sample program shows how to open a signed PDF and retrieve signature information from it such as signer’s name, sign reason, location, date, etc…. This sample uses Qoppa’s Java PDF Library jPDFSecure but can be easily changed to use jPDFProcess. // Load the signed document PDFSecure pdfDoc = new PDFSecure ("C:\\test\\output.pdf", null); if(pdfDoc.getSignatureFields() […]

Read More

Signing a PDF with a p12 file in Java

This is a sample java program showing how to sign a PDF document using a certificate loaded from a p12 file. The signature appearance is customized with an image, signer’s name and date. A signature field is added to the PDF document and then signed. This code uses jPDFSecure library but could very easily be adapted […]

Read More

Getting info for IRT Annotations: Reply to Annotations / Group Annotations

This sample code shows how to get property information about reply to or grouped annotations annotations added to a PDF document. This functionality was open in the public API in v2017R1.1 in jPDFProcess library. PDFPage p = pdfDoc.getPage(i); Vector annots = p.getAnnotations(); if(annots != null) { for(int count = 0; count < annots.size(); count++) { […]

Read More

Digital signatures and PDF/A compliance

Converting to PDF/A an existing Signed Document It is not possible to convert an existing PDF document that is already signed to PDF/A. This is because any changes that you make to a PDF even if it’s only adding PDF/A tags information in the metadata would invalidate the signature. If your PDF is already signed, […]

Read More

v2017R1 PDF Library PDF Component Build Notes

Below are the build notes for v2017R1 Fix Branch / Minor Releases for the following Qoppa PDF libraries and components. Java PDF Components: jPDFViewer, jPDFNotes, jPDFEditor Java PDF Libraries deriving from jPDFProcess: jPDFProcess jPDFAssemble, jPDFFields, jPDFImages, jPDFPrint, jPDFSecure, jPDFText Version v2017R1.20 – August 16 2018  JPDF-1272 – Document Specific: Out of Memory error when flattening a form with thousands […]

Read More

2017-08 v2017R1 PDF Library PDF Component Release Notes

Release Date: August 01 2017 Version number: v2017R1 Java PDF Components: jPDFViewer, jPDFNotes, jPDFEditor API Changes (from previous version) Java PDF Libraries deriving from jPDFProcess: jPDFProcess jPDFAssemble, jPDFFields, jPDFImages, jPDFPrint, jPDFSecure, jPDFText API Changes (from previous version) Other Java PDF Libraries: jPDFOptimizer, jPDFPreflight, jPDFWeb Feature Highlights 4K High Resolution Display Support Annotations Rich Text & Multi-Language Support Page Labels Resize PDF […]

Read More

Setting Page Labels in a PDF document

With version v2017R1, jPDFProcess API has a new function to set page labels in a PDF documents. Look at the method called setPageLabels in the PDFDocument class. setPageLabels(int[] indices, String prefix, String style, int offset) throws PDFException Sets a page label to identify each page visually on the screen or in print. Consecutive pages create a labeling range using […]

Read More

Auditing a PDF for Optimizing (Analyze Objects and Sizes)

Before optimizing a PDF file, it can be useful to audit the PDF to identify what objects are present in the PDF  (such as images, fonts, document info, bookmarks, links, content streams, etc…) and what significant is their size in the document. In v2017R1, jPDFOptimizer added an audit function to do just this. // Load […]

Read More

Scaling your Java Application for 4K High DPI Displays support on Mac, Windows, Linux

4k support in Qoppa PDF Components In version v2017R1,  support for 4K monitors was added in Qoppa PDF components jPDFViewer, jPDFNotes and jPDFEditor. The user interface was completely revised to support 4k HiDPI Display monitors with automatic DPI scaling for all dialogs and toolbars as well as newly designed vector icons that render crisp at any resolution. Customers integrating […]

Read More

Imposition of PDF pages using Java library jPDFProcess

This sample will open an existing PDF document, reorganize pages by putting 4 pages of any size onto one single page in letter format (8.5 x 11) and save them as a new PDF document. The pages are organized sequentially in 2 columns and 2 rows, called a sequential imposition layout. // Load document PDFDocument srcDoc = […]

Read More

Paint / print a panel and other Swing components to a PDF document

You can use the free library jPDFWriter to print or paint a JPanel and other Swing components to a PDF document. Here is sample java code to do so: public class PrintPanelToPDF implements Printable { public static void main (String [] args) { try { // create a PDF Printer Job PDFPrinterJob printer = (PDFPrinterJob)PDFPrinterJob.getPrinterJob […]

Read More

PDF Automation Server now available on Amazon AWS marketplace

Qoppa’s PDF Automation Server is now available on the Amazon AWS marketplace making it easy for companies to automate their document workflows in the cloud! The powerful server can be up and running in just a few clicks, letting users define their own workflow jobs and making calls to upload and process documents through REST calls. Download […]

Read More

Check if a PDF file contains any text content

Here is a Java sample program that uses Qoppa’s jPDFText library to determine if a PDF file contains any text content. The method “findTextInPDF” will return true of text was found on any page in the PDF, false if no text was found on any page. public static boolean findTextInPDF(String absoluteFilePath) throws PDFException, FileNotFoundException, IOException […]

Read More

Embed a font in a PDF and write text content with the new font

This little sample code shows how to add a font to a PDF document and than add some text content to the PDF using this newly embedded font, using Qoppa’s PDF library jPDFProcess. // Create a blank document and add a page PDFDocument pdf = new PDFDocument(); PDFPage newPage = pdf.appendNewPage(8.5 * 72, 11 * […]

Read More

Validate keys and get server information for combined jars

If you have a special combined build jar with multiple products you will need to validate the license for each product in the combined jar. Follow the steps below to get the version info and/or validate the license keys for the combined jar files. The below examples are for the jPDFProcess and jWordConvert combined jar. However, the […]

Read More