I posted a similar question/issue in a previous post, but this is a slightly different situation, but the same unsolved problem.
I think I confused people by talking about "PSR to PDF", rather then just saying "Datawindow to PDF"
Simply, I need to save a dw into NativePDF with a custom width of 43 inches. The datawindow is that wide, and this will never be sent to a printer.
I cannot get SaveAs to accomplish this. No matter what I try, it will save to PDF as multiple pages, rather then one long row.
Here is what I have that is currently not working as I expect with the CustomPage.Width.. Any ideas?
dw_1.Object.DataWindow.Export.PDF.NativePDF.UsePrintSpec = 'Yes'
dw_1.Modify("DataWindow.Print.Paper.Size='255'") // Set custom paper size to inches
dw_1.Modify("DataWindow.Print.CustomPage.Width='42000'") //42.000 inches wide
ls_save_as_location = ls_file_path + "Exception Funds\" + gs_client_code + "_" + String(Today( ), "mmddyy") + ".pdf"
IF dw_1.SaveAs(ls_save_as_location, PDF!, True) = -1 THEN lb_was_error = True