How to obtain a PageFormat from a PrintRequestAttributeSet?
This is my first try to print something using Java and i ran into the following problem:
In the Print Dialog a user can set a page margin and orientation, which the Print Dialog stores in a PrintRequestAttributeSet.
What i had expected is a PageFormat constructor that takes a PrintRequestAttributeSet to initialize itself - no such thing.
Is there another way to obtain a PageFormat instance with information from the PrintRequestAttributeSet? How do YOU handle this?
Thanks in advance, Hans