Calling PrintGetPrinter() with no printers on the workstation causes (a crash of an application if compiled or the Powerbuilder IDE if run in debug mode).
This is under Powerbuilder 2019 R2 Build 2328.
Calling PrintGetPrinter() with no printers on the workstation causes (a crash of an application if compiled or the Powerbuilder IDE if run in debug mode).
This is under Powerbuilder 2019 R2 Build 2328.
Hi Mateus;
Just use the PrintGetPrinters () command first to see if the related PB App's machine has any default printer assigned. If not, then bypass the PrintGetPrinter command. HTH
Regards ... Chris
Hi
In PB2019 R3 PrintGetPrinter() won't crash anymore (https://www.appeon.com/standardsupport/search/view?id=5553)
Regards
Arthur
I am pretty sure that not having a default printer can effect the layout of datawindow reports, especially in preview mode and when you have controls close to the page border.