Developer Newsletter – July 2015 Email us to be added to Qoppa’s Developer Newsletter distribution.
All posts by admin
Print PDF documents in SAP server withour user interaction
Q: My customer wants to print PDF documents saved in their SAP system with a batch job silently without opening the file on a workstation. A: We don’t think that it is possible to print a PDF in SAP directly via spool. But you can print PDF documents using our command line tool jPDFPrintCLI. Install […]
Command Line Tools
Q: My customer wants to print PDF documents saved in their SAP system with a batch job silently without opening the file on a workstation. A: We don’t think that it is possible to print a PDF in SAP directly via spool. jPDFPrint, our library to print PDF documents comes with source code for a […]
XFA support in Qoppa’s PDF library products
Q: Do Qoppa’s PDF library products support XFA in interactive forms? A: Qoppa’s libraries support the following technology for interactive forms: Acroform PDF Forms: Full support in all our library products for parsing, importing and exporting data, rendering, filling forms visually, assembling, etc…. A Mix of Acroform and Static XFA PDF Forms: Full support in […]
Signing Java Applet
Why and how can I sign my Java applet? When running as an applet, Java is restricted by what it can do. For instance, it can not open files on your local machine or send content to the printer. To get around this, you need to ‘sign’ your applet. When you sign an applet, it […]
Java PDF OCR library sdk
Qoppa offers a PDF OCR solution for Java which supports most languages, including English, German, French, and Spanish as well as Chinese, Japanese and Korean. It is available for Windows®, Mac OS X® and Linux®, in 32 and 64 bit. This is a clean, production-level Java integration of the well-known Tesseract engine with Qoppa’s own advanced […]
Java 1.6 Update 45 is Sooo Buggy
So far, we have identified 3 major issues with Java 1.6 update 45 (32bit and 64bit). Unfortunately. this is the last officially version released for Java 1.6. We recommend using earlier versions of the JVM. We have found that Java 1.6.0_37-b06 is very stable and have been using this version of Java in our desktop PDF editing […]
How many server licenses do I need to purchase?
The information below concerns the licensing of our Java PDF library products and Qoppa PDF Automation Server on a server environment. 1. Identify the number of cores on your server or virtual machine Physical CPU and virtual CPU cores are counted the same. By Using our Applet Run this applet on our website from the server […]
How do your java pdf library products compare?
Many customers ask us why they should choose our Java PDF library products over other PDF library products available on the market and how we compare. Here is our attempt to answer this question.
“Insufficient data for an image” in latest version of Adobe Reader
Note that the latest versions of Adobe Reader / Acrobat 10.1.4 and 9.5.2 have a known issue and users may encounter the following error when opening PDF documents in Adobe’s latest versions of the viewers: “Insufficient data for an image” http://blogs.adobe.com/dmcmahon/2012/08/21/acrobat-insufficient-data-for-an-image-error-after-updating-to-10-1-4-or-9-5-2/Update: This issue has been fixed with the latest version of Reader XI. Adobe is […]
Show Java Console to Debug an Applet
The Java Console will log the Java version, the user home directory, and any error message that occurs while running an applet. Please find instructions below to enable / show the Java Console. Windows: On Windows, you can enable the Java Console using the Java Control Panel (Method 1) or the Java icon displayed in […]
Running in non-GUI / non windowing servers
Q: I am getting the following error when running your library jPDFPrint in our SunOS environment. How can I fix it? Exception in thread "main" java.lang.InternalError: Can’t connect to X11 window server using ‘localhost:0.0’ as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81) […]
Java versions supported / recommended
Q: What is the version of Java Runtime Environment (JRE) required to run Qoppa’s PDF library and component products? And which bit levels are supported? A: Both 32bit and 64bit versions of Java are supported. As of v2021R1, this is the Java version compatibility for Qoppa’s PDF library and component products. Product Compiled With Runs […]
Trusted Certificate Authorities for Digital Signature Validation
Our libraries jPDFSecure, jPDFImages, jPDFProcess, jPDFViewer, jPDFNotes, jPDFEditor and jPDFWeb will trust Java Trusted Certificate Authorities by default when verifying digital signatures contained in PDF document. Through the SignatureSettings class located in qoppa.com.pdf package and its static methods, it is possible to customize the trusted authorities by: Adding your own certificates Removing Java certificates Adding Windows […]
Java 1.7 and Mac OS X
On Mac OS X, with the newly implementation of Java 1.7 by Oracle, we recommend using the latest build available. Many versions have been released in the last year 2012-2013, with lots of bugs fixes and missing features implemented. We still know of one issue with text highlight that affects mostly our components but could […]
Is iText really free?
Q: Is iText really free? A: The answer is simply no. iText can call itself free software in the sense that its code is open source. But iText is now distributed under the AGPL license which is a copyleft license and can be used freely only in applications released under the same AGPL license. Otherwise, iText requires […]
What version of the library am I running?
Q: How do I know what version number of the Qoppa’s PDF library I am running? A: There are 3 ways to figure out what version of the library you are running: Looking inside the JAR file Open our jar file jPDF[Name].jar with Winrar or Winzip, where [Name] stands for the specific library you are […]
Unable to find PDF Trailer
Q: I am getting an error saying “Unable to find PDF Trailer” when trying to open a PDF document. Do you have idea why this might be happening? This KB entry applies to all Qoppa’s PDF libraries and components (Java and Android). A: This error means that our library or component is unable to recognize the […]
Support Policy
Our standard support policy is to respond to queries and issue reports within 2 business days. If the issue is a defect, we respond with an evaluation of how long it will take to fix the defect and we will create a build for you that includes a fix without having to wait for the […]
Re-Branding Qoppa’s PDF libraries and visual components
Question regarding Branding: Can Qoppa’s PDF components be re-branded with our company’s corporate branding? Eg: color themes, logos, icons? Also when running in an applet, can the component be re-signed with our client’s corporate certificate? Answer: Qoppa’s provides libraries and components that you are free to customize to integrate within your java application and applet. […]
Java Printing: Paper Size and Media Trays
Q: How can I tell the printer to use a different media tray, and so a different sized paper according to the PDF? A: Media tray selection in Java is very tricky and does not work as documented. In theory, by setting the media size, Java should get the printer to choose the correct tray. […]
PDF AES 256 encryption
Q: I am trying to work with AES 256 encryption and Qoppa’s Java PDF library is giving the following error: com.qoppa.pdf.PDFException: Illegal key size.A: All our libraries can work with PDF documents and AES 256 encryption – to encrypt or decrypt PDF documents depending on which library you’re using – but they require an extension […]
How to add the new Manifest entries to jar files required when running applets
What are the new manifest entries required for applets? Java 1.7 has recently added new security requirements when running applets. Java now requires additional entries in the manifest files of the jars that the applet use. If these entries are not present, Java will show warning dialogs raising security concerns. Starting with Java 1.7 update […]
Merging comments from multiple reviewers into one PDF
Q: Our environment needs to annotate the same PDFs by more than one person at the same time and all the annotations have to be saved in the root PDF document at the server. Is it possible? A: Yes, it is possible to have multiple people review a document and then merge the comments. Annotations […]
License key not recognized, library running in demo mode
Q: After setting the license key, the library is still running in demo mode, adding a watermark on each page. A: This can happen for the following reasons: Incorrect/Invalid product Your console shows the following Oct 21, 2021 2:45:39 PM com.qoppa.g.b b INFO: License Holder: tsan sam testing INFO: Qoppa Software, LLC – jOfficeConvert v2021R1 – […]
JavaScript Support in Java PDF Libraries and Components
Q: Does Qoppa’s PDF library products support JavaScript? A: Yes, Qoppa’s Java PDF SDK API has support JavaScript. How is JavaScript used in PDF documents? Mostly, JavaScript is used in interactive PDF forms in field actions to calculate the value of fields, validate field data to prevent invalid entry and format special fields such as dates, […]
Free Java PDF library alternative to iText
Are you looking for a free alternative or complement to iText? Qoppa Software offers a suite of PDF library products that are 100% developed in Java. jPDFWriter, Qoppa’s PDF creation library is now free, including for commercial use: jPDFWriter – FREE Java PDF library to create PDF documents Qoppa’s other PDF library products are commercial but […]
New applets requirements with Java 7 Update 51!
This new release changes the deployment requirements for Applet & Web Start applications with two new requirements: Use of the Permissions Manifest attribute. Read more about setting the new manifest entries. Valid code signatures. Read more about signing jars and getting an affordable code signing certificate. Read more about these new security requirements in Java 7 update 51.
Getting a cheap official code signing certificate
Q: Where can I get an affordable code signing certificate to sign my java applet or application? A: We got ours at https://author.tucows.com, the certificate is issued by Comodo, a trusted authority. 1 year Comodo Code Signing Certificate: $75.00 2 year Comodo Code Signing Certificate: $140.00 3 year Comodo Code Signing Certificate: $195.00 Code Signing enables […]
Applet not loading using HTTPS – ClassNotFoundException
Q: We have integrated Qoppa’s java component within an applet to display and review PDF documents. Everything works fine with JRE 1.6 . But with JRE 1.7, the applet can not be loaded (“ClassNotFoundException”) when using HTTPS. Note that we have all the necessary jars in the applet class path. A: Java 1.7 has implemented more security […]