HP PhotoSmart C4583 + Gentoo = не печатает ):

Всё о принтерах, сканерах и многофункциональных устройствах. Подключение, настройка, проблемы.

Модератор: Модераторы разделов

ArcticFox
Сообщения: 6
ОС: Gentoo Linux

HP PhotoSmart C4583 + Gentoo = не печатает ):

Сообщение ArcticFox »

Не выходит настроить данный принтер. Установил hplip из исходников (версия, которая в репозитории мой принтер не поддерживает). Запускаю hp-setup -i. После многократных нажаний клавиши enter получаю:

Код: Выделить всё

HP Linux Imaging and Printing System (ver. 3.9.2)
Printer/Fax Setup Utility ver. 8.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num       Connection  Description
            Type
  --------  ----------  ----------------------------------------------------------
  0*        usb         Universal Serial Bus (USB)
  1         net         Network/Ethernet/Wireless (direct connection or JetDirect)

Enter number 0...1 for connection type (q=quit, enter=usb*) ?

Using connection type: usb

Using device: hp:/usb/Photosmart_C4500_series?serial=CN88TF20D3057K


Setting up device: hp:/usb/Photosmart_C4500_series?serial=CN88TF20D3057K



---------------------
| PRINT QUEUE SETUP |
---------------------


Please enter a name for this print queue (m=use model name:'Photosmart_C4500'*, q=quit) ?
Using queue name: Photosmart_C4500
Locating PPD file... Please wait.
error: No PPD found for model photosmart_c4500. Trying old algorithm...

Found PPD file: /usr/share/cups/model/hp-photosmart_c4500_series-hpijs.ppd
Enter a location description for this printer (q=quit) ?
Enter additonal information or notes for this printer (q=quit) ?

Adding print queue to CUPS:
Device URI: hp:/usb/Photosmart_C4500_series?serial=CN88TF20D3057K
Queue name: Photosmart_C4500
PPD file: /usr/share/cups/model/hp-photosmart_c4500_series-hpijs.ppd
Location:
Information:
error: Printer queue setup failed. Please restart CUPS and try again.

Думаю не стоит писать, что перезапуск cups'а ничего не дал. Вот хвост:

Код: Выделить всё

# tail /var/log/cups/error_log
I [23/Feb/2009:20:34:26 +0300] Resuming new connection processing...
E [23/Feb/2009:20:34:26 +0300] CUPS-Add-Modify-Printer: Unauthorized
E [23/Feb/2009:20:34:30 +0300] cupsdAuthorize: Local authentication certificate not found!
E [23/Feb/2009:20:34:35 +0300] cupsdAuthorize: Local authentication certificate not found!
E [23/Feb/2009:20:34:41 +0300] cupsdAuthorize: Local authentication certificate not found!
E [23/Feb/2009:20:34:46 +0300] cupsdAuthorize: Local authentication certificate not found!
E [23/Feb/2009:20:34:51 +0300] cupsdAuthorize: Local authentication certificate not found!
E [23/Feb/2009:20:34:56 +0300] cupsdAuthorize: Local authentication certificate not found!
E [23/Feb/2009:20:35:01 +0300] cupsdAuthorize: Local authentication certificate not found!
E [23/Feb/2009:20:35:06 +0300] cupsdAuthorize: Local authentication certificate not found!

Как я понял cups не дает подключить принтер (а именно не дает руту права). Пробовал так же через web интерфейс cups'а - моя догадка подтвердилась - рута не пускают. Как будто не к своей машине принтер подключаю. Вот мои сонфиги /etc/cups/client.conf и /etc/cups/cupsd.conf соответственно:
client.conf

Код: Выделить всё

ServerName localhost

cupsd.conf

Код: Выделить всё

#
# "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $"
#
#   Sample configuration file for the Common UNIX Printing System (CUPS)
#   scheduler.  See "man cupsd.conf" for a complete description of this
#   file.
#

# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info

# Administrator user group...
SystemGroup lpadmin


# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
  Encryption Required
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an administrator...
  <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
  </Limit>

  # All administration operations require an administrator to authenticate...
  <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
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <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
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
#
# End of "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $".
#

Без понятия куда копать. Весь день на это убил - ничего.
Спасибо сказали:
ArcticFox
Сообщения: 6
ОС: Gentoo Linux

Re: HP PhotoSmart C4583 + Gentoo = не печатает ):

Сообщение ArcticFox »

Есть кое-какие подвижки. Может кто сталкивался?
Спасибо сказали:
ArcticFox
Сообщения: 6
ОС: Gentoo Linux

Re: HP PhotoSmart C4583 + Gentoo = не печатает ):

Сообщение ArcticFox »

Проблема решена.
Спасибо сказали: