RE: Informix and word processing
Posted in 1991
Alberto Daniel Teszkiewicz writes: > We need to combine a word processing software with Informix SE tables. > We want to include in a letter columns of some tables, and also > to send letters to all the address in a table. Do you know some software > to do this? > > Thanks > --- > Lista Argentina de Usuarios de > Informix > Alberto Daniel Teszkiewicz > informix@dia.edu.ar I have used a different approach to letter writting using NROFF. Actually I have an nroff look like. My problem was to be able to generate letters with paragraph indentation, blocked text, underline, bold, etc. I also want to be able to split a batch of letters and direct them to separate printers in order to speed processing. (Semi-legal letter quality documents with 4 carbons. Regular daisy wheel type printers would only do the job right.) The solution was to write nroff macros that would format the document in a specific way. The macros provided the means of specifing individual data and what to do with it. What I acutally ended up with was a report writer that was programmed using nroff macros. Some example text: .RN HA09373 " " .BA .AL "somebody's name who gets the letter" .AL "there address" .AL "FOR: The USA Consular Office" .PE "persons name" "RONY" "A-" "id no" .B1 "another person name" "SCHNEIDER" " " "id no" .RE FATHER SON .PP "id no" "id no" .DT 08-29-91 09-11-91 .RS ABO A A .RS Rh ccDee ccDee .RS HLA A-02,A-36 A-02,A-24 .RS HLA B-45,B-53 B-53,B-00 .RS HLA C-04,C-00 C-03,C-04 .LH 92.2% .SS Y .SM ABO A,O .SM Rh cDe,cde,cDue .SM HLA A02,B53,C04 .HE .MA .RP .BE .PX .P1 .LE .CA .PR .EC This text could be generated by Informix from database or by other programs. When nroff is run macros pick up the data and do the custom formatting . .SS for example specifies various switches that determine sentences to be included in the document. Example: NOT INDICATED: NO DIRECT LINKAGE can be shown between the petitioner (\\*(pe) and the beneficiary (\\*(#n), therefore relationship is not indicated for the following reason(s): .sp Michael J. Kuhn Consultant phone :301-254-7060 e-mail :c/o Baltimore Rh Typing Laboratory, Inc. phone :301-225-9595 rhlab!kuhn@uunet.uu.net or uunet!rhlab!kuhn