Debian Bug report logs - #618640
RFP: capt -- first-generation Canon winprinter (e.g. LBP-1120) support

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: Rustom Mody <rustompmody@gmail.com>

Date: Wed, 16 Mar 2011 02:54:01 UTC

Severity: wishlist

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, rustompmody@gmail.com, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#618533; Package gs-esp. (Wed, 16 Mar 2011 02:54:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rustom Mody <rustompmody@gmail.com>:
New Bug report received and forwarded. Copy sent to rustompmody@gmail.com, Debian Printing Team <debian-printing@lists.debian.org>. (Wed, 16 Mar 2011 02:54:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Rustom Mody <rustompmody@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gs-esp has disappeared
Date: Wed, 16 Mar 2011 08:23:29 +0530
Package: gs-esp
Version: 8.71~dfsg2-9
Severity: normal

In a normal upgrade aptitude removed the canon printer driver cndrvcups-common

I find it has a dependency on gs-esp which has disappeared from the archive.
Downloading it by hand and installing it with dpkg -i gets back the canon
driver



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages gs-esp depends on:
ii  ghostscript                  9.01~dfsg-2 interpreter for the PostScript lan
ii  ghostscript-x                9.01~dfsg-2 interpreter for the PostScript lan

gs-esp recommends no packages.

gs-esp suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#618533; Package gs-esp. (Wed, 16 Mar 2011 03:12:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Wed, 16 Mar 2011 03:12:03 GMT) Full text and rfc822 format available.

Message #10 received at 618533@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Rustom Mody <rustompmody@gmail.com>
Cc: 618533@bugs.debian.org
Subject: Re: gs-esp has disappeared
Date: Tue, 15 Mar 2011 22:08:47 -0500
Hi,

Rustom Mody wrote:

> In a normal upgrade aptitude removed the canon printer driver cndrvcups-common
>
> I find it has a dependency on gs-esp

What printer do you use?  Is it listed at [1]?

cndrvcups-common from [2] does not seem to request gs-esp by name.
What does "apt-cache show cndrvcups-common" say for you?  (I'm trying
to figure out whether we need to document how to pretend to have
gs-esp using "equivs" or whether a simple Provides would work.)

Thanks for reporting,
Jonathan

[1] http://www.openprinting.org/printers
[2] http://kmuto.jp/debian/mtu/pool/main/c/cndrvcups-common/cndrvcups-common_1.30-1.dsc




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#618533; Package gs-esp. (Wed, 16 Mar 2011 04:24:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rustom Mody <rustompmody@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Wed, 16 Mar 2011 04:24:03 GMT) Full text and rfc822 format available.

Message #15 received at 618533@bugs.debian.org (full text, mbox):

From: Rustom Mody <rustompmody@gmail.com>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: 618533@bugs.debian.org
Subject: Re: gs-esp has disappeared
Date: Wed, 16 Mar 2011 09:51:46 +0530
On Wed, Mar 16, 2011 at 8:38 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> Hi,
>
> Rustom Mody wrote:
>
>> In a normal upgrade aptitude removed the canon printer driver cndrvcups-common
>>
>> I find it has a dependency on gs-esp
>
> What printer do you use?  Is it listed at [1]?
>
> cndrvcups-common from [2] does not seem to request gs-esp by name.
> What does "apt-cache show cndrvcups-common" say for you?
----------------------------------
$ apt-cache show cndrvcups-common
Package: cndrvcups-common
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 3072
Maintainer: Canon Inc. <sup-debian@list.canon.co.jp>
Architecture: i386
Version: 2.20-1
Depends: libatk1.0-0 (>= 1.7.2), libc6 (>= 2.3.2.ds1-21), libglade2-0
(>= 1:2.4.2-2), libglib2.0-0 (>= 2.6.0), libgtk2.0-0 (>= 2.6.0),
libpango1.0-0 (>= 1.8.1), libxml2 (>= 2.6.16), zlib1g (>= 1:1.2.1),
cupsys | cups, gs-esp, libcups2 | libcupsys2 (>= 1.1.23)
Description: Canon Printer Driver Common Modules Ver.2.20
 Canon Printer Driver Common Modules.

--------------------------


> (I'm trying
> to figure out whether we need to document how to pretend to have
> gs-esp using "equivs" or whether a simple Provides would work.)

What would it take to get cndrvcups-capt    cndrvcups-common into the
debian repos?
[I would like to try my hand at some debian packaging if its not
entirely outside reach of my pea-sized-brain :-) ]

