login
Header Space

 
 

Re: printing from IBM ProPrinter x24

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Monday, August 31, 1992 - 6:46 pm

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: printing from IBM ProPrinter x24, Kevin W. Hammond, (Mon Aug 31, 6:46 pm)
speck-geostationary