Hi Ninad, thanks for your reply...
The problem is that I dont know exactly what to post... the lines to print are everywhere on the business layer for 5 business docs, this is code:
PrinterJob pj = PrinterJob.getPrinterJob();
... lots and lots of business logic ...
job.setPrintable(invoicePainter);
try {
job.setJobName("invoice");
job.print();
} catch(....) {
loggging....
}
This piece of code is everywhere and the docs do go to the print queue... however I dont know what happens so that the docs only have 2048 bytes of size (only on the linux).
The webapp (struts 1.2.8) just calls a business class to print...
I really dont know what else to say