Retreive the vb object "printer" corresponding to the Default Printer
Paste the following code into it's own BAS module (or convert it to a class if required)
'MS Windows API Function Prototypesprivate Declare Function GetProfileString Lib "kernel32" Alias _ "GetProfileStringA
This article was originally published on June 22, 1999