Samsung CLP-310N printer on Debian Linux 'Squeeze'

I have been very content with my old HP Laserjet 4L the last years. I even bought a USB→Centronics adapter when I bought a new pc without parallel port. The last few days however it had some problems with the paper cassette. Some small plastic part was broken, and although my glueing kept several days, I eventually had to give up on it. I decided it was time for something new, and I bought a Samsung CLP-310N Color Laserjet for about €110,- after I read that some people got it working on Linux.

Samsung CLP-310N Color Laser Network printer installation attempt

foo2qpdl is a linux printer driver for QPDL protocol (e.g. Samsung CLP-300, Samsung CLP-310, Samsung CLP-315, Samsung CLP-600, Samsung CLP-610, Xerox Phaser 6110) and can be found at

apt-get install wget 
wget -O foo2zjs.tar.gz
?? apt-get build-essential??
apt-get install ghostscript dc gcc make
cd foo2zjs
./getweb 310
apt-get --no-install-recommends install cups
make install

'apt-get install foomatic-rip' doesn't work, but foomatic-rip is included in foomatic-filters:

apt-get install foomatic-filters
Setting up makedev (2.3.1-89) ...
mknod: `mem-': Operation not permitted
make install
make cups
apt-get install sockstat
sockstat -l
root     cupsd                10278    tcp4             *:*                       LISTEN
<code>nano /etc/cups/cupsd.conf
root@vm-stor:~/foo2zjs# /etc/init.d/cups restart

Add an entry in the firewall config, and restart the firewall:

nano /etc/init.d/firewall
iptables -A INPUT -p tcp -i eth0 --dport 631 -m state --state NEW -j ACCEPT
/etc/init.d/firewall restart

Check if the changes to cupsd.conf are active:

sockstat -l
root     cupsd                10451    tcp4             *:*                       LISTEN
root     cupsd                10451    tcp4   <<IP>>:631            *:*                       LISTEN

Now visit http://<<IP>>:631/  (if you are asked for a password, root login + password)
Add your printer<?>

=== TODO below this line ===
Ensure that the recommended side of the print media is facing up in the tray.
what is a filter, spooler, 
meeleveren: cupsd.conf
CHANGETHIS tag in dokuwiki?
samsung_clp-310n_printer_on_debian_linux_squeeze.txt · Last modified: 2017/01/19 00:50 (external edit)

Page Tools