title: Pdf in Landscape using pdfBox
body: <p>Currently I am working with PDFBox of Apache to generate pdf. It is working perfectly fine in portrait mode but then my requirement is that 1st two page should be in landscape mode and afterwards all other pages in portrait.</p>
  
  <p>So can anyone please help me on how to create pdf in landscape and achieve this functionality??</p>
  
  <p>Note:I cannot switch from PDFBox to other libraries</p>