Samba Print Client in Debian-based Linux
The following procedure demonstrates how to enable Debian-based Linux distributions to access printers hosted on old Windows 7 machines via Samba protocols. This process has been tested on Epson L210 Series inkjet printers.
==========
1. Open the Samba configuration file.
user@host: $ sudo nano -c /etc/samba/smb.conf
2. Under "Global Settings", specify the following protocols.
# BEGIN CODE
# ...
[global]
client min protocol = CORE
client max protocol = NT1
# ...
# END CODE
3. Temporarily stop the "Common Unix Printing System" (CUPS) service.
user@host: $ sudo service cups stop
4. Open the CUPS printer configuration file.
user@host: $ sudo nano -c /etc/cups/printers.conf
5. Find and modify (or add) the following directive.
# BEGIN CODE
# ...
# UUID ...
AuthInfoRequired username,password
# This allows the printer service to receive user/pass authentication.
# The words "username,password" must be written as is, not as actual user/pass.
# ...
# END CODE
6. Start the CUPS service again.
user@host: $ sudo service cups start
7. On the desktop environment, look for the printers in "System Tools" or "Administration" or "Preferences" and do the following on the desired printer.
Properties -> Settings -> Device URI -> Change -> Authentication
Password: (Windows pass)
Username: (Windows user)
8. Test the printer connection.
Properties -> Settings -> Print Test Page
==========
Comments
Post a Comment