I have a JEditorPane to display HTML page. I am using print() function on this JEditorPane, trying to print out the HTML page. It works, however, it just pints too many pages. If I use regular web browser like IE to open this HTML page and print from there, it is like 50 pages. Using JEditorPane.print() will print 100 pages because the font is larger.
Is there a way to control the font size used in JEditorPane.print() function?