NSLU2-Linux
view · edit · print · history

DebianSlug.Printing History

Hide minor edits - Show changes to markup

July 01, 2006, at 04:02 PM by downlalaway --
Changed lines 6-7 from:
to:

Downlalway: This was used with udev (i.e. not adding hotplug) and extracting usblp.ko and works great with 3.10-beta DebianSlug -change the ipkg feed to the DebianSlug 3.10-beta one though.

Added lines 37-43:

Downlalaway: Cupsys 1.2.1 apparently now has over zealous security which by default locks out anyone but the slug from the web gui if in /etc/cups/cupsd.conf the 'Allow From localhost' line is present depsite adding other Allow lines. A fix was to replace 'localhost' with the local LAN IP of the slug, but check the cups mailing lists. I also added:

apt-get install cupsys-gutenprint

Giving all the printer drivers, but this is a sizeable download so watch your free space. It may also not be necessary if the slug mainly passes through raw printing from your remote PC's printer driver. I chose IPP printing i.e. to port http://slugIP:631/printers/<slugprintername> since trying previously with samba on a similar box was much slower.

January 29, 2006, at 03:48 PM by endecotp -- Note that dpkg can be forced to install ipk kernel-module packages
Added lines 7-8:

There are two ways of installing the OpenSlug kernel module. The first is to extract the .ipk file using ar:

Changed line 12 from:
  1. Download kernel-module-usblp_*.ipk from http://ipkg.nslu2-linux.org/feeds/openslug/cross/2.6-beta/
to:
  1. Download kernel-module-usblp_*.ipk from the correct feed for your kernel, e.g. http://ipkg.nslu2-linux.org/feeds/openslug/cross/2.7-beta/
Changed line 14 from:

# ar -x kernel-module-usblp_2.6.12.2-r14_nslu2.ipk\\

to:

# ar -x kernel-module-usblp_*.ipk\\

Added lines 18-28:

The alternative is to pass the .ipk file to dpkg. The formats are sufficiently similar that it can be made to work:

  1. Download the .ipk exactly as above.
  2. Install using dpkg:
    # dpkg --force-all -i kernel-module-usblp_*.ipk

You'll see various warnings; it's probably a good idea to see if they look serious!

In either case, continue as follows:

October 03, 2005, at 03:18 PM by markus -- typo
Changed line 23 from:

For further instructons on using CUPS and Ghostscript as a print server see http://www.debonaras.org/wiki/HowTo/InkjetPrintingWithGhostscript

to:

For further instructions on using CUPS and Ghostscript as a print server see http://www.debonaras.org/wiki/HowTo/InkjetPrintingWithGhostscript

October 03, 2005, at 03:17 PM by markus -- Added link to the printing HOWTO page on debonaras wiki
Added line 23:

For further instructons on using CUPS and Ghostscript as a print server see http://www.debonaras.org/wiki/HowTo/InkjetPrintingWithGhostscript

September 22, 2005, at 08:09 PM by Phil Endecott -- Create this page
Added lines 1-22:

Printing to a USB printer using CUPS on OpenDebianSlug

The following recipe for getting CUPS printing working on OpenDebianSlug was posted to the mailing list by Rasjid Wilcox. The difficulty is that kernel modules are required to support USB printers, but these are not packaged for OpenDebianSlug.

Updated by Phil Endecott to suggest hotplug.

  1. Install binutils so you have /usr/bin/ar:
    # apt-get install binutils
    (Alternatively you can do extract the module on another machine that already has ar and copy it over the the slug.)
  2. Download kernel-module-usblp_*.ipk from http://ipkg.nslu2-linux.org/feeds/openslug/cross/2.6-beta/
  3. Extract usblp.ko:
    # ar -x kernel-module-usblp_2.6.12.2-r14_nslu2.ipk
    # mv data.tar.gz /
    # cd /
    # tar -zxvf data.tar.gz
  4. Rebuild the module dependencies:
    # depmod -a
  5. Install cups and hotplug:
    apt-get install cupsys hotplug

To see it work, tail -f /var/log/syslog while you plug in or power on your printer.

view · edit · print · history · Last edited by downlalaway.
Based on work by endecotp and markus.
Originally by Phil Endecott.
Page last modified on July 01, 2006, at 04:02 PM