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

Stas Sergeev <[email protected]>
Newsgroups gmane.linux.msdos.general
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"
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.