Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Print to PDF

Hi,

Is it possible to set the printer and the paper size and Page format in the macro.

Labels (1)
2 Replies
Not applicable
Author

I did not try it myself, but maybe you can use the following:

Set Application.Printer = Application.Printers("HP LaserJet Series II")
ws.PageSetup.PaperSize = xlPaper11x17

bumin
Partner - Creator II
Partner - Creator II

I tried it  but the macro doesn't accept even the first line

Set Application.Printer = Application.Printers("Bullzip PDF Printer")

ws.PageSetup.PaperSize = xlPaper11x17

is there any syntax error? where  "ws" is defined as a parameter?

any ideas?

thanks

Bumin