Project

General

Profile

Support #610

Updated by Daniel Curtis over 9 years ago

This is a guide for setting up a network shared printer on Arch linux using a Raspberry Pi 2. If installing on an original Raspberry Pi, replace armv7h with armv6h accordingly; this guide will  

 h2. Prepare the Environment 

 * Make sure the system is up to date: 
 <pre> 
 pacman -Syu 
 </pre> 

 * Install cups, samba, and some dependencies: 
 <pre> 
 pacman -S cups ghostscript gsfonts samba splix 
 </pre> 

 * (Optional) Add a few optional packages: 
 <pre> 
 pacman -S foomatic-db foomatic-db-engine foomatic-db-nonfree gutenprint 
 </pre> 

 * Install the foomatic-filters-lprng package from the AUR: 
 <pre> 
 yaourt foomatic-filters-lprng 
 </pre> 
 *NOTE*: Edit the PKGBUILD file and add armv7h to the arch parameter: 
 <pre> 
 arch=('i686' 'x86_64' 'armv6h' 'armv7h') 
 </pre> 

 * Start and enable cups at boot: 
 <pre> 
 systemctl enable org.cups.cupsd.service 
 systemctl start org.cups.cupsd.service 
 </pre> 

 * (Optional) Connect to the web interface with an ssh tunnel: 
 <pre> 
 ssh -L 6310:localhost:631 printer.example.com 
 </pre> 
 #* And connect to http://localhost:6310 in a web browser. 

 h2. Install Printer Drivers 

 * Install Samsung Unified Driver: 
 <pre> 
 yaourt samsung-unified-driver 
 </pre> 
 *NOTE*: Edit the PKGBUILD file and add armv7h to the arch parameter: 
 <pre> 
 arch=(i686 x86_64 armel armv6h armv7h) 
 depends=('libxml2' 'libusb-compat' 'foomatic-filters-lprng' 'sane') 
 </pre> 

 * Install Dymo CUPS Driver: 
 <pre> 
 yaourt dymo-cups-driver 
 </pre> 
 *NOTE*: Edit the PKGBUILD file and add armv7h to the arch parameter: 
 <pre> 
 arch=('i686' 'x86_64' 'armv6h' 'armv7h') 
 </pre> 

 h2. Resources 

 * https://wiki.archlinux.org/index.php/CUPS 
 * https://wiki.archlinux.org/index.php/CUPS_printer-specific_problems 
 * https://wiki.archlinux.org/index.php/CUPS_printer_sharing

Back