On windows,
Get-Printer -ComputerName \\XXX
will give me a list of printers that exist on that print server. I wanted to accomplish the same\similar thing using a Mac.
The issue\reason:at my workplace, we have articles on how to add a windows network printer on a Mac. However, staffs without a windows machine won't know what the printer name is as we have hundreds of printers.