VBA Macro for page setup

I use “Save as PDF” in my macro. Fairly regularly I have to print to pdf by hand to avoid the problem listed below.

edit: After re-reading the post, it wasn’t consistently solved by printing to PDF, but I encounter this regularly, and that is my typical fix.