home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!nwnexus!danubius
- From: danubius@halcyon.com (Joseph R. Pannon)
- Subject: Printer drivers and interfaceing DOS partitions
- Message-ID: <1992Dec29.183500.26688@nwnexus.WA.COM>
- Sender: sso@nwnexus.WA.COM (System Security Officer)
- Organization: Northwest Nexus Inc. (206) 455-3505
- Date: Tue, 29 Dec 1992 18:35:00 GMT
- Lines: 22
-
- I have two new questions here if I may.
-
- 1.) Are there some dot matrix printer drivers in linux somewhere that
- would enable one to print out files not only in plain
- teletype mode, but with some formatting?
- One application for this would be to print out man pages with BOLD
- attributes the way they look on the screen. Right now if I pipe those
- man pages to /dev/lp1 the output is pretty useless.
-
- 2.) I noticed that when I copy an ASCII file from my DOS partition to
- the linux partition, the copy retains the carriage return (ASCII 13)
- character that goes together in DOS files with LF, but is not needed in
- Unix. I had to write myself a little filter to get rid off these extra
- CRs, but it occured to me that there should be some intelligent 'cp'
- function that strips them automatically on import from DOS, and perhaps
- adds them on export. I realize, that the std cp command could not
- possibly know whether it copies a text file or a binary, but perhaps
- there is a modified cp somewhere that has a command switch for something
- like this. Well, is there?
-
- Thanks,
- Joe Pannon
-