one problem with printing in JDK1.2 is that text is not efficiently printed. To
avoid font problems (I assume), printing the letter "x", say, generates a curve
outlining the x with lots of movetos and linetos. This is much more verbose than
the usual postscript "show(x)" command. If you are printing alot of text then
the files can grow enormously (each letter you print expands from taking up
about one byte to taking up hundreds).
the other problem is that when you print a GUI component that doesn't speak
postcript the printing code turns the entire page into a bitmap and sends the
bitmap to the printer. This usually causes *huge* printfiles.
there are several bugs in the bug database about these problem and I think Sun
is working on fixing things. I just hope and pray it happens soon.

Ben Hinkle

> -----Original Message-----
> From: Claudia Zirn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 10, 1999 5:29 AM
> To: [EMAIL PROTECTED]
> Subject: [JAVA2D] Printing Problem with 1.2
>
>
> Hi all,
>
> I have great performance and memory problems with the
> printing classes of 1.2.
>
> Each page of my printout seems to require many passes to
> render it.The print method is called x times with the same
> page index. (It seems that the print method is called for
> every component im my GUI).
>
> Meanwhile the print job is spooling about several minutes.
> At last my graphics to print is about 4 MB. With the
> printing classes of 1.1 the same graphics has 3 KB.
>
> The GUI is implemented with Free Bongo, but I dont't think
> that the Bongo Components cause these problems (Bongo is
> based on AWT). I heard of people with the same problems
> using AWT Components or Swing Components.
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to