Retrieves the printer name of the default printer for the current user on the local computer
#include <WinAPISys.au3>
_WinAPI_GetDefaultPrinter ( )
Success: | String containing the default printer name. |
Failure: | Empty string and sets the @error flag to non-zero, @extended may contains system error: 2 - No default printer |
Search GetDefaultPrinter in MSDN Library.