Too small page in case of Java Printing API.

View: New views
1 Messages — Rating Filter:   Alert me  

Too small page in case of Java Printing API.

by java2d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have problem with too small print page size using Java 2D Printing API. Despite my printer has 600 x 600 DPI, inside java.awt.print.Printable.print(Graphics, PageFormat, int) I receive page format with 600 x 840 page size.

I have tried to set resolution using javax.print.attribute.PrintRequestAttributeSet and javax.print.attribute.standard.PrinterResolution, but with no result.

Can anybody solve this problem?

Regards,
Karl.
[Message sent by forum member 'karlklin' (karlklin)]

http://forums.java.net/jive/thread.jspa?messageID=353143

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".