To share a Brother HL-L2320D printer from a Windows 11 system using Samba and access it from a Fedora Linux system, follow these steps:
Install Printer on Windows 11:
Enable File and Printer Sharing:
Share the Printer:
BrotherHL2320D
). Note Down the Windows Hostname or IP Address:
Win + R
, type cmd
, and press Enter).ipconfig
to find the IP address of the Windows 11 machine.Install Printer Support Packages: Open a terminal and run:
sudo dnf install samba-client cups system-config-printer
Start and enable the CUPS service:
sudo systemctl enable cups
sudo systemctl start cups
brlaser is available in Fedora's official repositories, so you can install it directly using dnf.
Open a terminal and run:
sudo dnf install brlaser
Open the CUPS web interface:
http://localhost:631
Go to Administration → Add Printer.
When prompted, log in with your system username and password (must be in the lpadmin
group). Optional Add yourself to the group if needed:
sudo usermod -aG lpadmin $USER
Select Windows Printer via Samba or Windows SMB as the connection type.
Enter the Samba URI for the printer:
smb://<WINDOWS_HOSTNAME_OR_IP>/<PRINTER_SHARE_NAME>
Example:
smb://192.168.1.100/BrotherHL2320D
Provide your Windows credentials when prompted (username and password).
When prompted for a driver:
Test the Printer:
Check Samba Connectivity:
smbclient -L //<WINDOWS_IP_OR_HOSTNAME> -U <USERNAME>
smbclient -L //192.168.1.100 -U myusername
Firewall Rules:
On Windows, ensure printer sharing is allowed through the firewall:
On Fedora, ensure Samba services are allowed:
sudo firewall-cmd --permanent --add-service=samba
sudo firewall-cmd --reload
CUPS Logs:
sudo journalctl -u cups
By following these steps, you should be able to share your Brother HL-L2320D printer from Windows 11 and access it from Fedora Linux using Samba.