get client printer name using javascript RRS feed

  • Question

  • how to get printer name of the printer being used by computer of the client. thanks in advance for the help.
    Tuesday, June 23, 2009 12:14 PM

All replies

  • Hi

    var oShell = new ActiveXObject("WScript.Shell"); 
    sReg = 'HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows\\Device'
    sName = ""
    sName = oShell.RegRead(sRegVal)

    this method only works with IE and might not work as expected if security permission is hight


    Ram.. think BIG
    Thursday, June 25, 2009 10:14 AM

  • Anyone have got the solution? Can you share it with us?
    Sunday, February 20, 2011 1:50 AM