Printing odyssey 1/3 - use remote windows printer via samba
After having configured the Lexmark printer in Linux we decided that it should also be accessible from the Linux laptop, when the server computer runs in Windows.
A few useful commands with Samba:
nmblookup -A <computer_IP> # list of services
smbclient -L <computer_name> # list of shared resources and printers
smbclient //<computer>/<resource> -U <user_name> # connect
Actually CUPS works nicely with SMB as long as you know how to formulate URI string. The magic syntax is:
smd://user:password@computer/printer_name
Now the printer works ok.
Leave a Reply
You must be logged in to post a comment.