Software Development

How to Generate PDF in Specific Version using JasperReports

java Sort Enum Properties Monitor Directory File Lambda Expression parameter return types Validate XML String XSD ExecutorService AutoCloseable Try-With-Resources Convert LocalDateTime OffsetDateTime Run Codes Before Shutdown XML Tag Lambda PostgreSQL JDBC invoke JavaScript Applet SFTP Batch hang block main thread MySQL JDBC try-with-resources delete Unencrypted SoapFault Apache CXF

This article demonstrates how to generate PDF files in a specific version. Why is there a need for this? This is because some devices – printers, scanners, and etc – can only read and process a 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

 

Got comments, or suggestions? Please visit our Facebook page!

You Might Also Like