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

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:

[global]
     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

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

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

[print$]
     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: \\192.168.0.111\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).
http://support.brother.com/g/b/downloadlist.aspx?c=eu_ot&lang=en&prod=hl1110_us_eu_as&os=128

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:
https://support.google.com/cloudprint/answer/1686197?hl=en



No comments:

Post a Comment