Printing from IDEA?

I have never had to print from any other Java program
so that may be (and probably is) a general Java issue.

Whenever I try to print a source code file in IDEA (and
I have been trying for quite a few years - not the same
file, of course) it ends up with a HUGE rasterized (?)
data to send to the printer. And it takes then forever
to print a reasonably large file. You don't want to
see my colleagues when I accidentally do it during the day.

Is there anything that can be done to improve the
IDEA printing experience?

r.

6 comments
Comment actions Permalink

Richard Nemec wrote:

I have never had to print from any other Java program
so that may be (and probably is) a general Java issue.

Whenever I try to print a source code file in IDEA (and
I have been trying for quite a few years - not the same
file, of course) it ends up with a HUGE rasterized (?)
data to send to the printer. And it takes then forever
to print a reasonably large file. You don't want to
see my colleagues when I accidentally do it during the day.

Is there anything that can be done to improve the
IDEA printing experience?

r.


What is your OS?

Regards,
Vladimir Kondratyev
_____________________
JetBrains

0
Comment actions Permalink

IDEA is printing slow because it prints as image. And it prints as image
because of printing API bug that can be easily reproduced in demo included
with JDK.

launch Font2DTest
Choose font: Monospaced, bold, 12pt.
Method: drawString()

print a page and compare with what you see on the screen: characters on the
page is completely different than those on the screen. It actually chose
different font family for bold variant. It isn't actually even monospaced.

When printing from IDEA one gets confused by different sizes of the string
returned from font metrics and those actually printed and results are just
terrible.
What can we do here (until the fix from Sun) is to print using fast method
when syntax print checkbox is switched off and use slow method when bolds
are enabled.

--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Richard Nemec" <rndzank@attbi.com> wrote in message
news:bgdjqe$rs$1@is.intellij.net...

I have never had to print from any other Java program
so that may be (and probably is) a general Java issue.

>

Whenever I try to print a source code file in IDEA (and
I have been trying for quite a few years - not the same
file, of course) it ends up with a HUGE rasterized (?)
data to send to the printer. And it takes then forever
to print a reasonably large file. You don't want to
see my colleagues when I accidentally do it during the day.

>

Is there anything that can be done to improve the
IDEA printing experience?

>

r.

>


0
Comment actions Permalink

What is your OS?


Win2K

0
Comment actions Permalink

Maxim Shafirov wrote:

What can we do here (until the fix from Sun) is to print using fast method
when syntax print checkbox is switched off and use slow method when bolds
are enabled.


That sounds as a reasonable solution. Thanks for the nice explanation.
r.

0
Comment actions Permalink

Done in 880

--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Richard Nemec" <rndzank@attbi.com> wrote in message
news:bgdpt7$em1$2@is.intellij.net...

Maxim Shafirov wrote:

What can we do here (until the fix from Sun) is to print using fast

method

when syntax print checkbox is switched off and use slow method when

bolds

are enabled.

>

That sounds as a reasonable solution. Thanks for the nice explanation.
r.

>


0
Comment actions Permalink

do you know the bug id of the sun bug? can whe vote for the bug?

0

Please sign in to leave a comment.