ALT Linux hardware support
 help / color / mirror / Atom feed
From: Andrei Bulava <abulava@altlinux.ru>
To: hardware@lists.altlinux.org
Subject: Re: [Hardware] Fw: Принтер HP LaserJet 1022 - помогите запустить!
Date: Fri, 20 Jan 2006 12:47:39 +0200
Message-ID: <43D0BFCB.3080809@altlinux.ru> (raw)
In-Reply-To: <43D0B0E4.000002.14348@tide.yandex.ru>

Евгений wrote:
> --- Forwarded message --
> From: Евгений <Evgenymas@yandex.ru>
> To:  <hardware@lists.altlinux.org>
> Date: 18.01.06 15:10
> Subject: Принтер HP LaserJet 1022 - помогите запустить!
> 
> 
> Как заставить принтер HP LaserJet 1022 печатать в системе ALT Linux 2.3 Compact:
> 
> 1. когда он подключен локально;
> 2. через сервер Samba по сети, когда он подключен к Windows-машине 
> --- End of forwarded message --

Да, не зря Эрик Раймонд ругал CUPS, жаль до foomatic не добрался. К
сожалению, /usr/share/doc/alt-docs/modules/print_cups.kirill/index.html
из пакета docs-print_cups-kirill вам не поможет (не рассматривает
вариант, когда производитель и модель принтера отсутствуют в настройках
cups, хотя есть в базе данных foomatic)

Итак, мануал "на пальцах" по шагам, рекомендуемый для включения в
docs-print_cups-kirill:

0. Установлен CUPS и есть умение его настраивать через web-интерфейс (
http://localhost:631/ ), но нужный принтер HP LaserJet 1022 отсутствует
среди моделей производителя HP в CUPS.

1. Устанавливаем foomatic (тестировалось с установленными пакетами
foomatic, foomatic-db, foomatic-db-engine, foomatic-filters,
hplip-foomatic) и ищем принтер в базе данных foomatic:

$ foomatic-ppdfile -A|grep 1022
HP LaserJet 1022 Id='HP-LaserJet_1022' Driver='hpijs'
Ricoh Aficio 1022 PS Id='Ricoh-Aficio_1022_PS' Driver='Postscript'

2. Добавляем принтер в CUPS (нужны права суперпользователя):

# foomatic-ppdfile -p 'HP-LaserJet_1022'>
/usr/share/cups/model/HP_LaserJet_1022.ppd

# /etc/init.d/cups restart

3. Возвращаемся к пункту 0 с разницей, что теперь среди моделей
производителя HP в CUPS предлагается 'HP LaserJet 1022 Foomatic/hpijs
(recommended) (en)'.

NB! для работы этого принтера потребуется установить пакет hplip-hpijs.

Маленький нюанс: в текущем Сизифе, по данным моего apt, наблюдается
какая-то неразбериха с драйверами hpijs: существуют hplip-foomatic +
hplip-hpijs и конфликтующие с ними hpijs-foomatic + hpijs. В итоге, как
 именно называются пакеты в ALC 2.3, мне неизвестно, т.к. этим
дистрибутивом я не пользовался.

-- 
// AB1002-UANIC



  reply	other threads:[~2006-01-20 10:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-20  9:44 "Евгений"
2006-01-20 10:47 ` Andrei Bulava [this message]
2006-01-25 15:44   ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43D0BFCB.3080809@altlinux.ru \
    --to=abulava@altlinux.ru \
    --cc=hardware@altlinux.ru \
    --cc=hardware@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git