Я установил драйверы CUPS и CAPT для печати на принтере Canon LBP2900.
После борьбы мне удалось заставить его работать (в основном из-за capt*
двоичным файлам не хватало некоторых i386
библиотеки и неверный совет по настройке в сети), однако одна проблема остается: если я не загружаю бумагу в принтер, печать перестает работать, пока я не отменим задание в captstatusui
утилита (captstatusui -P LBP2900
), отдельно от CUPS. Печать не возобновляется, если я загружаю бумагу в принтер и снова пытаюсь распечатать, мне нужно отменить старое задание в captstatusui
.
Смотрите скриншот:
Пакеты:
ii cndrvcups-capt 2.71-1 amd64 Canon CAPT Printer Driver for Linux
ii cndrvcups-common 3.21-1 amd64 Canon Printer Driver Common Modules Ver.3.21
ii cups 2.2.10-6+deb10u2 amd64 Common UNIX Printing System(tm) - PPD/driver support, web interface
ii cups-browsed 1.21.6-5 amd64 OpenPrinting CUPS Filters - cups-browsed
ii cups-bsd 2.2.10-6+deb10u2 amd64 Common UNIX Printing System(tm) - BSD commands
ii cups-client 2.2.10-6+deb10u2 amd64 Common UNIX Printing System(tm) - client programs (SysV)
ii cups-common 2.2.10-6+deb10u2 all Common UNIX Printing System(tm) - common files
ii cups-core-drivers 2.2.10-6+deb10u2 amd64 Common UNIX Printing System(tm) - driverless printing
ii cups-daemon 2.2.10-6+deb10u2 amd64 Common UNIX Printing System(tm) - daemon
ii cups-filters 1.21.6-5 amd64 OpenPrinting CUPS Filters - Main Package
ii cups-filters-core-drivers 1.21.6-5 amd64 OpenPrinting CUPS Filters - Driverless printing
ii cups-ipp-utils 2.2.10-6+deb10u2 amd64 Common UNIX Printing System(tm) - IPP developer/admin utilities
ii cups-pk-helper 0.2.6-1+b1 amd64 PolicyKit helper to configure cups with fine-grained privileges
ii cups-ppdc 2.2.10-6+deb10u2 amd64 Common UNIX Printing System(tm) - PPD manipulation utilities
ii cups-server-common 2.2.10-6+deb10u2 all Common UNIX Printing System(tm) - server common files
ii libcups2:amd64 2.2.10-6+deb10u2 amd64 Common UNIX Printing System(tm) - Core library
ii libcupsfilters1:amd64 1.21.6-5 amd64 OpenPrinting CUPS Filters - Shared library
ii libcupsimage2:amd64 2.2.10-6+deb10u2 amd64 Common UNIX Printing System(tm) - Raster image library
ii python3-cups 1.9.73-2+b1 amd64 Python3 bindings for CUPS
ii python3-cupshelpers 1.5.11-4 all Python utility modules around the CUPS printing system
/etc/cups/printers.conf
:
% cat /etc/cups/printers.conf
# Printer configuration file for CUPS v2.2.10
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer LBP2900>
UUID urn:uuid:367f1b76-915a-377d-4686-a260906e5930
Info LBP2900
MakeModel Canon LBP2900 CAPT ver.1.5
DeviceURI ccp://localhost:59687
State Idle
StateTime 1586789620
ConfigTime 1586784928
Type 8392836
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
/etc/ccpd.conf
:
% cat /etc/ccpd.conf
# Canon Printer Daemon for CUPS Configuration Data
<Path>
# CUPS configuration file path.
# Default /etc/cups/
CUPS_ConfigPath /etc/cups/
# Log directory path.
# LogDirectoryPath /var/log/CCPD/
</Path>
# Printer entries.
# Mapping each "Printer Name" to each "Printer Device Port".
# The "Printer Name" has to be identical to the CUPS printer queue name.
#
# For example, if you prepare a printer named "LBP3200" as a CUPS printer
# queue name, and the printer is connected to the USB port "/dev/usb/lp0",
# you can use the following three lines example just by removing the
# comment symbol "#" of each line.
#<Printer LBP3200>
#DevicePath /dev/usb/lp0
#</Printer>
<Printer LBP2900>
DevicePath /dev/usb/lp0
</Printer>
<Ports>
# Status monitoring socket port.
# Default 59787
UI_Port 59787
PDATA_Port 59687
</Ports>
ОС: Debian 10.3 (buster) amd64.