home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!gatech!bloom-beacon!bloom-picayune.mit.edu!daemon
- From: Kevin W. Hammond <hammond@kwhpc.caseng.com>
- Subject: Re: printing from IBM ProPrinter x24
- Message-ID: <1992Aug31.224656.21927@athena.mit.edu>
- Sender: daemon@athena.mit.edu (Mr Background)
- Reply-To: hammond@kwhpc.caseng.com
- Organization: The Internet
- Date: Mon, 31 Aug 1992 22:46:56 GMT
- Lines: 16
-
- In regards to your question about LF's in Unix, there are a couple of options:
- a full blown lpr/lpd combiniation will pretty much take care of it for you,
- combined with a good printcap entry. Another option is to run the code through
- a sed script that appends a CR to each line and then pipe the output of the
- sed script to the printer.
-
- I wrote a program in C for my HP DeskJet that reads a file(s) or stdin and appends
- a CR to each line and then writes the data to /dev/lp and it works like a charm.
- Would have been quicker with a sed script, but I didn't have sed at the time :-(
-
- -kwh-
- --
- Kevin W. Hammond
- hammond@kwhpc.caseng.com
-
- CASE Engineering * 575 W. Madison #1601 * Chicago, IL 60661 * (312)902-2161
-