I did something similar for one of my clients. Again this used RTF with merge fields, then had a VB program sitting on a PC spooling documents by controlling Word as an automation source. The program used a UniObjects connection to poll for new documents to print and for the name of the destination printer from a control file, and then pushed each one out in order. It was a simple way to do it.
Brian > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik > Sent: 04 January 2005 17:56 > To: 'u2-users@listserver.u2ug.org' > Subject: RE: [U2] UV Pre-printed forms > > >One of my clients would like to replace their pre-printed forms with > >those generated by the system. Basically the form has been > re-created > >in MS > > Since no one else mentioned it, what we do is: > > 1. Create form in Word and save it as a .RTF file. Put 'tags' > (just ASCII text like 'FNAME') into the form elements you > want to fill with data. Use any font and formatting you like. > > 2. Put the .RTF file where you can get at it from UV Basic. > > 3. In your program, open the .RTF template and do a search > and replace for your tags. Stream the output to a new > sequential file with an .RTF extension. > > 4. Use DDE or other method to get Word to print the document. > > Barry > ------- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/