From owner-freebsd-questions Fri Apr 12 17:24:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web14804.mail.yahoo.com (web14804.mail.yahoo.com [216.136.224.220]) by hub.freebsd.org (Postfix) with SMTP id F1B2C37B405 for ; Fri, 12 Apr 2002 17:24:44 -0700 (PDT) Message-ID: <20020413002444.22115.qmail@web14804.mail.yahoo.com> Received: from [141.157.235.228] by web14804.mail.yahoo.com via HTTP; Fri, 12 Apr 2002 17:24:44 PDT Date: Fri, 12 Apr 2002 17:24:44 -0700 (PDT) From: donnie brasco Subject: print filters To: questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I posted a message on 4/11 stating that I was loosing entire lines of data, of text files, when I sent them to my HP laser jet 2100 to be printed. Allow me to expand on that. Let's say I type in a paragraph, such as this one using the 'cat' utility. If I hit the enter key at the end of each line (not sentence) to move the cursor to the next line then a LF is inserted into the data stream. When the file is sent to the printer using lpr, the input filter specified in /etc/printcap replaces the LF with CR+LF, allowing the LF to be correctly interpreted by the printer (eliminating the "staircase" effect). Now, if instead, I just keep typing, without hitting the enter key to move to a new line and just allow the cursor to automatically move to a new line when the end of a line is reached then there is no LF in the data stream. Now if I try to print the paragraph, all data after the first line is lost because the printer will print to the end of the first line of the page and stop printing anything on the page since there is no LF to tell it to move to the next line. My question is this, how do in print text such as mentioned above, that don't have explicit LF's within it. js __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message