Re: [JAVA2D] Java Printing Problem

2009-03-29 Thread java2d
Set the attributes in the print job to control page size, orientation, etc. Don't recall the exact syntax at the moment. There are also a couple of printing mechanisms in Java. Use the most recent one. It's a bit more complicated, but more capable and usable. There are tutorials on line. [

Re: [JAVA2D] Java Printing Problem

2009-01-02 Thread java2d
Update: I have continued reading and discovered height MUST be greater than width... so I have tried swaping the values of width and height in "paper.setSize(width, height)" to "paper.setSize(height, width)" and setting "PageFormat.setOrientation(PageFormat.LANDSCAPE)", however now when printin

[JAVA2D] Java Printing Problem

2009-01-02 Thread java2d
Hello everyone I'm new to this forum and I wanted to see if any of you could point me in the right direction regarding some trouble I've been facing to print a document using the "printable" interface. I am developing a system which prints out two kinds of documents. (one is letter size, and th