Printer Sharing

1. On the computer which printer attached

Open Administration printing then add new printer
setup the printer
right-click on the printer then mark on enable and shared boxes
Go to server setting
make sure that “Shared published printer ……” checked
Open terminal then type : sudo apt-get install samba
Then sudo gedit /etc/samba/smb.conf
edit this :

comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = yes
read only = yes
create mask = 0700


comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = yes

restart samba by sudo /etc/init.d/samba restart

2. on the Linux client ( here, I have ubuntu and mint users )

open their Administration – printing
if you see the shared printer on the left panel….just select it
choose internet protocol printer ( ipp ) then configure it out
you may test by test print

3. on the windows client

Open windows explorer
type the computer address where the printer attached
( for example \\ )
Right click on the printer then choose connect
Set up the printer
You may test by test print


HP LaserJet 1020 on Hardy Heron

Frankly, i never know that this printer can’t directly work if we installed it in HH by using direct connection. Otherwise, i always use this printer through network and it works totally well.

When i looked at this problem in google… i was shocked that this issue is there and it was an error from the bundled driver of HH ( i am totally late in figure this out )
So….the solution was I have to replace the bundled driver !!

open Terminal
type sudo bash
apt-get install build-essential { install build-essential }
wget -c
{ to download the driver }
tar zxvf foo2zjs.tar.gz { extract the downloaded driver }
cd foo2zjs { change the working directory }
make { start to build the driver }
./getweb 1020 { get additional firmware }
make install { install the driver }
make install-hotplug { install hotplug }
make cups { restart cups }

done !! and Great Thanks to the resources

Source : and Muhidins Blog