>
> Thanks for reporting,

Thanks for answering!

> Jonathan
>
> [1] http://www.openprinting.org/printers
> [2] http://kmuto.jp/debian/mtu/pool/main/c/cndrvcups-common/cndrvcups-common_1.30-1.dsc
>




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#618533; Package gs-esp. (Wed, 16 Mar 2011 04:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Wed, 16 Mar 2011 04:51:03 GMT) Full text and rfc822 format available.

Message #20 received at 618533@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Rustom Mody <rustompmody@gmail.com>
Cc: 618533@bugs.debian.org, 武藤 健志 <kmuto@debian.org>
Subject: Re: gs-esp has disappeared
Date: Tue, 15 Mar 2011 23:48:22 -0500
Rustom Mody wrote:

> Depends: libatk1.0-0 (>= 1.7.2), libc6 (>= 2.3.2.ds1-21), libglade2-0
[...]
> cupsys | cups, gs-esp, libcups2 | libcupsys2 (>= 1.1.23)

Ah, good --- it's an unversioned dependency, so a Provides could work.
Does the driver work ok after running the following?

-- 8< -- cut here ---
apt-get install equivs
cat >fake-gs-esp.control <<\EOF
Package: fake-gs-esp
Provides: gs-esp
EOF
equivs-build fake-gs-esp.control
dpkg -i fake-gs-esp_1.0_all.deb
-- >8 --

> What would it take to get cndrvcups-capt    cndrvcups-common into the
> debian repos?
> [I would like to try my hand at some debian packaging if its not
> entirely outside reach of my pea-sized-brain :-) ]

Mm, not sure.  Is it freely distributable?  Cc-ing Kenshi Muto, who
might have some advice.

Thanks again.
Jonathan




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#618533; Package gs-esp. (Thu, 17 Mar 2011 05:24:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rustom Mody <rustompmody@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Thu, 17 Mar 2011 05:24:05 GMT) Full text and rfc822 format available.

Message #25 received at 618533@bugs.debian.org (full text, mbox):

From: Rustom Mody <rustompmody@gmail.com>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: 618533@bugs.debian.org
Subject: Re: gs-esp has disappeared
Date: Thu, 17 Mar 2011 10:51:19 +0530
On Wed, Mar 16, 2011 at 10:18 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> Rustom Mody wrote:
>
>> Depends: libatk1.0-0 (>= 1.7.2), libc6 (>= 2.3.2.ds1-21), libglade2-0
> [...]
>> cupsys | cups, gs-esp, libcups2 | libcupsys2 (>= 1.1.23)
>
> Ah, good --- it's an unversioned dependency, so a Provides could work.
> Does the driver work ok after running the following?
>
> -- 8< -- cut here ---
> apt-get install equivs
> cat >fake-gs-esp.control <<\EOF
> Package: fake-gs-esp
> Provides: gs-esp
> EOF
> equivs-build fake-gs-esp.control
> dpkg -i fake-gs-esp_1.0_all.deb
> -- >8 --

Ok works.
Just for the record (restating the obvious??)
Before the dpkg -i above I removed (purge) the cndrvcups-capt
cndrvcups-common and gs-esp packages.

Dropped Kenshi Muto cc since he probably (assuming  he is in Japan)
has bigger problems right now than bugs reported by pesky debian users
:-)




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#618533; Package gs-esp. (Thu, 17 Mar 2011 05:34:17 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Thu, 17 Mar 2011 05:34:17 GMT) Full text and rfc822 format available.

Message #30 received at 618533@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Rustom Mody <rustompmody@gmail.com>
Cc: 618533@bugs.debian.org, ghostscript@packages.debian.org
Subject: Re: gs-esp has disappeared
Date: Thu, 17 Mar 2011 00:32:23 -0500
reassign 618533 ghostscript 8.71~dfsg2-9
retitle 618533 ghostscript: please add Provides: gs-esp
severity 618533 wishlist
quit

Rustom Mody wrote:

> Ok works.

Thanks.  Jonas, do you think it would make sense to add "Provides:
gs-esp" to the ghostscript package to support obsolete and out-of-tree
drivers like this one?

Rustom, I would still be curious to hear whether your printer is
listed at <http://www.openprinting.org/printers> and what driver it
recommends.

> Dropped Kenshi Muto cc since he probably (assuming  he is in Japan)
> has bigger problems right now than bugs reported by pesky debian users

Quite possible. :/

Regards,
Jonathan




Bug reassigned from package 'gs-esp' to 'ghostscript'. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 05:34:18 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions ghostscript/8.71~dfsg2-9. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 05:34:19 GMT) Full text and rfc822 format available.

Bug Marked as found in versions ghostscript/8.71~dfsg2-9. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 05:34:20 GMT) Full text and rfc822 format available.

Changed Bug title to 'ghostscript: please add Provides: gs-esp' from 'gs-esp has disappeared' Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 05:34:20 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 05:34:21 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#618533; Package ghostscript. (Thu, 17 Mar 2011 05:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rustom Mody <rustompmody@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Thu, 17 Mar 2011 05:51:03 GMT) Full text and rfc822 format available.

Message #45 received at 618533@bugs.debian.org (full text, mbox):

From: Rustom Mody <rustompmody@gmail.com>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: 618533@bugs.debian.org, ghostscript@packages.debian.org
Subject: Re: gs-esp has disappeared
Date: Thu, 17 Mar 2011 11:19:10 +0530
On Thu, Mar 17, 2011 at 11:02 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> reassign 618533 ghostscript 8.71~dfsg2-9
> retitle 618533 ghostscript: please add Provides: gs-esp
> severity 618533 wishlist
> quit
>
> Rustom Mody wrote:
>
>> Ok works.
>
> Thanks.  Jonas, do you think it would make sense to add "Provides:
> gs-esp" to the ghostscript package to support obsolete and out-of-tree
> drivers like this one?
>
> Rustom, I would still be curious to hear whether your printer is
> listed at <http://www.openprinting.org/printers> and what driver it
> recommends.

My printer is Canon LBP-1210
Cant see it here -- closest I can see is
http://www.openprinting.org/printer/Canon/Canon-LBP-1120

Strangely when googling for
LBP 1210 www.openprinting.org
I seem to get a number of openprinting.org hits.
Clicking on any of them *even in the google cache* says printer not found
???




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#618533; Package ghostscript. (Thu, 17 Mar 2011 06:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Thu, 17 Mar 2011 06:51:03 GMT) Full text and rfc822 format available.

Message #50 received at 618533@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Rustom Mody <rustompmody@gmail.com>
Cc: 618533@bugs.debian.org
Subject: CAPT printers (Re: gs-esp has disappeared)
Date: Thu, 17 Mar 2011 01:49:06 -0500
Rustom Mody wrote:

> My printer is Canon LBP-1210
> Cant see it here -- closest I can see is
> http://www.openprinting.org/printer/Canon/Canon-LBP-1120

Thanks.

To summarize, this is a GDI winprinter with undocumented protocol
(Canon Advanced Printing Technology rather than CAPT2 or CAPT3).  It
would be very interesting to hear whether Nicolas Boichat's capt
driver[1] works, and ideally to package it for Debian.  If you have
any questions, I'd be glad to help with this. :)

Canon's driver[2] does not seem to come with complete source.  It has
many components.  The license allows

 * various boring things (storage, installation, execution,
   public demos)
 * modification, but only for one's own use
 * reverse engineering, at least for the sake of debugging
   modifications of the above sort
 * redistribution under the same terms

It is clearly not free software but this looks like a good candidate
for distribution in the non-free archive that accompanies Debian.  (I
_think_ distribution along with a patch might even be allowed, but
presumably it wouldn't come to that anyway).  It is not obvious to me
whether distributing only part of the driver (say, libs/captfilter
without libcncaptnpm) is allowed.

The promisingly named pstocapt ("postscript to capt") program just
runs

	/usr/bin/gs -r<resolution> -dNOPROMPT -dSAFER -sDEVICE=pgmraw \
		-sOutputFile=-

to get the image in greyscale and then passes that to the binary-only
libs/captfilter --- presumably it would be possible to learn something
by feeding grayscale images into that program.

I wonder if there is a project out there dedicated to collecting
information from reverse-engineering the CAPT protocol.

[1] http://www.boichat.ch/nicolas/capt/
[2] http://software.canon-europe.com/software/0040567.asp




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#618533; Package ghostscript. (Thu, 17 Mar 2011 07:03:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Thu, 17 Mar 2011 07:03:05 GMT) Full text and rfc822 format available.

Message #55 received at 618533@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Rustom Mody <rustompmody@gmail.com>
Cc: 618533@bugs.debian.org, cups@packages.debian.org
Subject: Coordinating work on supporting CAPT printers
Date: Thu, 17 Mar 2011 01:59:39 -0500
clone 618533 -1
reassign -1 cups 1.4.6-2
retitle -1 CAPT (first-generation Canon winprinters --- e.g. LBP-1120) support
tags -1 + upstream
quit

Rustom Mody wrote:

> My printer is Canon LBP-1210
> Cant see it here -- closest I can see is
> http://www.openprinting.org/printer/Canon/Canon-LBP-1120

Hmm, while at it let's track "out of the box" support for that as a
separate bug.

CUPS maintainers, please feel free to reassign to some other package
as appropriate.

Thanks.
Jonathan




Bug 618533 cloned as bug 618640. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 07:03:05 GMT) Full text and rfc822 format available.

Bug reassigned from package 'ghostscript' to 'cups'. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 07:03:08 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions ghostscript/8.71~dfsg2-9. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 07:03:09 GMT) Full text and rfc822 format available.

Bug Marked as found in versions cups/1.4.6-2. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 07:03:09 GMT) Full text and rfc822 format available.

Changed Bug title to 'CAPT (first-generation Canon winprinters --- e.g. LBP-1120) support' from 'ghostscript: please add Provides: gs-esp' Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 07:03:10 GMT) Full text and rfc822 format available.

Added tag(s) upstream. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 17 Mar 2011 07:03:11 GMT) Full text and rfc822 format available.

Severity set to 'important' from 'wishlist' Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Mon, 17 Oct 2011 03:54:12 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>:
Bug#618640; Package cups. (Fri, 13 Jul 2012 19:36:42 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>. (Fri, 13 Jul 2012 19:36:42 GMT) Full text and rfc822 format available.

Message #74 received at 618640@bugs.debian.org (full text, mbox):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Rustom Mody <rustompmody@gmail.com>
Cc: 618640@bugs.debian.org, wnpp@packages.debian.org
Subject: Re: Coordinating work on supporting CAPT printers
Date: Fri, 13 Jul 2012 14:20:28 -0500
retitle 618640 RFP: capt -- first-generation Canon winprinter (e.g. LBP-1120) support
tags 618640 - upstream
reassign 618640 wnpp
affects 618640 = cups foomatic-db
quit

Jonathan Nieder wrote:
> Rustom Mody wrote:

>> http://www.openprinting.org/printer/Canon/Canon-LBP-1120
>
> Hmm, while at it let's track "out of the box" support for that
[...]
> CUPS maintainers, please feel free to reassign to some other package
> as appropriate.

Looks like what it needs is packaging, so reassigning.

 Package name    : capt
 Version         : 0.4
 Upstream        : Nicolas Boichat <nicolas@boichat.ch>
                   Vivian Brégier <Vivian DOT Bregier AT are DASH ata DOT org>
 Upstream status : All bug reports should come with patches.
 URL             : http://www.boichat.ch/nicolas/capt/
                   http://www.are-ata.org/debian/capt/
 License         : GPL-2+
 Description     : first-generation Canon winprinter (e.g. LBP-1120) support




Changed Bug title to 'RFP: capt -- first-generation Canon winprinter (e.g. LBP-1120) support' from 'CAPT (first-generation Canon winprinters --- e.g. LBP-1120) support' Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Fri, 13 Jul 2012 19:37:52 GMT) Full text and rfc822 format available.

Removed tag(s) upstream. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Fri, 13 Jul 2012 19:37:52 GMT) Full text and rfc822 format available.

Bug reassigned from package 'cups' to 'wnpp'. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Fri, 13 Jul 2012 19:37:53 GMT) Full text and rfc822 format available.

No longer marked as found in versions cups/1.4.6-2. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Fri, 13 Jul 2012 19:37:53 GMT) Full text and rfc822 format available.

Added indication that 618640 affects cups and foomatic-db Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Fri, 13 Jul 2012 19:37:53 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'important' Request was from Brian Potkin <claremont102@gmail.com> to control@bugs.debian.org. (Fri, 24 Aug 2012 13:24:24 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 08:07:19 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.