Author: raja.krish | Posted on: 7/17/2008 11:55:34 AM | Views : 440

Hi Guys,

 I went through a lot of sites but could not find a solution. I read that it is not possible to do it unless one writes an activex dll control which would be running in the client end to get that information. I wrote the code to get the default printer name as given below:

 1 Private Declare Function GetProfileString Lib "kernel32.dll" Alias "GetProfileStringA" (ByVal lpAppName As String, ByVal lpKeyName As String, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long) As Long< ...

Go to the complete details ...