[Pkg-cups-devel] Bug#351837: cupsys: web interface does not permit use of udev-enhanced devices

Tony Godshall togo at of.net
Tue Feb 7 21:12:25 UTC 2006


Package: cupsys
Version: 1.1.23-12
Severity: wishlist


With two printers, they can come in as /dev/lp0 or as /dev/lp1 depending
on power status.  This results in mismatching encodings and jobs.

Solution is to use udev to map permanent dev names with udev.  On my
system, I have...

tony at sena:/store/new$ ls -l /dev/printers/*
lrwxrwxrwx  1 root root 6 2006-02-07 12:36 /dev/printers/c40ux -> ../lp0
lrwxrwxrwx  1 root root 6 2006-02-07 12:36 /dev/printers/hpoj4215 -> ../lp1

There appears to be no way to set up the above devices in the web
interface (http://localhost:631/printers, Add Printer).

Workaround is to use "first USB printer" and "second USB printer", then
stop CUPS (/etc/init.d/cupsys stop), edit /etc/cups/printers.conf, and
start CUPS (/etc/init.d/cupsys start).

CUPS seems to work just fine with udev-created symlinks to the actual
devices.

I can provide the udev recipe to make the symlinks if anyone thinks it's
relevant.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages cupsys depends on:
ii  adduser             3.79                 Add and remove users and groups
ii  debconf [debconf-2. 1.4.59               Debian configuration management sy
ii  gs-esp              8+8.15rc4.dfsg.1-2.1 The Ghostscript PostScript interpr
ii  libc6               2.3.5-8              GNU C Library: Shared libraries an
ii  libcupsimage2       1.1.23-12            Common UNIX Printing System(tm) - 
ii  libcupsys2          1.1.23-12            Common UNIX Printing System(tm) - 
ii  libgnutls12         1.2.9-2              the GNU TLS library - runtime libr
ii  libpam0g            0.79-3               Pluggable Authentication Modules l
ii  libpaper1           1.1.14-3             Library for handling paper charact
ii  libslp1             1.2.1-3              OpenSLP libraries
ii  patch               2.5.9-2              Apply a diff file to an original
ii  perl-modules        5.8.7-7              Core Perl modules
ii  procps              1:3.2.5-1            /proc file system utilities
ii  xpdf-utils          3.01-2               Portable Document Format (PDF) sui
ii  zlib1g              1:1.2.3-8            compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client           1.1.23-12        Common UNIX Printing System(tm) - 
ii  foomatic-filters        3.0.2-20060113-1 linuxprinting.org printer support 
ii  smbclient               3.0.20b-2+b1     a LanManager-like simple client fo

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: ipp, lpd, parallel, socket, usb




More information about the Pkg-cups-devel mailing list