Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Try this...

Dim objWMIService As Variant
Dim colPrinters As Variant

Set objWMIService = GetObject( "winmgmts:\\.\root\cimv2" )
Set colPrinters = objWMIService.ExecQuery( "Select * From Win32_Printer Where Default = TRUE" )
Msgbox colPrinters.ItemIndex( 0 ).name


Feedback response number WEBB8NA4PG created by ~Kim Quetnulylen on 11/04/2011

get default printer name (~Lisa Fezjumiso... 3.Nov.11)
. . Link to an FAQ and a request (~Martha Lopjipy... 3.Nov.11)
. . Try this... (~Kim Quetnulyle... 4.Nov.11)
. . . . Any way to set the default printer?... (~Martha Lopjipy... 7.Nov.11)
. . . . . . This is what I do... (~Kim Quetnulyle... 7.Nov.11)
. . . . . . . . Sweet but... (~Martha Lopjipy... 8.Nov.11)
. . You can find it in the windows regi... (~Fritz Ekfoober... 3.Nov.11)
. . . . get default printer name (~Lisa Fezjumiso... 3.Nov.11)
. . . . . . In Domino Designer help just search... (~Fritz Ekfoober... 3.Nov.11)
. . . . . . . . RE: get default printer name (~Lisa Fezjumiso... 8.Nov.11)
. . . . . . . . . . Get and set default printer (~August Fezkist... 9.Nov.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS