This article is a mirror article of machine translation, please click here to jump to the original article.

View: 1|Reply: 0

[Source] JasperReports configuration compresses the generated PDF file

[Copy link]
Posted on12 seconds ago | | | |
Requirements: Can PDF files generated with templates with JasperReports be compressed?

First of all, the compression effect is related to the template and content, and the compression effect I tested myself is not very ideal (there is compression, but the compression ratio is not that large), as shown in the figure below:



Option 1

Configuring via the .jrxml template, the code is as follows:
Simple and does not affect other templates.

Option 2 (not tested)

By modifying the Java call agent, the global configuration, the code is as follows:
Reference:The hyperlink login is visible.




Previous:Apply for a domain name certificate based on win-acme DNS validation
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com