The problem is in the title.
Here are the steps I followed (after initial failures):
- Uninstall every installed packages appearing in Synaptic for a "cups" search, except the two lib... the uninstall of which would uninstall most of gnome and major apps with it.
- Reinstall cups:
CODE
ecole44:/etc/cups# dpkg -l | awk '{print $2}' | grep -i 'cups\|print\|matic'
cups-pdf
cupsys
cupsys-client
cupsys-common
cupsys-driver-gutenprint
foomatic-db
foomatic-db-engine
foomatic-filters
foomatic-gui
gimp-print
gnome-cups-manager
gutenprint-locales
libcupsimage2
libcupsys2
libgnomecups1.0-1
libgnomecupsui1.0-1c2a
libgnomeprint2.2-0
libgnomeprint2.2-data
libgnomeprintui2.2-0
libgnomeprintui2.2-common
libgutenprint2
libgutenprintui2-1
libwine-print
python-foomatic
cups-pdf
cupsys
cupsys-client
cupsys-common
cupsys-driver-gutenprint
foomatic-db
foomatic-db-engine
foomatic-filters
foomatic-gui
gimp-print
gnome-cups-manager
gutenprint-locales
libcupsimage2
libcupsys2
libgnomecups1.0-1
libgnomecupsui1.0-1c2a
libgnomeprint2.2-0
libgnomeprint2.2-data
libgnomeprintui2.2-0
libgnomeprintui2.2-common
libgutenprint2
libgutenprintui2-1
libwine-print
python-foomatic
- Download ip2200 driver from Canon web site, alien --to-deb --scripts all rpm files, and install some of them:
CODE
ecole44:/etc/cups# dpkg -l | awk '{print $2}' | grep -i cnij
cnijfilter-common
cnijfilter-ip2200
cnijfilter-ip2200-lprng
cnijfilter-common
cnijfilter-ip2200
cnijfilter-ip2200-lprng
- This driver places PPD files in /usr/share/cups/model, which is not Debian cups PPD dir. Hence the link I created:
CODE
ecole44:/etc/cups# ls -l /usr/share/ppd/model
lrwxrwxrwx 1 root root 21 2007-07-14 15:10 /usr/share/ppd/model -> /usr/share/cups/model
lrwxrwxrwx 1 root root 21 2007-07-14 15:10 /usr/share/ppd/model -> /usr/share/cups/model
- Restart cupsys (/etc/init.d/cupsys restart).
- Go to http://localhost:631/
- [Add Printer], name=iP1700, description=Canon PIXMA iP1700, [Continue], ->"Canon iP1700 USB #1 (Canon iP1700)", [Continue], ->"Canon iP2200 Ver.2.60 (en)", [Add Printer], General: [Set Printer Options] (default values).
Now I don't even have to try and print anything! A simple tail -f /var/log/cups/error_log prints this twice every 5 seconds:
CODE
E [14/Jul/2007:19:06:46 +0200] cupsdAuthorize: Local authentication certificate not found!
And if I try and print the test page in the Cups web interface, here's the log output specific to the test page:
CODE
==> access_log <==
localhost - - [14/Jul/2007:19:09:42 +0200] "GET /printers/iP1700?op=print-test-page HTTP/1.1" 200 0 - -
localhost - - [14/Jul/2007:19:09:42 +0200] "POST /printers/iP1700 HTTP/1.1" 200 18600 Print-Job successful-ok
localhost - - [14/Jul/2007:19:09:42 +0200] "GET /printers/iP1700?op=print-test-page HTTP/1.1" 200 3446 - -
==> error_log <==
I [14/Jul/2007:19:09:42 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=11015)
I [14/Jul/2007:19:09:42 +0200] Adding start banner page "none" to job 14.
I [14/Jul/2007:19:09:42 +0200] Adding end banner page "none" to job 14.
I [14/Jul/2007:19:09:42 +0200] Job 14 queued on "iP1700" by "guest".
I [14/Jul/2007:19:09:42 +0200] Started filter /usr/lib/cups/filter/pstops (PID 11016) for job 14.
I [14/Jul/2007:19:09:42 +0200] Started filter /usr/lib/cups/filter/pstocanonij (PID 11017) for job 14.
I [14/Jul/2007:19:09:42 +0200] Started backend /usr/lib/cups/backend/usb (PID 11018) for job 14.
==> access_log <==
localhost - - [14/Jul/2007:19:09:44 +0200] "GET /printers/iP1700 HTTP/1.1" 200 0 - -
localhost - - [14/Jul/2007:19:09:44 +0200] "POST / HTTP/1.1" 200 454 Get-Jobs successful-ok
localhost - - [14/Jul/2007:19:09:44 +0200] "GET /printers/iP1700 HTTP/1.1" 200 6148 - -
==> error_log <==
I [14/Jul/2007:19:09:44 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=11025)
localhost - - [14/Jul/2007:19:09:42 +0200] "GET /printers/iP1700?op=print-test-page HTTP/1.1" 200 0 - -
localhost - - [14/Jul/2007:19:09:42 +0200] "POST /printers/iP1700 HTTP/1.1" 200 18600 Print-Job successful-ok
localhost - - [14/Jul/2007:19:09:42 +0200] "GET /printers/iP1700?op=print-test-page HTTP/1.1" 200 3446 - -
==> error_log <==
I [14/Jul/2007:19:09:42 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=11015)
I [14/Jul/2007:19:09:42 +0200] Adding start banner page "none" to job 14.
I [14/Jul/2007:19:09:42 +0200] Adding end banner page "none" to job 14.
I [14/Jul/2007:19:09:42 +0200] Job 14 queued on "iP1700" by "guest".
I [14/Jul/2007:19:09:42 +0200] Started filter /usr/lib/cups/filter/pstops (PID 11016) for job 14.
I [14/Jul/2007:19:09:42 +0200] Started filter /usr/lib/cups/filter/pstocanonij (PID 11017) for job 14.
I [14/Jul/2007:19:09:42 +0200] Started backend /usr/lib/cups/backend/usb (PID 11018) for job 14.
==> access_log <==
localhost - - [14/Jul/2007:19:09:44 +0200] "GET /printers/iP1700 HTTP/1.1" 200 0 - -
localhost - - [14/Jul/2007:19:09:44 +0200] "POST / HTTP/1.1" 200 454 Get-Jobs successful-ok
localhost - - [14/Jul/2007:19:09:44 +0200] "GET /printers/iP1700 HTTP/1.1" 200 6148 - -
==> error_log <==
I [14/Jul/2007:19:09:44 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=11025)
Nothing happens, if a job is created it disappears just as soon, and CUPS page for my printer still shows the same:
CODE
iP1700
Description: Canon PIXMA iP1700
Location:
Make and Model: Canon iP2200 Ver.2.60
Printer State: idle, accepting jobs, published.
Device URI: usb://Canon/iP1700
Description: Canon PIXMA iP1700
Location:
Make and Model: Canon iP2200 Ver.2.60
Printer State: idle, accepting jobs, published.
Device URI: usb://Canon/iP1700
Note: my user is a member of the lp and lpadmin groups. Here are the rights for the usb printer:
CODE
ecole44:/var/log/cups# ls -la /dev/usb
total 0
drwxr-xr-x 2 root root 60 2007-07-14 19:36 .
drwxr-xr-x 15 root root 4180 2007-07-14 17:37 ..
crw-rw---- 1 root lp 180, 0 2007-07-14 19:36 lp0
total 0
drwxr-xr-x 2 root root 60 2007-07-14 19:36 .
drwxr-xr-x 15 root root 4180 2007-07-14 17:37 ..
crw-rw---- 1 root lp 180, 0 2007-07-14 19:36 lp0
Thank you for you help...
Yves.