From owner-freebsd-doc Wed Jun 26 06:43:03 1996 Return-Path: owner-doc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA09244 for doc-outgoing; Wed, 26 Jun 1996 06:43:03 -0700 (PDT) Received: from starfire.mn.org (root@starfire.skypoint.net [199.86.32.187]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA09236 for ; Wed, 26 Jun 1996 06:42:59 -0700 (PDT) Received: from dexter.starfire.mn.org (john@localhost.starfire.mn.org [127.0.0.1]) by starfire.mn.org (8.6.12/1.1) with SMTP id IAA16102 for ; Wed, 26 Jun 1996 08:42:53 -0500 Message-ID: <31D13E5B.41C67EA6@starfire.mn.org> Date: Wed, 26 Jun 1996 08:42:51 -0500 From: John Lind X-Mailer: Mozilla 3.0b4 (X11; I; FreeBSD 2.1.0-RELEASE i386) MIME-Version: 1.0 To: freebsd-doc@FreeBSD.ORG Subject: Important solution missing in "staircase effect" of printers section of handbook Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The most general solution for the "staircase effect" is not mentioned in the handbook, which I consider to be a notable omission. If a parallel printer cannot be convinced to do the appropriate thing on getting a "bare" LF, the following script works quite well as an input filter: #!/bin/sh exec sed 's/$/^M/' The catch is that the ^M needs to be a literal CR, which requires a little explanation to enter with vi. If someone would be so kind as to e-mail or point me to the SGML for this section, I'll be happy to write up creating this script as /usr/local/libexec/if-addcr, including at least a brief description of using ^V to enter the ^M using vi, and submit diffs. Ah, while I have your attention, WRT "Administrating printers," while "adminitrating" and "administering" are synonymous, "administering" is more common and preferred, at least in US English, for whatever that may be worth. -- John Lind, Starfire Consulting Services E-mail: john@starfire.MN.ORG USnail: PO Box 17247, Mpls MN 55417