Huge Discounts on Mobiles, Books, Cameras, Computers etc: @Flipkart

Friday, February 06, 2015

Converting a USB printer to a network printer

I recently bought a NUC and has been doing cool stuff with it. I have a Brother HL 1110 mono laser printer which supports only USB. So here is how I made it a network printer.

The NUC has Xubuntu 14.10 (based on Ubuntu). So I setup Samba and enabled file and printer sharing. I use GADMIN-SAMBA for easy configuration via UI.

Here is my Samba configuration:

     netbios name = nuc
     server string = Samba file and print server
     workgroup = WORKGROUP
     security = user
     hosts allow = 127. 192.168.
     dns proxy = no
     map to guest = bad user

     path = /mnt/NAS_HDD1/NAS/
     comment = No comment
     read only = no
     browsable = yes
     writable = yes
     guest ok = yes

     path = /var/spool/samba
     printable = yes
     printing = CUPS|LPRNG|...

     path = /srv/samba/Printer_drivers
     comment = Printer Drivers
     writeable = yes

From the remote windows machine I add a new printer, select 'Network' type and give the path as \\hostname\printername  eg: \\\HL1110.

Even if the printer was configured fine, printouts were coming as blank initially.

Go to the Linux driver page of HL1110, and install all three (Driver Install Tool, LPR Printer Driver, CUPS Wrapper printer driver).

Make sure that you run sudo, else the driver won't be installed correctly.
sudo bash linux-brprinter-installer-2.0.0-1 HL-1110

If you want to print from a mobile device or even remotely, add this printer to your Google account via Chrome:

No comments:

Post a Comment