ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dennis Fedotov <lt@server.by>
To: community@altlinux.ru
Subject: Re: [Comm] DOSEMU LPT1
Date: Fri, 11 Apr 2003 10:44:35 +0300
Message-ID: <200304111044.36377.lt@server.by> (raw)
In-Reply-To: <20030410174643.7b8d3234.grisxa@mail.ru>

В сообщении от 10 Апрель 2003 16:46 Grigory Batalov написал(a):
> On Wed, 9 Apr 2003 12:37:17 +0300
>
> Dennis Fedotov <lt@server.by> wrote:
> > подскажите, как заставить в dosemu принтер на lpt1 сконфигурировать с
> > ключем -l, т.е. чтобы принтеру передавались управляющие символы. Как не
> > переписываю global.conf,
> > команда dosemu.bin -h2 -F /etc/dosemu/global.conf выдает:
> >
> > LPT1 command "lpr  -Plpt %s"  timeout 20  device ""  baseport 0x378
> > LPT2 command "lpr  -l -P lpt %s"  timeout 20  device ""  baseport 0x278
> >
> > т.е. если на первый порт отсылать файлы с управляющими символами то:
> > lpr: unable to print file: client-error-document-format-not-supported
> >
> > а на второй нормально печатает т.к. есть ключ -l. Программы из-за этого
> > переделывать бессмысленно, т.к. их много а я один ;-).
> > Может каким другим способом это сделать? Что-то вроде перенаправить
> > печать в самом dos (mode не предлагать).
>
>   Да, именно так. Я когда-то писал такую переключалку,
>   под dosemu она тоже заработала. (См. аттач.)
Спасибо, только в понедельник смогу проверить. Может эту вещь нужно было 
включить в альтовский freedos с текстом о том как? Думаю многим бы 
пригодилось бы ;)
-- 
Rgrds,
Dennis Fedotov

  reply	other threads:[~2003-04-11  7:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-09  9:37 Dennis Fedotov
2003-04-09 13:20 ` Grigory Batalov
2003-04-10 13:46 ` Grigory Batalov
2003-04-11  7:44   ` Dennis Fedotov [this message]
2003-04-11 12:49     ` Grigory Batalov

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=200304111044.36377.lt@server.by \
    --to=lt@server.by \
    --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