The Continuing Saga of the ML-2010

I upgraded my CUPS to 1.2 today, and had a bit of trouble with getting the ML-2010 to work with it. Given my other issues with this printer, I thought I would expound on how I fixed yet another problem with this semi-supported printer.

The Samsung printing uses the linuxprint system, which uses a configuration file in an XML format which isn’t specified. In the default install for the Samsung linux tool, it is installed in /usr/local/linuxprinter/linuxprint.cfg with a link from /etc/linuxprint.cfg to it. My file, after being setup, looks like this:

<?xml version=”1.0”?>
<linux root=”/usr/local/linuxprinter” system=”cups”>
<option name=”ghostscript” value=”/usr/bin/gs-esp”/>
<option name=”address” value=”localhost”/>
<option name=”port” value=”631”/>
<option name=”lpr” value=”/usr/bin/lp”/>
<option name=”llpr-default-printer” value=”lp”/>
<printer ppd=”ppd/C/ML-2010spl2.ppd” queue=”lp”>
<option name=”Resolution” value=”600”/>
<option name=”PageSize” value=”Letter”/>
<option name=”InputSlot” value=”AUTO”/>
<option name=”MediaType” value=”PRINTER”/>
<option name=”JCLJamrecovery” value=”RWJOff”/>
<option name=”JCLEconomode” value=”PRINTERDEFAULT”/>
</printer>
</linux>

I discovered the hard way that if this file isn’t there, the filter which is installed (ppmtospl2) doesn’t work that well. In this case, the printer queue is lp. If this file is setup correctly, you can setup CUPS yourself, using the ppd file which is referenced in the linuxprint.cfg file. If you have lost your linuxprint.cfg, I suspect you can just modify the above with the correct ppd - the Samsung package has many of them for different printers. If you don’t want to go that way, you can rerun the /usr/local/linuxprinter/bin/linux-config as before, but you will have to open your CUPS 1.2 server wide open while you are configuring it so that it can add the printer. Also, I had to have a printer existing in the CUPS 1.2 server in order to have the linux-config program work at all. I solved this by just adding a virtual pdf printer (using the package cups-pdf). Even when you get linux-config to add the printer, it will not add it correctly for CUPS 1.2 - the device is incorrect - so you will have to reconfigure it via the web interface and give it the ppd which is in the directory anyway.

At least I have my printer back again.

Comments