ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Печать plain-text'a на HPLJ 5Si через CUPS+foomatic
Date: Fri, 11 Oct 2002 11:25:03 +1100
Message-ID: <20021011112503.3a847f61.dima@sakhalin.ru> (raw)

Доброго времени суток,

Может кто с этим уже сталкивался ...

Имеем:
cups-1.1.15-alt2
foomatic-2.0-alt0.20020913
mpage-2.5.2-alt2

Принтер установлен через foomatic-config:

$ foomatic-configure -s cups \
   -n lp0 -c socket://192.168.2.10:9100/ \
   -p 605074 -d ljet4 -o PageSize=A4

В качестве фильтра для текста используется mpage.
Печать производится от пользователя. Локаль:
$ locale
LANG=ru_RU.KOI8-R
LC_CTYPE=ru_RU.KOI8-R
LC_NUMERIC=ru_RU.KOI8-R
LC_TIME="ru_RU.KOI8-R"
LC_COLLATE=ru_RU.KOI8-R
LC_MONETARY=ru_RU.KOI8-R
LC_MESSAGES=ru_RU.KOI8-R
LC_PAPER="ru_RU.KOI8-R"
LC_NAME="ru_RU.KOI8-R"
LC_ADDRESS="ru_RU.KOI8-R"
LC_TELEPHONE="ru_RU.KOI8-R"
LC_MEASUREMENT="ru_RU.KOI8-R"
LC_IDENTIFICATION="ru_RU.KOI8-R"
LC_ALL=

Печать текстового файла (KOI8-R) через lpr - вместо русских букв
непонятные символы. Тот же файл, но через mpage печатается
нормально.
$ mpage -1 -bA4 -da -P text.msg

Вопрос: где что надо подкрутить, чтобы увидеть русские буквы при
печате через lpr.

Предполагаю, что это где-то в CUPS, но не уверен. Чтение доков и
советов с www.atmsk.ru просветления не принесло ... :(

WBR, Dmitry Lebkov


             reply	other threads:[~2002-10-11  0:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11  0:25 Dmitry Lebkov [this message]
2002-10-11  5:22 ` Dmitry Lebkov

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=20021011112503.3a847f61.dima@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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