Проблема при печати. Все вроде нормально печатает. Но иногда очередь зависает. Помогает только удаление драйвера и установка принтера по-новой через cups.
Принтер настраивал стандартно:
Подрубился через порт 631.
Добавил принтер через пункт добавления принтеров.
На виндовых машинах указывал мастеру ссылку вида http://printserver:631/printers/hp1005
Драйвер Generic - производитель, название MS Publisher Color Printer.
cupsd.conf:
LogLevel info
SystemGroup sys root
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
DefaultAuthType Basic
<Location />
# Deny From All
# Allow From @LOCAL
# Allow From 192.168.2.138
# Allow shared printing and remote administration...
Order allow,deny
Allow all
</Location>
<Location /admin>
Encryption Required
# Deny From All
# Allow From @LOCAL
# Allow From 192.168.2.138
# Allow remote administration...
Order allow,deny
Allow all
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Deny From All
# Allow From @LOCAL
# Allow From 192.168.2.138
# Allow remote access to the configuration files...
Order allow,deny
Allow all
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order Deny,Allow
Deny From All
Allow From @LOCAL
Allow From 192.168.2.138
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order Deny,Allow
Deny From All
Allow From @LOCAL
Allow From 192.168.2.138
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order Deny,Allow
Deny From All
Allow From @LOCAL
Allow From 192.168.2.138
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order Deny,Allow
Deny From All
Allow From @LOCAL
Allow From 192.168.2.138
</Limit>
<Limit All>
Order Deny,Allow
Deny From All
Allow From @LOCAL
Allow From 192.168.2.138
</Limit>
</Policy>
В messages (это я пытаюсь перезагрузить принтер аппаратно):
Aug 24 17:35:33 printserver309 /etc/hotplug/usb/hpljP1005: foo2zjs: loading HP LaserJet P1005 firmware /usr/share/foo2xqx/firmware/sihpP1005.dl to /dev/usb/lp0 ...
Aug 24 17:35:57 printserver309 /etc/hotplug/usb/hpljP1005: foo2zjs: ... download failed.