public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Stas Sergeev <stsp@list.ru>
To: Roger House <rhouse@sonic.net>,
	"linux-msdos@vger.kernel.org" <linux-msdos@vger.kernel.org>
Subject: Re: How to redirect LPT1 output to a disk file?
Date: Tue, 28 Feb 2017 01:52:51 +0300	[thread overview]
Message-ID: <6b10e182-1dca-d2ae-8d80-ed2fed7aa6a0@list.ru> (raw)
In-Reply-To: <e33f5ab9-5cee-c171-abf9-e9c4c05d9dda@sonic.net>

28.02.2017 01:32, Roger House пишет:
> # $_lpt1 = "lpr -l"
> # $_lpt2 = "lpr -l -P lpt2"
> # $_lpt3 = ""
>
> # idle time in seconds before spooling out. Default: (20)
>
> # $_printer_timeout = (20)
>
> ############################################################################## 
>
>
> However, these lines are not at all clear to me.  What changes are 
> needed so
> that lpt1 output goes to a disk file? 
Try:
$_lpt1 = "cat > /tmp/file_name"

  reply	other threads:[~2017-02-27 22:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-27 22:32 How to redirect LPT1 output to a disk file? Roger House
2017-02-27 22:52 ` Stas Sergeev [this message]
2017-03-01 23:43   ` Roger House
  -- strict thread matches above, loose matches on Subject: below --
2017-02-28 14:46 Peća Nešovanović

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=6b10e182-1dca-d2ae-8d80-ed2fed7aa6a0@list.ru \
    --to=stsp@list.ru \
    --cc=linux-msdos@vger.kernel.org \
    --cc=rhouse@sonic.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox