How I installed the HP Color LaserJet CP4525 printer on my Ubuntu Gnome Linux machine at Aarhus University.
First, make sure you have samba installed
sudo apt-get install samba
Also, you may want to add the following three flags to your /etc/samba/smb.conf:
security = domain
workgroup = uni
...
# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
...
encrypt passwords = yes
Also, if you ever edit the /etc/samba/smb.conf make sure you restart sambda in order to load the new sambda configuration:
sudo service smbd stop
sudo service smbd start
For some reason I’m getting issues when I try to resolve the host name of print.uni.au.dk. However, if I look up the IP and use that then everything seems fine.
ping print.uni.au.dk
Write down the IP of print.uni.au.dk - you’ll be using it later
Now make sure you can actually access the printer:
smbclient -L \\\\10.88.1.141/5125-328-C-1 -W uni -U <username>
Note that I use the actual IP (10.88.1.141) rather than the host name (print.uni.au.dk). Also, make sure you replace <username> with your actual username (e.g. au219464).
Next, install the printer. I used system-config-printer:
system-config-printer
Now proceed by installing the driver using the wizard:
The exact driver is not there but the HP-Color-LaserJet-cp4520 driver works.
My printer configuration is:
Device URI smb://10.88.1.141/5125-328-c-1
Make and Model: HP Color LaserJet cp4520 Series pcl3, hpcups 3.15.7