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 […]
All posts by admin
Adobe Reader DC displays weird characters for embedded fonts when zooming
We found today a weird issue in the way Adobe Reader DC and Adobe Acrobat render some embedded fonts at certain zoom level. We first thought this was an Adobe bug but looking further into this issue, we found out that it was an issue with bitmap font tables being preserved by jWordConvert when subsetting […]
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 […]
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) { // […]
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 […]
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 […]
Preserving page breaks when converting a text file to a PDF document
Q: Is there a way to have page breaks read in a .txt file when converting to PDF using Qoppa PDF Automation Server? A: When converting text files to PDF files, PDF Automation Server will create a new page when encountering a page break character (character 12 Form Feed). PAS will also automatically paginate / […]
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 […]
Resizing or Scaling PDF Pages (Paper Size and Content) Programmatically in Vector Format
Q: Is there a way to resize a PDF in order to scale non-letter-size PDFs to 8.5 x 11 PDFs using Qoppa’s PDF library jPDFProcess? A: Yes, there is. Version v2017R1 and later jPDFProcess now has a direct API to resize pages in a PDF. Version v2016R1 and earlier In previous versions, it was possible […]
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 […]
How to resolve Firefox “Java Plugin has Crashed” Error when running applets
If you see this error when trying to run an applet in Firefox: most probably this issue is due to Firefox blocking the Java plugin because it is “outdated”. To resolve this, try the following: Update your Java Plugin to the latest version Update Firefox to the latest version Then restart Firefox and try again! […]
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) […]
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 […]
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 / […]
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 […]
Applets: IE11 not seeing the latest version of Java and redirecting to Oracle
Q: We are currently upgrading all machines to IE11 and JRE 8 u66. Even though we have the latest version of Java, when we select a document to annotate it is redirecting to the Oracle home page. A: Sometimes, even after installing the latest version of Java, it will still not be recognized in Internet […]
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 […]
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);
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 […]
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] – […]
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 […]
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 […]
PDF Annotations and Fields: Read Only versus Locked versus Locked Contents
Below are the descriptions listed in the PDF Reference 1.7 that I am putting here as a reference in determining how we should handle these fields. TABLE 8.16 Annotation flags ReadOnly (PDF 1.3) If set, do not allow the annotation to interact with the user. The annotation may be displayed or printed (depending on the […]
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: […]
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 […]
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 […]
Convert your applet from HTML to Webstart jnlp easily (without changing your applet code)
With browsers being more and restrictive when it comes to running applets, it is recommended to move your applet to jnlp. If you have existing applets, you do not need to change any Java line to launch with Webstart (jnlp). You can use the applet-desc tag within the jnlp file. For example, we have converted […]
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 […]
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 […]
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 […]