Hi, I am trying to print out envelope labels via a Java app, I can get it to print out an address on a normal sheet of A4. However envelopes get loaded into the printer length-ways so when the address is printed out it is printed out at 90 degrees to the way it should be. Does any Java genius know how to spin the text I want to print 90 degrees so that the address is printed correctly or is there another way of printing envelope labels correctly? Thanks Dave
I found the javax.print.attribute.standard which has an OrientationRequested class described in the API. I haven't used this myself so I can't help further but it looks a likely candidate for what you need.
Joined: Jun 11, 2002
Hmmm, I tried setting the orientation, because as you said it seems to be the way to go but had no joy. Does anyone else have any ideas?