0

like the default page orientation(as in images) of print window is Portrait. So how can we change that thing to landscape so when ever we print that page it comes in Landscape orientation. Is there any way to do that.Default view of print windows in chrome

Sooraj Abbasi
  • 110
  • 16

1 Answers1

0

If you are using java print API you can set the page orientation as beloe

pageFormat.setOrientation(PageFormat.LANDSCAPE)

Also this Stackoverflow thread may be useful

Community
  • 1
  • 1
lsiva
  • 473
  • 1
  • 7
  • 16