++ PB 2017 R2
Hello all,
I am writing a script to take in a PSR file, then Save As PDF. It seems the conversion to PDF does not automatically determine portrait/landscape. I'm playing with code to figure that out.
ISSUE: I have many PSR files that were never meant to be printed, and have columns that go up to 5 page widths long. I am playing with the one code change I am aware of to save into PDF with the correct width, but NOTHING seems to change.
Example:
dw_pdf.Modify("DataWindow.Print.Paper.Size=255")
dw_pdf.Modify("DataWindow.Print.CustomPage.Width=22000") //22.000 inches wide
dw_pdf.SaveAs(dw_from_psr, PDF!, FALSE)
And ideas on how to print from PSR to PDF and carry over the widths accurately?
Jason Lipman