Hi there,

Here is the story,

I have a Java application that launches other applications (using Jacob) to print documents.

Now, only the Java application knows the printing settings to apply therefore, I need to be able to:
  • Set/change the default printer on the OS
  • Set/change the paper name (Letter, A4...)
  • Set/change the orientation (portrait/landscape)


Can that be done and if yes, how ?

PS: I'm a newbie to Java so please, bare with me

PS2: Of course, I'll take any example of code I can get ;)