Kaprice
asked on
Read Windows default printer (not Application.printer) in VBA
It appears Access' Printer.DeviceName returns ACCESS' default printer.
I'm looking for a way to read the WINDOWS default printer.
I found THIS which allows me to SET the Windows default printer.
But, I can't find one that READS it.
I'm looking for a way to read the WINDOWS default printer.
I found THIS which allows me to SET the Windows default printer.
Private Declare Function SetDefaultPrinter Lib "winspool.drv" _
Alias "SetDefaultPrinterA" (ByVal pszPrinter As String) As Long
But, I can't find one that READS it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER