Re: Formatting report output
Posted in 1995
On 17 Aug 1995, Storm Software wrote: > A technique we used that was very successful was to pipe your report > to a C file. The C program must sus out which printer you are going after > and read in the correct ESCAPE sequences for that printer. Typically > we put the C program in the /usr/spool/lp/admins/lp/interfaces printer > files. **** Stuff deleted *** > > cat 2>&1 to something like > pcat hp4 2>&1 where pcat is the C program that reads a standard > ---------------------------------------------------------------------------- > Neil @ Storm. Any ideas expressed above are the feelings of > my employer. I own the company. > ---------------------------------------------------------------------------- > Neil, You can achieve the same effect in Unix systems (we use Sco) with a sed script as your filter. Of course, the problem is that the translation will be done always for all files sent to the same printer. Yours, Nick ********************************* Nick Nobbe, Library of Congress NLS/BPH mail: nnob@loc.gov *********************************