1) Не ламалось — не виправляй (навіщо ви знесли Mandriva? ).2) Ліземо до /etc/cups-autoconfig.conf і виправляємо рядок у розділі [CUPS] DisablePrintersOnRemoval=yesна рядокDisablePrintersOnRemoval=no3) Google рулить!
А тепер ще одне маленьке питання, просто не хочеться робити нову тему. Так от - як у Опен Офіс можна надрукувати брошюру, або хоча б листок А4 з двох боків, у Ворді це все робиться простіше простого. А тут друку брошури взагалі немає, а коли хочу надрукувати з двох боків, то принтер друкує перштй бік паперу, і не видаючи ніякого повідомленння, швидко засмоктує новий листок паперу і друкує на ньому нібито інший бік документу, виходить, що в мене замість документу на дві сторінки, який мав би розміститися на одному листку паперу, отримується два листка паперу
linux-efu9:/home/marti88/driver # rpm -i cndrvcups-common-1.50-2.i386a.rpmlinux-efu9:/home/marti88/driver # rpm -i cndrvcups-capt-1.50-2.i386a.rpm
linux-efu9:/home/marti88/driver # /etc/init.d/cups startStarting cupsd done
Description: Canon LBP-810Location: Local PrinterPrinter Driver: Canon LBP1120 CAPT ver.1.3Printer State: idle, accepting jobs, published. Device URI: usb://Canon/LBP-810
I [31/Jan/2009:12:11:27 +0200] New printer "Canon_LBP-810_USB_1" added by "root".I [31/Jan/2009:12:11:32 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=7717)I [31/Jan/2009:12:11:44 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7726)I [31/Jan/2009:12:12:43 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7770)I [31/Jan/2009:12:12:43 +0200] [Job 40] Adding start banner page "none".I [31/Jan/2009:12:12:43 +0200] [Job 40] Adding job file of type application/postscript.I [31/Jan/2009:12:12:43 +0200] [Job 40] Adding end banner page "none".I [31/Jan/2009:12:12:43 +0200] [Job 40] Queued on "Canon_LBP-810_USB_1" by "root".I [31/Jan/2009:12:12:43 +0200] [Job 40] Started filter /usr/lib/cups/filter/pstops (PID 7774)I [31/Jan/2009:12:12:43 +0200] [Job 40] Started filter /usr/lib/cups/filter/pstocapt (PID 7775)I [31/Jan/2009:12:12:43 +0200] [Job 40] Started backend /usr/lib/cups/backend/usb (PID 7778)I [31/Jan/2009:12:12:45 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7780)I [31/Jan/2009:12:12:55 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7789)I [31/Jan/2009:12:13:05 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7794)I [31/Jan/2009:12:13:16 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7803)I [31/Jan/2009:12:13:26 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7813)I [31/Jan/2009:12:13:36 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7822)I [31/Jan/2009:12:13:47 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7827)I [31/Jan/2009:12:13:57 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7836)I [31/Jan/2009:12:14:07 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7846)I [31/Jan/2009:12:14:17 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7851)I [31/Jan/2009:12:14:28 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7866)I [31/Jan/2009:12:14:38 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7877)I [31/Jan/2009:12:14:48 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7888)I [31/Jan/2009:12:14:59 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7897)I [31/Jan/2009:12:15:09 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7931)I [31/Jan/2009:12:15:19 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7940)I [31/Jan/2009:12:15:29 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7946)I [31/Jan/2009:12:15:40 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7955)I [31/Jan/2009:12:15:50 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7964)I [31/Jan/2009:12:16:00 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7977)I [31/Jan/2009:12:16:10 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7984)I [31/Jan/2009:12:16:21 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7995)I [31/Jan/2009:12:16:31 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8007)I [31/Jan/2009:12:16:41 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8012)I [31/Jan/2009:12:16:52 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8021)I [31/Jan/2009:12:17:02 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8030)I [31/Jan/2009:12:17:12 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8041)I [31/Jan/2009:12:17:23 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8047)I [31/Jan/2009:12:17:34 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8058)I [31/Jan/2009:12:17:44 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8068)I [31/Jan/2009:12:17:54 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8077)I [31/Jan/2009:12:18:04 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8082)I [31/Jan/2009:12:18:15 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8092)I [31/Jan/2009:12:18:17 +0200] Scheduler shutting down normally.I [31/Jan/2009:12:18:17 +0200] Saving job cache file "/etc/cups/yes/job.cache"...I [31/Jan/2009:12:18:22 +0200] Listening to 127.0.0.1:631 (IPv4)I [31/Jan/2009:12:18:22 +0200] Listening to 127.0.0.1:631 (IPv4)I [31/Jan/2009:12:18:22 +0200] Listening to ::1:631 (IPv6)I [31/Jan/2009:12:18:22 +0200] Listening to /var/run/cups/cups.sock (Domain)I [31/Jan/2009:12:18:22 +0200] Loaded configuration file "/etc/cups/cupsd.conf"I [31/Jan/2009:12:18:22 +0200] Using default TempDir of /var/spool/cups/tmp...I [31/Jan/2009:12:18:22 +0200] Configured for up to 100 clients.I [31/Jan/2009:12:18:22 +0200] Allowing up to 100 client connections per host.I [31/Jan/2009:12:18:22 +0200] Using policy "default" as the default!I [31/Jan/2009:12:18:22 +0200] Full reload is required.I [31/Jan/2009:12:18:22 +0200] Loaded MIME database from '/etc/cups': 37 types, 40 filters...I [31/Jan/2009:12:18:22 +0200] Loading job cache file "/etc/cups/yes/job.cache"...I [31/Jan/2009:12:18:22 +0200] Full reload complete.I [31/Jan/2009:12:18:22 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"...I [31/Jan/2009:12:18:22 +0200] Listening to 127.0.0.1:631 on fd 1...E [31/Jan/2009:12:18:22 +0200] Unable to bind socket for address 127.0.0.1:631 - Address already in use.E [31/Jan/2009:12:18:23 +0200] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.I [31/Jan/2009:12:18:23 +0200] Listening to /var/run/cups/cups.sock on fd 3...I [31/Jan/2009:12:18:23 +0200] Resuming new connection processing...I [31/Jan/2009:12:18:23 +0200] [Job 40] Started filter /usr/lib/cups/filter/pstops (PID 8132)I [31/Jan/2009:12:18:23 +0200] [Job 40] Started filter /usr/lib/cups/filter/pstocapt (PID 8133)I [31/Jan/2009:12:18:23 +0200] [Job 40] Started backend /usr/lib/cups/backend/usb (PID 8137)I [31/Jan/2009:12:18:25 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8143)I [31/Jan/2009:12:18:36 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8152)I [31/Jan/2009:12:18:37 +0200] [Job 41] Adding start banner page "none".I [31/Jan/2009:12:18:37 +0200] [Job 41] Adding job file of type application/postscript.I [31/Jan/2009:12:18:37 +0200] [Job 41] Adding end banner page "none".I [31/Jan/2009:12:18:37 +0200] [Job 41] Queued on "Canon_LBP-810_USB_1" by "marti88".E [31/Jan/2009:12:18:46 +0200] Cancel-Job: UnauthorizedE [31/Jan/2009:12:18:46 +0200] Cancel-Job: UnauthorizedE [31/Jan/2009:12:18:46 +0200] Cancel-Job: UnauthorizedE [31/Jan/2009:12:18:46 +0200] Cancel-Job: UnauthorizedI [31/Jan/2009:12:18:47 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8168)I [31/Jan/2009:12:18:54 +0200] [Job 41] Started filter /usr/lib/cups/filter/pstops (PID 8173)I [31/Jan/2009:12:18:54 +0200] [Job 41] Started filter /usr/lib/cups/filter/pstocapt (PID 8177)I [31/Jan/2009:12:18:54 +0200] [Job 41] Started backend /usr/lib/cups/backend/usb (PID 8178)I [31/Jan/2009:12:18:54 +0200] [Job 40] Canceled by "root".I [31/Jan/2009:12:18:57 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8186)I [31/Jan/2009:12:19:05 +0200] Scheduler shutting down normally.I [31/Jan/2009:12:19:05 +0200] Saving job cache file "/etc/cups/yes/job.cache"...I [31/Jan/2009:12:19:06 +0200] Listening to 127.0.0.1:631 (IPv4)I [31/Jan/2009:12:19:06 +0200] Listening to 127.0.0.1:631 (IPv4)I [31/Jan/2009:12:19:06 +0200] Listening to ::1:631 (IPv6)I [31/Jan/2009:12:19:06 +0200] Listening to /var/run/cups/cups.sock (Domain)I [31/Jan/2009:12:19:06 +0200] Loaded configuration file "/etc/cups/cupsd.conf"I [31/Jan/2009:12:19:06 +0200] Using default TempDir of /var/spool/cups/tmp...I [31/Jan/2009:12:19:06 +0200] Configured for up to 100 clients.I [31/Jan/2009:12:19:06 +0200] Allowing up to 100 client connections per host.I [31/Jan/2009:12:19:06 +0200] Using policy "default" as the default!I [31/Jan/2009:12:19:06 +0200] Full reload is required.I [31/Jan/2009:12:19:06 +0200] Loaded MIME database from '/etc/cups': 37 types, 40 filters...I [31/Jan/2009:12:19:06 +0200] Loading job cache file "/etc/cups/yes/job.cache"...I [31/Jan/2009:12:19:06 +0200] Full reload complete.I [31/Jan/2009:12:19:06 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"...I [31/Jan/2009:12:19:07 +0200] Listening to 127.0.0.1:631 on fd 1...E [31/Jan/2009:12:19:07 +0200] Unable to bind socket for address 127.0.0.1:631 - Address already in use.E [31/Jan/2009:12:19:07 +0200] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.I [31/Jan/2009:12:19:07 +0200] Listening to /var/run/cups/cups.sock on fd 3...I [31/Jan/2009:12:19:07 +0200] Resuming new connection processing...I [31/Jan/2009:12:19:07 +0200] [Job 41] Started filter /usr/lib/cups/filter/pstops (PID 8227)I [31/Jan/2009:12:19:07 +0200] [Job 41] Started filter /usr/lib/cups/filter/pstocapt (PID 8230)I [31/Jan/2009:12:19:07 +0200] [Job 41] Started backend /usr/lib/cups/backend/usb (PID 8231)I [31/Jan/2009:12:19:08 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8236)E [31/Jan/2009:12:19:14 +0200] Resume-Printer: UnauthorizedI [31/Jan/2009:12:19:14 +0200] Printer "Canon_LBP-810_USB_1" started by "root".I [31/Jan/2009:12:19:19 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8284)I [31/Jan/2009:12:19:23 +0200] [Job 41] Held by "root".I [31/Jan/2009:12:19:24 +0200] [Job 41] Started filter /usr/lib/cups/filter/pstops (PID 8334)I [31/Jan/2009:12:19:24 +0200] [Job 41] Started filter /usr/lib/cups/filter/pstocapt (PID 8338)I [31/Jan/2009:12:19:24 +0200] [Job 41] Started backend /usr/lib/cups/backend/usb (PID 8339)I [31/Jan/2009:12:19:24 +0200] [Job 41] Released by "root".I [31/Jan/2009:12:19:37 +0200] [Job 41] Started filter /usr/lib/cups/filter/pstops (PID 8372)I [31/Jan/2009:12:19:37 +0200] [Job 41] Started filter /usr/lib/cups/filter/pstocapt (PID 8373)I [31/Jan/2009:12:19:37 +0200] [Job 41] Started backend /usr/lib/cups/backend/usb (PID 8374)
Код: [Вибрати]E [31/Jan/2009:12:18:22 +0200] Unable to bind socket for address 127.0.0.1:631 - Address already in use.E [31/Jan/2009:12:18:23 +0200] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.E [31/Jan/2009:12:18:46 +0200] Cancel-Job: UnauthorizedE [31/Jan/2009:12:18:46 +0200] Cancel-Job: UnauthorizedE [31/Jan/2009:12:18:46 +0200] Cancel-Job: UnauthorizedE [31/Jan/2009:12:18:46 +0200] Cancel-Job: Unauthorized
E [31/Jan/2009:12:18:22 +0200] Unable to bind socket for address 127.0.0.1:631 - Address already in use.E [31/Jan/2009:12:18:23 +0200] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.E [31/Jan/2009:12:18:46 +0200] Cancel-Job: UnauthorizedE [31/Jan/2009:12:18:46 +0200] Cancel-Job: UnauthorizedE [31/Jan/2009:12:18:46 +0200] Cancel-Job: UnauthorizedE [31/Jan/2009:12:18:46 +0200] Cancel-Job: Unauthorized
I [31/Jan/2009:13:35:29 +0200] New printer "LBP810" added by "root".I [31/Jan/2009:13:50:55 +0200] Scheduler shutting down normally.I [31/Jan/2009:13:50:55 +0200] Saving job cache file "/etc/cups/yes/job.cache"...I [31/Jan/2009:13:50:55 +0200] Listening to 127.0.0.1:631 (IPv4)I [31/Jan/2009:13:50:55 +0200] Listening to 127.0.0.1:631 (IPv4)I [31/Jan/2009:13:50:55 +0200] Listening to ::1:631 (IPv6)I [31/Jan/2009:13:50:55 +0200] Listening to /var/run/cups/cups.sock (Domain)I [31/Jan/2009:13:50:55 +0200] Loaded configuration file "/etc/cups/cupsd.conf"I [31/Jan/2009:13:50:55 +0200] Using default TempDir of /var/spool/cups/tmp...I [31/Jan/2009:13:50:55 +0200] Configured for up to 100 clients.I [31/Jan/2009:13:50:55 +0200] Allowing up to 100 client connections per host.I [31/Jan/2009:13:50:55 +0200] Using policy "default" as the default!I [31/Jan/2009:13:50:55 +0200] Full reload is required.I [31/Jan/2009:13:50:55 +0200] Loaded MIME database from '/etc/cups': 37 types, 40 filters...I [31/Jan/2009:13:50:55 +0200] Loading job cache file "/etc/cups/yes/job.cache"...I [31/Jan/2009:13:50:55 +0200] Full reload complete.I [31/Jan/2009:13:50:55 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"...I [31/Jan/2009:13:50:56 +0200] Listening to 127.0.0.1:631 on fd 1...E [31/Jan/2009:13:50:56 +0200] Unable to bind socket for address 127.0.0.1:631 - Address already in use.E [31/Jan/2009:13:50:56 +0200] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.I [31/Jan/2009:13:50:56 +0200] Listening to /var/run/cups/cups.sock on fd 3...I [31/Jan/2009:13:50:56 +0200] Resuming new connection processing...I [31/Jan/2009:13:50:56 +0200] [Job 44] Started filter /usr/lib/cups/filter/pstops (PID 19560)I [31/Jan/2009:13:50:56 +0200] [Job 44] Started filter /usr/lib/cups/filter/pstocapt (PID 19561)I [31/Jan/2009:13:50:56 +0200] [Job 44] Started backend /usr/lib/cups/backend/usb (PID 19563)E [31/Jan/2009:13:51:46 +0200] CUPS-Add-Modify-Printer: UnauthorizedI [31/Jan/2009:13:51:46 +0200] Saving printers.conf...I [31/Jan/2009:13:51:46 +0200] Printer "LBP810" modified by "root".I [31/Jan/2009:13:51:46 +0200] Setting LBP810 device-uri to "ccp:/var/ccpd/fifo0" (was "file:/dev/null".)I [31/Jan/2009:13:51:46 +0200] Saving printers.conf...I [31/Jan/2009:13:51:46 +0200] Printer "LBP810" modified by "root".I [31/Jan/2009:13:51:46 +0200] Setting LBP810 printer-is-accepting-jobs to 1 (was 0.)I [31/Jan/2009:13:51:46 +0200] Setting LBP810 printer-state to 3 (was 5.)I [31/Jan/2009:13:51:46 +0200] Saving printers.conf...I [31/Jan/2009:13:51:46 +0200] Printer "LBP810" modified by "root".I [31/Jan/2009:14:00:27 +0200] [Job 45] Adding start banner page "none".I [31/Jan/2009:14:00:27 +0200] [Job 45] Adding job file of type application/postscript.I [31/Jan/2009:14:00:27 +0200] [Job 45] Adding end banner page "none".I [31/Jan/2009:14:00:27 +0200] [Job 45] Queued on "LBP810" by "marti88".I [31/Jan/2009:14:00:27 +0200] [Job 45] Started filter /usr/lib/cups/filter/pstops (PID 20039)I [31/Jan/2009:14:00:27 +0200] [Job 45] Started filter /usr/lib/cups/filter/pstocapt (PID 20040)I [31/Jan/2009:14:00:27 +0200] [Job 45] Started backend /usr/lib/cups/backend/ccp (PID 20044)
Аналогічно. Мовчить принтер. В 631 порті каже в списку принтерів: lbp810 (Default Printer) "/usr/lib/cups/backend/ccp failed"Що це значить? 11899 lp 20 0 1740 524 396 R 40.9 0.0 4:32.23 captfilter10427 lp 20 0 1740 572 404 R 40.5 0.0 8:01.95 captfilterНе надто грузить процесор ці процеси? по 41 відсотку кожен.
linux-efu9:/var/ccpd # /etc/init.d/cups stopShutting down cupsd donelinux-efu9:/var/ccpd # /etc/init.d/cups statusChecking for cupsd: unusedlinux-efu9:/var/ccpd # /etc/init.d/cups startStarting cupsd donelinux-efu9:/var/ccpd # /etc/init.d/cups statusChecking for cupsd: runninglinux-efu9:/var/ccpd # /etc/init.d/ccpd stopShutting down /usr/sbin/ccpd:linux-efu9:/var/ccpd # /etc/init.d/ccpd status/usr/sbin/ccpd:linux-efu9:/var/ccpd # /etc/init.d/ccpd startStarting /usr/sbin/ccpd: .