- Jason Lipman
- PowerBuilder
- Tuesday, 15 May 2018 03:10 PM UTC
Hello all,
SetPointer(HourGlass!)
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
SetPointer(Arrow!)
Thanks!
Jason Lipman
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.