Re: How to redirect LPT1 output to a disk file?

Stas Sergeev <[email protected]> Tue, 28 Feb 2017 01:52:51 +0300
Newsgroups org.kernel.vger.linux-msdos
Message-ID <[email protected]>
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"