Solved
The message "Print Macro Definition" only shows up when you use the macro action "PrintOut".
To print a report without any confirmations or boxes only use OpenReport.
Example to open a report and print it directly to PDF:
1 Open the report
2 select File/Pagesetup
3 select tab Page
4...