W
wial
Hi
I am relatively new to Java, and need to create an applet that will
print a document with a specific font-type and font-size.
I succeeded in printing a document, but I don't know how to correctly
specify the font-type and font-size. I searched on the Internet, but
there are many different ways explained and they all seem a bit
cumbersome to me (last time I did printing was with the Visual Basic
Printer object, which is really straightforward).
The font-type and font-size would be valid for the whole document, I
do not need to change them along the way.
Would someone be able to provide me with some code that I can work
with, or at least point me in the right direction?
Thank you
Willem Alberda
I am relatively new to Java, and need to create an applet that will
print a document with a specific font-type and font-size.
I succeeded in printing a document, but I don't know how to correctly
specify the font-type and font-size. I searched on the Internet, but
there are many different ways explained and they all seem a bit
cumbersome to me (last time I did printing was with the Visual Basic
Printer object, which is really straightforward).
The font-type and font-size would be valid for the whole document, I
do not need to change them along the way.
Would someone be able to provide me with some code that I can work
with, or at least point me in the right direction?
Thank you
Willem Alberda