sistemi.sanita
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by sistemi.sanita
-
-
help!
I'm trying to create a file PDF / A - 1 with Jaspersoft ireport Designer 5.6.0 . When I create the file from java with the following instruction:
JasperPrint jasperPrint = JasperFillManager.fillReport(jrxml,parametri,dbcon);
OutputStream os = response.getOutputStream(); JRExporter exporter = null;
response.setContentType("application/pdf");
response.setHeader("Content-Disposition", "inline; filename="report.pdf"");
exporter = new JRPdfExporter();
jasperPrint.setProperty("net.sf.jasperreports.export.pdf.exclude.key.TransparentImage", null);
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, os);
exporter.setParameter(JRPdfExporterParameter.PDFA_CONFORMANCE, JRPdfExporterParameter.PDFA_CONFORMANCE_1A);
exporter.setParameter(JRPdfExporterParameter.PDFA_ICC_PROFILE_PATH, "E:\Reports\sRGB_v4_ICC_preference.icc");
exporter.setParameter(JRPdfExporterParameter.IS_TAGGED, Boolean.TRUE);
dbcon.close();
exporter.exportReport();
is properly created a pdf file .
If i test PDF / A - 1 is said to me :
The key Metadata is required but missing.
A device-specific color space (DeviceRGB) without an appropriate output intent is used.
The key S has a value Transparency which is prohibited.
The font Helvetica must be embedded. The document does not conform to the requested standard.
The document contains device-specific color spaces.
The document contains fonts without embedded font programs or encoding information (CMAPs).
The document contains transparency.
The document's meta data is either missing or inconsistent or corrupt.
XML file jrxml I added the following priorities:
<property name="net.sf.jasperreports.export.pdf.tagged" value="true"/><property name="net.sf.jasperreports.export.pdfa.conformance" value="pdfa1a"/><property name="net.sf.jasperreports.export.pdfa.icc.profile.path" value="../sRGB_v4_ICC_preference.icc"/><property name="net.sf.jasperreports.default.pdf.embedded" value="true"/>What's wrong?Thank's. -
I can create PDF with editable fields
-
HELP!!!!
I created a report with Jaspersoft iReport Designer 5.6.0 and the report is successfully opened on my web application ( on different browsers : IE , Firefox , Chrome , etc ) , but does not open on the Android browser . My code is:
JasperPrint jasperPrint = JasperFillManager.fillReport(jrxml,parametri,dbcon);OutputStream os = response.getOutputStream();JRExporter exporter = null;response.setContentType("application/pdf");response.setHeader("Content-Disposition", "inline; filename="report.pdf"");exporter = new JRPdfExporter();exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, os);dbcon.close();exporter.exportReport();os.close();Thank's
create pdf/a-1
in Products
Posted
thank you, I Followed the tutorial but I Following Error:
"Error exporting print... All the fonts must be embedded. This one isn't: Helvetica".
Help!!!!!!!!!!!!!!!!!!!!!