Hello All,
I notice once our application (created in Powerbuilder) is opened; the winspool automatically preloaded the printer drivers.
Is there a way to not preload the printer drivers when the application is opened? Can it load the printer drivers at the later time?
The issue we encounter:
Sometimes, we are unable to open the application (running in Horizon environment). Once we stopped and restarted the winspool service then the application can be opened. What might be the problem?
Example: When I opened Notepad.exe or WinWord.exe; the winspool doesn't get called until I select the Print option.
Any suggestions would be very appreciated.
Thanks,
Kevin
I declared this API call in the Global External Functions.
FUNCTION ULong GetDefaultPrinterW(REF String pszBuffer, REF ULong pcchBuffer) LIBRARY "winspool.drv" ALIAS FOR "GetDefaultPrinterW"
I have code to call GetDefaultPrinterW before any printing process.
Question:
How many time or often the "winspool.drv" get fetched? Once or every time the printing process get called?
Thanks,
Kevin