From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: How to redirect LPT1 output to a disk file? Date: Tue, 28 Feb 2017 01:52:51 +0300 Message-ID: <6b10e182-1dca-d2ae-8d80-ed2fed7aa6a0@list.ru> References: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=list.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=fgI7JgXOikcSbK+UK8SUi9Lb00CWlcKhmE88Qy7sfNU=; b=EJJ0mTsOC/0MVRgickCfO30+xOzFA6tpEPgZbkUVkBmYd+dF2h6K+3ZWfY/Na70W3s240W5slYTu3JKNT+qa+fWjVar6tgHLUbLpsdVq1cvJk/L15AAt0ls9ojqSRMfXEBDye0aU43yNvMBRWbnqElal1Wk3jSDdWBOY6vRkfsI=; In-Reply-To: Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8"; format="flowed" To: Roger House , "linux-msdos@vger.kernel.org" 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"