I am trying to set the paper size to be landscape A5. I am printing from a java application, using the default PrinterJob procedure. I am also printing to cups-pdf. My problem is, no matter what I try, I cannot change the page format to A4 or A5 or whatever ... it is stuck to US Letter.
My question is: is this an OS problem? or related to java ????
When I call
PageFormat pf = job.pageDialog(pf)
The dialog even wouldn't show any other option but US Letter
Update: When I try to print from Command Line, using lp... I can print any size very easily... but I want to do that from within Java...