Convert html view in PDF landscape

Convert html view in PDF landscape

I created a new html view and as you can see in image1.png I added the two buttons (Print, PDF) which are available in the header option...So, in my free flow script now shows

print = true
pdf = true



My question is, how can I change the code to show me the page in landscape mode? Because now it opens the pdf as portrait.

I found this one

Example PDF link with orientation value as landscape: http://creatorexport.zoho.com/sampleapps/customer-support/pdf/Most_Recent_Solution/&zc_PdfSize=Letter

but I am not sure of how can I edit it in my code.