How to view the HTML source code of an applet

Go to the applet web page for instance: https://www.qoppa.com/files/pdfprint/demo/applet.html Right-click on the white area of the HTML page and choose “View Page Source” in the context menu. Here is the page source for our applet: <HTML> <HEAD> <title>Qoppa Software – jPDFPrint Applet</title> <script src="https://java.com/js/deployJava.js"></script> </HEAD> <BODY> <font size="5"><strong> jPDFPrint – Applet</strong></font> <hr> <p>The applet below […]

Read More

Upgrading a server license from 2 to 4 cores

Our pricing and licensing model for our server licenses for Qoppa’s PDF libraries have changed on 01/28/2016 from covering 2 CPU cores to covering 4 CPU cores and the price also increased of course. The reason we made this change is because most server type computers now have a minimum of 4 CPU cores, so […]

Read More

Display the List of Printers visible to Java

This is a small utility class that lists the printers as seen by Java. This class is useful because in some cases, Java shows a different name for a printer than the one reported by the operating system. import java.awt.print.PrinterJob; import javax.print.PrintService; public class ListPrinters { public static void main (String [] args) { // […]

Read More

Packbits versus LZW compression for Tiff Images

Q: We are using jPDFImages to convert PDFs to Tiff and are using Packbits right now. Would the next best option be using LZW? What are the advantages and disadvantages of using LZW? A: Packbits compression is fast, widely-supported, and provides good results for scanned images. LZW provides more compression than Packbits but Packbits is […]

Read More

Streaming efficiently a PDF document from a URL for viewing

Q: Do Qoppa’s PDF components (jPDFViewer, jPDFNotes, jPDFEditor) support reading linearized PDF documents in an efficient way or is there another way to load PDF documents on demand for viewing from a web server? A: We are in the process of implementing the loading PDF documents in a way that takes advantage of the linearization […]

Read More

jPDFNotes v2015R2 Build Notes and Download

v2015R2.07 – November 30 2016 JPDF-908 – Annotation imported with rich text does not export changes Change JAR signing timestamp server v2015R2.06 – November 17 2016 JPDF-906 – Issues with Import / Export XFDF due to resulting in sometimes importing content that was only from the last paragraph <p> element. JPDF-853 – Fill and do […]

Read More

Are Firefox, Google Chrome Right to Block Java Plugin?

We do not agree with Firefox or Google Chrome blocking plugins such as Java or Flash. It seems that Firefox is purposely making it difficult for users to run plugins even after the customers has agreed to enabled them. Each plugin has its vulnerabilities and in fact, the more powerful the plugin, the more vulnerabilities […]

Read More

jPDFViewer v2015R2 Build Notes

v2015R2.12 – March 01 2018 JPDF-1156 – Issue with extra space when editing multi line form field v2015R2.11 – August 09 2016 JPDF-809 – Regression: 2 PDFs that were rendering fine in 2015R2.07 do not render well in 2015R2.10 due to font CMAP issues v2015R2.10 – July 28 2016 JPDF-791 Tile refresh issue (blank pages) […]

Read More

ARM and x86 Architecture Support for Android PDF library

Q: Can your Android library render PDF documents on both ARM and x86 architectures? A: Yes, our PDF android toolkit qPDF Toolkit supports both ARM and x86 architectures. When you download the toolkit, you will find a “libs” folder that contains native Android libraries. You will notice different folders for armeabi, armeabi-v7a and x86. The […]

Read More

Alternative to jPedal Java PDF Library

Qoppa Software has the most robust and extensive PDF techonology available in Java. If you are looking for alternative to jPedal and IDR Solutions products, consider the following products: Function IDR Solutions Qoppa Software PDF to HTML5 & SVG jPDF2HTML5 jPDFWeb Convert PDF to Images jPedal jPDFProcess / jPDFImages (Back-End Libraries) jPDFViewer / jPDFNotes / […]

Read More

jPDFImages v2015R2 Build Notes

v2015R2.06 – June 15 2016 Added support for TrueType collections v2015R2.05 – June 8 2016 JPDF-776, JPDF-775 – Some fonts loading issues v2015R2.04 – May 23 2016 jPDF-762 – When importing TIFFs, default to 72 DPI when the data is “out of bounds”, that is: – If the resolution units in the TIFF are set […]

Read More

Qoppa New Print Dialog

In version v2015R2, Qoppa added a custom print dialog much more powerful than the default Java print dialog. This new dialog is set as the default print dialog in jPDFViewer, jPDFNotes, jPDFEditor, jPDFPrint, jPDFProcess. The new enhanced print dialog includes many new features such Print Preview, Print Current View, Enhanced Page Range Options, and Print […]

Read More

PDF OCR With Multiple Languages

To call OCR with multiple languages, for instance English and French, call: com.qoppa.ocr.TessJNI.performOCR("eng+fra", myPage, 200); com.qoppa.ocr.TessJNI.performOCR("eng+fra", myPage, 200);

Read More

New Languages Supported in OCR

v2015R2 added OCR support for non-Latin and CJK languages. New Latin languages have also been added to the available list of languages. Here is a complete list of newly added OCR languages: New OCR Languages: Afrikaans Albanian – shqip Arabic – العربية Azerbaijani – azərbaycan Basque – euskara Belarusian – беларуская Bengali – বাংলা Bulgarian […]

Read More

2015-12 v2015R2 PDF Library Release Notes

December 19 2015 Version number: v2105R2 Java PDF Libraries: jPDFProcess, jPDFAssemble, jPDFFields, jPDFImages, jPDFPrint, jPDFSecure, jPDFText, jPDFOptimizer API Changes (from previous version) Feature Highlights JPEG2000 image rendering improvements (no more black dots) Lots of Font Improvements, especially around CJK fonts Annotations [PS-2879] – Add setLockedContents / getLockedContents. Read more about Locked Contents property [JPDF-629] – […]

Read More

2015-12 v2015R2 PDF Component Release

December 19 2015 Version number: v2015R2 Java PDF Components: jPDFViewer, jPDFNotes, jPDFEditor API Changes (from previous version) Feature Highlights Quick Search: More Efficient Search for Bigger documents (Find next & previous occurrences) JPEG2000 image rendering improvements (no more black dots) Annotations: Mini Functional Toolbar and Rendering Improvements New Qoppa Advanced Print dialog (with Preview!) more powerful […]

Read More

Resolving connection issues with PDF Automation Server due to firewall

This knowledge base entry is regarding Network Ports and Firewalls when deploying PDF Automation Server. PDF Automation Server opens a number of ports to provide PDF services as well as to manager the server.  The inbound ports that the server listens on, and their defaults are: RMI Registry – This port is used by the […]

Read More

Compressing images to JPEG2000 sometimes logs a “Target bitrate too low” exception

Q: We are using jPDFOptimizer and converting images in PDF document to JPEG2000 format. Could you please explain why we sometimes see the following error in the log? When this happens, the outptut optimized PDF is still fine. java.lang.IllegalArgumentException: Overall target bitrate too low, given the current bit stream header overhead at jj2000.j2k.entropy.encoder.EBCOTRateAllocator.initialize(EBCOTRateAllocator.java:564) at com.sun.media.imageioimpl.plugins.jpeg2000.J2KImageWriter.write(J2KImageWriter.java:370)java.lang.IllegalArgumentException: […]

Read More

How to Resolve Applet ClassNotFoundException – Handshake Failure – HTTPS – New Issue with Java 8 Latest Build

After a recent Java 8 update, our applets started giving us a ClassNotFoundException as though they could not find the main jar for the applet in the classpath (when it is actually present). This is what we find in the Java Console: java.lang.ClassNotFoundException: qoppa.webNotes.PDFWebNotes at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown […]

Read More

Programmatically turning on / off comparison mode in PDF Component

Q: How can I turn on / off the comparison mode in Qoppa’s PDF editing component jPDFEditor? A: The code below will change the view of the PDFEditorBean to a new comparison view with both the current document and a second document in the specified mode. Comparing 2 documents by overlaying them: // load a […]

Read More

Android View to Display / Render PDF Documents

As part of Qoppa’s Android toolkit, there is a class called QPDFViewerView, which is an extensions of FrameLayout and can be included in an app by adding as a View in an Activity. This view is a complete implementation of a PDF viewer, based on the toolkit. the intent of this class is to provide […]

Read More

Android View to Display, Annotate PDF Documents, Sign and Fill PDF forms

As part of Qoppa’s Android toolkit, there is also a class included called QPDFNotesView that extends an Android View. This class can be used within your application to show PDF documents and also provides annotation tools, similar to our qPDF Notes app. Our Android View QPDFNotesView can: Display PDF documents Review and annotate PDFs Digitally […]

Read More

Android PDF Viewer and Annotator Sample Code Using Fragment

As part of Qoppa’s Android toolkit, there is also a class included called QPDFNotesView that extends an Android View. This class can be used within your application to show PDF documents and also provides annotation tools, similar to our qPDF Notes app. Here is sample code using Qoppa’s qPDFToolkit to display and annotate a PDF […]

Read More