LINUX.ORG.RU

Подключение принтера HP Photosmart C4583.


0

0

Не молучается настроить. Делаю все по технологии: http://hplipopensource.com/hplip-web/install/manual/distros/gentoo.html
Все конфигурируется и устанавливается. Ошибок нет. Запускаю hp-setup -i. Пишет следующее:

># hp-setup -i
>
>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.

Пробовал так же через http://localhost:631/ - не принимает рутовского пароля.
Вывод tail /var/log/cups/error_log:

>I [23/Feb/2009:17:52:39 +0300] Using policy "default" as the default!
>I [23/Feb/2009:17:52:39 +0300] Full reload is required.
>I [23/Feb/2009:17:52:39 +0300] Saving job cache file "/var/cache
>/cups/job.cache"...
>I [23/Feb/2009:17:52:39 +0300] Loaded MIME database from
>'/etc/cups': 35 types, 38 filters...
>I [23/Feb/2009:17:52:39 +0300] Loading job cache file "/var/cache
>/cups/job.cache"...
>I [23/Feb/2009:17:52:39 +0300] Full reload complete.
>I [23/Feb/2009:17:52:39 +0300] Listening to 127.0.0.1:631 on fd 0...
>E [23/Feb/2009:17:52:39 +0300] Unable to open listen socket for >address ::1:631 - Address family not supported by protocol.
>I [23/Feb/2009:17:52:39 +0300] Listening to /var/run/cups/cups.sock >on fd 2...
>I [23/Feb/2009:17:52:39 +0300] Resuming new connection processing...

Куда копать? Что я не так делаю? Дистрибутив gentoo. Уже запарился я с этим принтером.

Re: Подключение принтера HP Photosmart C4583.

Запостил не тот tail. Вот правильный:

>I [23/Feb/2009:19:21:34 +0300] Loaded MIME database from '/etc/cups': >35 types, 38 filters...

>I [23/Feb/2009:19:21:35 +0300] Loading job cache file "/var/cache/cups/job.cache"...

>I [23/Feb/2009:19:21:35 +0300] Full reload complete.

>I [23/Feb/2009:19:21:35 +0300] Listening to 127.0.0.1:631 on fd 0...

>E [23/Feb/2009:19:21:35 +0300] Unable to open listen socket for address >::1:631 - Address family not supported by protocol.

>I [23/Feb/2009:19:21:35 +0300] Listening to /var/run/cups/cups.sock on >fd 2...

>I [23/Feb/2009:19:21:35 +0300] Resuming new connection processing...

>E [23/Feb/2009:19:21:35 +0300] CUPS-Add-Modify-Printer: Unauthorized

>E [23/Feb/2009:19:21:36 +0300] cupsdAuthorize: Local authentication >certificate not found!

>E [23/Feb/2009:19:21:41 +0300] cupsdAuthorize: Local authentication >certificate not found!


Как я понял cups не дает девайс подключить?

ArcticFox ()
Ответ на: Re: Подключение принтера HP Photosmart C4583. от ArcticFox

Re: Подключение принтера HP Photosmart C4583.

::1:631

это вроде ipv6

>E [23/Feb/2009:19:21:35 +0300] CUPS-Add-Modify-Printer: Unauthorized

>E [23/Feb/2009:19:21:36 +0300] cupsdAuthorize: Local authentication >certificate not found!

>E [23/Feb/2009:19:21:41 +0300] cupsdAuthorize: Local authentication >certificate not found!


certificate not found...??? х.з.

p.s. ubuntu

dimon555 ★★★★★ ()
Ответ на: Re: Подключение принтера HP Photosmart C4583. от Black_Shadow

Re: Подключение принтера HP Photosmart C4583.

поправил фаилы cups.conf и client.conf - вместо localhost поставил 127.0.0.1:631
В web интерфеис рута уже пустили. Однако в hp-setup по прежнему та же ошибка. Вот хвост:

># tail /var/log/cups/error_log

>I [24/Feb/2009:13:11:34 +0300] Saving job cache file "/var/cache/cups/job.cache"...

>I [24/Feb/2009:13:11:34 +0300] Loaded MIME database from '/etc/cups': >35 types, 38 filters...

>E [24/Feb/2009:13:11:34 +0300] Filter "foomatic-rip-hplip" for printer >"PSC4583" not available: No such file or directory

>E [24/Feb/2009:13:11:34 +0300] Filter "foomatic-rip-hplip" for printer "PSC4583" not available: No such file or directory

>I [24/Feb/2009:13:11:34 +0300] Loading job cache file "/var/cache/cups/job.cache"...

>I [24/Feb/2009:13:11:34 +0300] Full reload complete.

>I [24/Feb/2009:13:11:34 +0300] Listening to 127.0.0.1:631 on fd 0...

>I [24/Feb/2009:13:11:34 +0300] Listening to /var/run/cups/cups.sock on >fd 2...

>I [24/Feb/2009:13:11:34 +0300] Resuming new connection processing...

>E [24/Feb/2009:13:11:34 +0300] CUPS-Add-Modify-Printer: Unauthorized


Как лечить? По поводу ipv6 сомневаюць, т.к. у hplip даже поддержки этого протокола нет.

># emerge -pv hplip

>

>These are the packages that would be merged, in order:

>

>Calculating dependencies... done!

>[ebuild N ] net-print/hplip-2.8.6b USE="dbus ppds -cupsddk -doc -fax -minimal -parport -qt3 -qt4 -scanner -snmp" 0 kB


Я правда не из репозитория ставил, но тут это роли не играет.

ArcticFox ()
Ответ на: Re: Подключение принтера HP Photosmart C4583. от ArcticFox

Re: Подключение принтера HP Photosmart C4583.

Когда пытаюсь настроить принтер через web интерфейс хвост выглядит так:

># tail /var/log/cups/error_log

>I [24/Feb/2009:16:59:22 +0300] [Job 25] Started filter /usr/libexec/cups/filter/pstops (PID 5486)

>E [24/Feb/2009:16:59:22 +0300] Unable to execute /usr/libexec/cups/filter/foomatic-rip-hplip: No such file or directory

>E [24/Feb/2009:16:59:22 +0300] [Job 25] Unable to start filter "foomatic-rip-hplip" - No such file or directory.

>I [24/Feb/2009:16:59:27 +0300] Started "/usr/libexec/cups/cgi-bin/printers.cgi" (pid=5487)

>I [24/Feb/2009:16:59:34 +0300] Started "/usr/libexec/cups/cgi-bin/jobs.cgi" (pid=5488)

>I [24/Feb/2009:16:59:34 +0300] [Job 25] Restarted by "root".

>I [24/Feb/2009:16:59:35 +0300] Started "/usr/libexec/cups/cgi-bin/printers.cgi" (pid=5489)

>I [24/Feb/2009:16:59:47 +0300] [Job 25] Started filter /usr/libexec/cups/filter/pstops (PID 5506)

>E [24/Feb/2009:16:59:47 +0300] Unable to execute /usr/libexec/cups/filter/foomatic-rip-hplip: No such file or directory

>E [24/Feb/2009:16:59:47 +0300] [Job 25] Unable to start filter "foomatic-rip-hplip" - No such file or directory.


Пишет что нет какого-то фуматика. Без понятия что это такое, ну раз драйвер ставил, то где-то ж ведь он (этот фуматик) должен быть?

>slocate foomatic-rip-hplip


Фуматик нашелся. Поместил его в /usr/libexec/cups/filter/.

Проблема решена. Теперь осталось сканер настроить :)

ArcticFox ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.