• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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.
 
today's feeble attempt to support the empire
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic