Difference between revisions of "Samsung ML-1640"

From ArchWiki
Jump to: navigation, search
(Created page with '==Introduction== Setting up Samsung ML-1640 printer on Archlinux')
 
(Samsung-ml-1640 printing via internet windows series)
Line 1: Line 1:
==Introduction==
+
=Introduction=
Setting up Samsung ML-1640 printer on Archlinux
+
Samsung ML-1640 by SAMSUNG does not come defaulted by Windows XP. It uses SPL (Samsung Printer Language), but working with [[CUPS]] using SpliX V. 2.0.0. There are original drivers by "Samsung". The difference between ML-1640 and ML-2245 is that in ML-1640, printing via Windows client is messy thus http://ipaddress:631/printers/Samsung_ML-1640_Series is used by me to print, enable the permission allow printing from internet and you may edit the permission in hosts.allow and hosts.deny in /etc/ to disable global printing.
 +
 
 +
=Installation=
 +
'''First''', install CUPS and SPL drivers (e.g. with "pacman")
 +
# pacman -Ss cups
 +
extra/cups 1.3.9-4
 +
:The CUPS Printing System
 +
extra/cups-pdf 2.4.8-1
 +
:PDF printer for cups
 +
...
 +
community/splix 2.0.0-1
 +
:CUPS drivers for SPL (Samsung Printer Language) printers
 +
...
 +
 +
# pacman -Sy extra/cups extra/cups-pdf community/splix
 +
...
 +
'''Second''' configure the CUPS up (e. g. [[CUPS|look here]], desu) and add your ML-1640 [http://localhost:631 there (http://localhost:631)]:
 +
(Administration) -> (Printers/Add Printer)
 +
But unfortunaly there are no filters for CUPS in original community/splix package!
 +
==So, '''Third''' - '''Installation Necessary filter(s) Manually'''==
 +
Download Original Samsung Unified Linux Driver (27.2 MB) from [http://www.samsung.com/products/computers/printers/laser/ml-2245/?tab=download here] (excuseme, page is in russian, but just roll it some down, and you will understand what you need).
 +
Unpack the tarball
 +
$ tar -xzvf UnifiedLinuxDriver.tar.gz
 +
...
 +
$ ls -l
 +
...
 +
-rw-r--r-- 1 a users 30149710  2 00:45 UnifiedLinuxDriver.tar.gz
 +
drwxr-xr-x 3 a users    4096  6 04:32 cdroot
 +
$ ls -l cdroot/
 +
итого 8
 +
drwxr-xr-x 5 a users 4096  6 04:32 Linux
 +
-r-xr-xr-x 1 a users  60  26 17:47 autorun
 +
$ ls -l cdroot/Linux/
 +
итого 136
 +
-r-xr-xr-x 1 a users  3451  26 17:47 Installer.htm
 +
-r-xr-xr-x 1 a users  204  17  2007 OEM.ini
 +
-r-xr-xr-x 1 a users  3825  26 17:47 check_installation.sh
 +
drwxr-xr-x 8 a users  4096  6 04:32 i386
 +
-r-xr-xr-x 1 a users 52321  26 17:47 install.sh
 +
drwxr-xr-x 5 a users  4096  6 04:32 noarch
 +
-r-xr-xr-x 1 a users 52321  26 17:47 uninstall.sh
 +
drwxr-xr-x 8 a users  4096  6 04:32 x86_64
 +
 
 +
'''cdroot/Linux/${arch}''' - ${arch} is i386 or x86_64 - For example,
 +
ls -l cdroot/Linux/x86_64/at_root/usr/lib64/cups/filter/
 +
  1560
 +
-rwxr-xr-x 1 a users 608624  29  2008 libscmssc.so
 +
-rwxr-xr-x 1 a users 632192  29  2008 libscmssf.so
 +
-rwxr-xr-x 1 a users  13672  17 17:53 pscms
 +
-rwxr-xr-x 1 a users  65448  17 17:53 rastertosamsunginkjet
 +
-rwxr-xr-x 1 a users  44328  17 17:53 rastertosamsungpcl
 +
-rwxr-xr-x 1 a users  69216  17 17:53 rastertosamsungspl
 +
-rwxr-xr-x 1 a users 132936  17 17:53 rastertosamsungsplc
 +
 
 +
There are our filters!
 +
 
 +
Install necessary filter manually, e.g. for ML-2245
 +
# cp /cdroot/Linux/x86_64/at_root/usr/lib64/cups/filter/rastertosamsungspl \
 +
  /usr/lib/cups/filter/
 +
# chown root:root /usr/lib/cups/filter/rastertosamsungspl
 +
# chmod 644 /usr/lib/cups/filter/rastertosamsungspl
 +
 
 +
That`s all. Installation is over, by theory - you are able to print now :)
 +
 
 +
 
 +
[[Category:Printers_(English)]]
 +
[[Category:HOWTOs_(English)]]
 +
== Source ==
 +
[http://wiki.archlinux.org/index.php/Samsung_ML-2245 Samsung_ML-2245]

Revision as of 00:01, 14 January 2010

Introduction

Samsung ML-1640 by SAMSUNG does not come defaulted by Windows XP. It uses SPL (Samsung Printer Language), but working with CUPS using SpliX V. 2.0.0. There are original drivers by "Samsung". The difference between ML-1640 and ML-2245 is that in ML-1640, printing via Windows client is messy thus http://ipaddress:631/printers/Samsung_ML-1640_Series is used by me to print, enable the permission allow printing from internet and you may edit the permission in hosts.allow and hosts.deny in /etc/ to disable global printing.

Installation

First, install CUPS and SPL drivers (e.g. with "pacman")

# pacman -Ss cups
extra/cups 1.3.9-4
:The CUPS Printing System
extra/cups-pdf 2.4.8-1
:PDF printer for cups
...
community/splix 2.0.0-1
:CUPS drivers for SPL (Samsung Printer Language) printers
...

# pacman -Sy extra/cups extra/cups-pdf community/splix
...

Second configure the CUPS up (e. g. look here, desu) and add your ML-1640 there (http://localhost:631):

(Administration) -> (Printers/Add Printer) 

But unfortunaly there are no filters for CUPS in original community/splix package!

So, Third - Installation Necessary filter(s) Manually

Download Original Samsung Unified Linux Driver (27.2 MB) from here (excuseme, page is in russian, but just roll it some down, and you will understand what you need). Unpack the tarball

$ tar -xzvf UnifiedLinuxDriver.tar.gz
...
$ ls -l
...
-rw-r--r-- 1 a users 30149710   2 00:45 UnifiedLinuxDriver.tar.gz
drwxr-xr-x 3 a users     4096   6 04:32 cdroot
$ ls -l cdroot/
итого 8
drwxr-xr-x 5 a users 4096   6 04:32 Linux
-r-xr-xr-x 1 a users   60  26 17:47 autorun
$ ls -l cdroot/Linux/
итого 136
-r-xr-xr-x 1 a users  3451  26 17:47 Installer.htm
-r-xr-xr-x 1 a users   204  17  2007 OEM.ini
-r-xr-xr-x 1 a users  3825  26 17:47 check_installation.sh
drwxr-xr-x 8 a users  4096   6 04:32 i386
-r-xr-xr-x 1 a users 52321  26 17:47 install.sh
drwxr-xr-x 5 a users  4096   6 04:32 noarch
-r-xr-xr-x 1 a users 52321  26 17:47 uninstall.sh
drwxr-xr-x 8 a users  4096   6 04:32 x86_64

cdroot/Linux/${arch} - ${arch} is i386 or x86_64 - For example,

ls -l cdroot/Linux/x86_64/at_root/usr/lib64/cups/filter/
 1560
-rwxr-xr-x 1 a users 608624  29  2008 libscmssc.so
-rwxr-xr-x 1 a users 632192  29  2008 libscmssf.so
-rwxr-xr-x 1 a users  13672  17 17:53 pscms
-rwxr-xr-x 1 a users  65448  17 17:53 rastertosamsunginkjet
-rwxr-xr-x 1 a users  44328  17 17:53 rastertosamsungpcl
-rwxr-xr-x 1 a users  69216  17 17:53 rastertosamsungspl
-rwxr-xr-x 1 a users 132936  17 17:53 rastertosamsungsplc

There are our filters!

Install necessary filter manually, e.g. for ML-2245

# cp /cdroot/Linux/x86_64/at_root/usr/lib64/cups/filter/rastertosamsungspl \
  /usr/lib/cups/filter/
# chown root:root /usr/lib/cups/filter/rastertosamsungspl
# chmod 644 /usr/lib/cups/filter/rastertosamsungspl

That`s all. Installation is over, by theory - you are able to print now :)

Source

Samsung_ML-2245