ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Olga <laedel@pochtamt.ru>
To: community@altlinux.ru
Subject: [Comm] txt->ps через mpage (было: HP DJ920c (lpd) перестал печатать)
Date: Sat, 22 Feb 2003 15:54:39 +0700
Message-ID: <20030222155439.7027765c.laedel@pochtamt.ru> (raw)
In-Reply-To: <20030222020239.1442ca17.laedel@pochtamt.ru>

Продолжая копаться в проблеме с печатью простых текстов, прошу
Сообщество помочь разобраться, что не так с преобразованием
текста в ps посредством  mpage.

Если делать
mpage -o -1 -b A4 -CKOI8-R -P- - text.txt >file.ps
то на полученный файл Ghostscript ругается при попытке
печати (через gs и всё прочее хозяйство) либо просмотра в gv:

Error: /invalidfont in findfont
Operand stack:
   basefontdict   Courier   Font   Courier   330650   Courier   --nostringval--   Courier   MonospaceRoman-Unicode   (MonospaceRoman-Unicode)   MonospaceRoman-Unicode   (MonospaceRoman-Unicode)   MonospaceRoman-Unicode

(без указания кодировки результат тот же, впрочем в text.txt 
только латиница). В /etc/gs/Fontmap.unicode всё так же, как и 
было до проблем.

echo $MPAGE говорит -CKOI8-R, другие переменные окружения,
упомянутые в man mpage, не заданы. 
Задать шрифт явно?  
(но вызов с -FCourier или -FMonospaceRoman-Unicode приводит
к аналогичной ругани Ghostscript -- Error: /invalidfont in findfont).

Или смотреть куда-то в другую сторону?

С уважением,
OL


  reply	other threads:[~2003-02-22  8:54 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19 17:55 [Comm] HP DJ920c (lpd) перестал печатать Olga
2003-02-19 20:35 ` [Comm] " Sasha Martsinuk
2003-02-20  3:04   ` Olga
2003-02-20  5:52     ` Yura Kalinichenko
2003-02-20  6:52       ` Olga
2003-02-20  5:09         ` Alexander Kirey
2003-02-20  7:39           ` Korshunov Ilya
2003-02-20  7:33         ` Grigory Batalov
2003-02-20  7:37           ` Korshunov Ilya
2003-02-20  7:43             ` Grigory Batalov
2003-02-20  7:49               ` Korshunov Ilya
2003-02-20  8:56           ` Olga
2003-02-20  9:14             ` Dmytro O. Redchuk
2003-02-20 11:42               ` Olga
2003-02-20 12:32                 ` Yura Kalinichenko
2003-02-20 12:29         ` Yura Kalinichenko
2003-02-20 15:57           ` Olga
2003-02-20 16:17             ` Sergey Bolshakov
2003-02-20 17:09             ` Yura Kalinichenko
2003-02-20 18:47               ` Olga
2003-02-21  7:13               ` Olga
2003-02-21  7:26                 ` Grigory Batalov
2003-02-21  8:08                   ` Olga
2003-02-21 19:02                     ` Olga
2003-02-22  8:54                       ` Olga [this message]
2003-02-22  9:27                         ` [Comm] txt->ps через mpage (было: HP DJ920c (lpd) перестал печатать) Yura Kalinichenko
2003-02-22 11:22                           ` Olga
2003-02-20  7:42     ` [Comm] Re[2]: [Comm] HP DJ920c (lpd) перестал печатать Sasha Martsinuk

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=20030222155439.7027765c.laedel@pochtamt.ru \
    --to=laedel@pochtamt.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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