Hello All,
We have a java application including applets, servlets and ejbs. Users
can get reports and print them directly from applets. Our print
methods uses PrinterJob and Graphics2d, imports java.awt.print.*, and
implements Printable.
Each report has different amount of data on a page, so we are using
Graphichs.setFont() with different font sizes , ie. some reports
prints in font size of 5.
The only plugin version I can use without any printing problem is
1.3.1_01. This plugin is quite old, and is started limiting us. I have
downloaded plugin 1.4.2_03 recently, and there are still some problems
when using hp pcl5e and pcl6 printers. Then, I tried to use
docprintjob and docflavor to print pdf and txt files. Then it produced
exceptions. It only accepts AUTOSENSE docflavor.
So, I am really wondering that if I am the only one who could not
print correctly from java ... I am confused about java printing. What
are they trying to do ; make the printing so complex that some lucky
guys can print and others find new programming languages for
theirselves.