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

Announcements
Mastering Change Data Capture: Read Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Configure printsettings in Macro

Hi All,

I am currently using a Macro to automatically print reports with specified bookmarks.

sub Print

ActiveDocument.RecallDocBookmarkByID "BM06"

ActiveDocument.PrintReport "RP01","HP Kantoor EV2"

ActiveDocument.RecallDocBookmarkByID "BM08"

ActiveDocument.PrintReport "RP01","HP Kantoor EV2"

ActiveDocument.RecallDocBookmarkByID "BM03"

ActiveDocument.PrintReport "RP01","HP Kantoor EV2"

end sub

This works. but the printer prints this on 4 pages, 2 wide to fit the columns, long to fit the rows.

Now i want to tell it to shrink the table to print it on 1 page wide to fit the columns and use as many pages long to fit the rows.

I looked in the API guide and could not find what i needed.

Can you help me with this?

0 Replies