The help lists both ‘DataWindow.Printer’ and ‘DataWindow.Print.PrinterName’ as ways to specify the printer. The DataWindow source code only has Print.PrinterName.
What is the difference?
I'm having an issue where certain DataWindow objects retrieve extremely slowly when the app is run via Remote Desktop. In one test a retrieve that should have taken 9 seconds took 15 minutes.
The cause of the slowness is due to the default printer chosen by PowerBuilder is one that is redirected from the client machine. I'm trying different methods of changing the default printer to the server's 'Sybase DataWindow PS' printer. This solves the slowness problem. I am restoring the default printer after retrieve so they can print to paper if needed.
This spelling will now appear correctly in the next Framework's GA release 2024 R1 (coming very soon!). ;-)
FYI: The 2024R1 framework is currently in an RC (Release Candidate) mode ..
https://sourceforge.net/projects/stdfndclass/files/Applications/PowerBuilder/OrderEntry/Beta