Thanks for the effort,
On Windows server I got a good response:
C:\Users\Tania>wmic printer list brief
Location Name PrinterState PrinterStatus ShareName SystemName
OneNote for Windows 10 0 3 DESKTOP-AOEBN3S
Microsoft XPS Document Writer 0 3 DESKTOP-AOEBN3S
Microsoft Print to PDF 0 3 DESKTOP-AOEBN3S
Fax 0 3 DESKTOP-AOEBN3S
Canon MP250 series Printer 0 3 CanonMP250 DESKTOP-AOEBN3S
But look what my PC shows with lpd and smd commands:
positivo:/home/sergio # lpd:/192.168.0.107/CanonMP250
bash: lpd:/192.168.0.107/CanonMP250:File or directory not found
positivo:/home/sergio # lpd://hostname/queue
bash: lpd://hostname/queue: File or directory not found
positivo:/home/sergio # lpd If 'lpd' is not a typo, you can use command-not-found to search the package that contains it, like this: cnf lpd
Note: I have Samba installed and I turned off the firewall on both machines
positivo:/home/sergio # cnf lpd
lpd: command not found
positivo:/home/sergio # cnf smb
smb: command not found
positivo:/home/sergio #
But look what my PC shows with lpd and smd commands:
positivo:/home/sergio # lpd:/192.168.0.107/CanonMP250
bash: lpd:/192.168.0.107/CanonMP250:File or directory not found
positivo:/home/sergio # lpd://hostname/queue
bash: lpd://hostname/queue: File or directory not found
positivo:/home/sergio # lpd If 'lpd' is not a typo, you can use command-not-found to search the package that contains it, like this: cnf lpd
They’re not commands!. They are printer URIs that you add as part of the CUPS configuration.