Sunday 6 November 2011

Samsung Colour Laser Printer and Ubuntu Linux

Note:  You might find a more recent post more useful.

I have got sufficiently sick of my Epson inkjet printer suffering from clogged print heads, and noticed how cheap colour laser printers have become, so decided to give one a try.

I settled for a Samsung CLP-325W (w=wireless) colour laser printer.   The reason for this is that Samsung provide linux drivers for it, and I had an old Samsung laser printer a few years ago that worked nicely with linux.

To start with, the CD that came with the printer would not mount on my daughter's Ubuntu 11.04 machine - no idea why, so we downloaded the Samsung unified driver for linux from the Samsung UK support web site.

We installed the driver by running install.sh as root, plugged in the printer and it detected ok and seems to work.  We had to select the "Samsung CLP-300 Series (SPL-C)" driver, because the recommended "CLP-325 foomatic...." one only printed black and white.

So far, so good!

The fun came when I tried to set up wireless printing so I could print to it from my laptop without my daughter's computer being switched on.   The first attempt was to repeat what I had done for the other computer, and install the Samsung unified driver on my laptop.  Unfortunately it refused to detect the printer, even when it was plugged into the USB port on the laptop.   I never found out why and tried a different approach.

I plugged the printer into my ethernet network and re-started it.  I found out that to print the diagnostics you hold the 'cancel' button (with the triangle symbol on it) for a few seconds.  This printed  out a network diagnostic page that said the network type was 'dhcp' and the ip address was 192.0.0.192.   This is odd because my router, which would act as dhcp server should give out addresses 192.168.1.*, so I assumed that it was lying about using dhcp and had a static default address.
Re-configured laptop to use the 192.0.0.* subnet and tried looking for the printer - tried a web browser, ping and nmap, and no sign of it.

Had a look at my router's dhcp list, and realised that the printer had been assigned an ip address by the router, which was not the one on the network diagnostics!!!!!
Re-printed the network diagnostics and got the correct ip address - don't know what happened there.

Pointed a web browser at the printer's IP address and got a nice status web page, with a 'login' option at the top right hand corner of the screen (once I had scrolled across because I couldn't see it on my laptop screen for some reason....).   Had to search on the internet for the default login credentials - found out that it is user name -  "admin", password - "sec00000".

Once logged in, I could set up the network to use a static IP address (so I always know where it is, and connect it to my wireless network).

Disconnected the lan cable from the printer, and sure enough, I can see the printer from my laptop.  Used the Samsung printer configuration tool to set it up as a network printer on the laptop and....it works!!!

phew!

6 comments:

Anonymous said...

You wrote: "We installed the driver by running install.sh as root..."

Just curious, by running as root did you simply do "sudo install.sh" or did you drop down to a root shell first (sudo -i).

If it isn't too much of an effort, have you tried using one of the opensource drivers such as foo2zjs or SpliX?

I have a Samsung CLP-315 that's served me well for two years and am looking to upgrade to either another Samsung color laser or a Brother with PostScript emulation (thus more or less guaranteed Linux support).

Graham Jones said...

Hi
it will have been 'sudo . /install.sh'.
The only other driver I tried was the one that shipped with Ubuntu // Cups which only worked in black and white. I didn't know there were others!
Thanks
Graham

Anonymous said...

silly question, could You possibly tell me how to install Samsung drv for 325W on U 11.04 ? I am trying and dieing. so it goes like sudo and then path ? Where to place this driver ? Thanks...

Graham Jones said...

Hi,
It might be worth looking at a more recent post (http://nerdytoad.blogspot.co.uk/2012/05/more-on-samsung-clp-325w-on-ubuntu.html) - I have got it working with an open-source driver rather than using the Samsung one now.

Graham Jones said...

No idea, sorry - sounds like a much more specialised job than a cheap domestic printer is built for!

Unknown said...

Great post, I really enjoyed the tricks like password and name to get in the printer I had to use the IP that was given from my router, to get in, I found that out from printing the network configuration page, instead of using the IP you mention, you can even get in wireless besides using the network. Now what would make my life easy-er its going to be my permanent reset on refills... Have a nice day