→ The Lansweeper Customer Excellence Awards 2024 - Submit Your Project Now! Learn More & Enter Here

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
asldesktop
Engaged Sweeper
Hello

Is it possible to have a custom report to show all locally connected printers and the port they are connected to (LPT1 or USB001,USB002 etc)?

I am not familiar with report writing or SQL so any help is appreciated.
1 REPLY 1
Hemoco
Lansweeper Alumni
Try this

Select tblComputers.Computername, tblComputers.ComputerUnique,
tblComputers.Domain, tblComputers.Userdomain, tblComputers.Username,
tblPrinters.Caption, tblPrinters.Portname
From tblComputers Inner Join
tblPrinters On tblComputers.Computername = tblPrinters.Computername