0

How to Generate PDF in Specific Version using JasperReports

Background

This article demonstrates how to generate PDF files in specific version. Why is there a need for this? This is because some devices – printers, scanners, and etc – can only read and process specific version of PDFs. If your devices are considerably old, chances are they can only process older versions of PDF documents.

Software Environment

  • Windows 7 Professional SP1
  • Eclipse – Kepler Release
  • Java 1.7 (1.7.0_67 – Windows x86)
    1. NOTE: Set source target and level is Java 1.6
    2. We have not tested it yet with source target and level 1.7
  • JasperReport 3.1.4

The Codes

Karl San Gabriel

Karl San Gabriel

Java and Enterprise Technologies Expert