Retreive the vb object "printer" corresponding to the Default Printer

Tuesday Jun 22nd 1999 by André Masson
Share:

This code sample shows how to 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                
Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved