• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jasperprint Object size increasing at the time of print

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
We are using jasperreport 1.2.7 version for generation & print of reports.
Whenever we print the reports the size of object in print queue increase 10
times the acutal estimated size of the data.
We tried using PDFExporter to export to pdf and then print, this time size
is almost of the same .
Need to know what could be the problem while using JRPrintServiceExporter .

Code base for building jasperprint from datasource


Following for print jasperprint using exporter.



Need Help

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It can be fonts/coding problem. We had similar issue with pdf docs which were generated using FOP (and also Jasper) and beeing sent to net printer and over the network.
Some of documents generated had 16MB! So sending document to print from several desktops last forever.
It was because we were using fonts not embedded. When you insert even one italic character your document will carry whole set of fonts inside it . National characters also increase
weight of pdf - that character it is treated as bitmap. What we did was to simplify documents layout and save it each time locally - not having to send it over network.
 
reply
    Bookmark Topic Watch Topic
  • New Topic