Re: 4GL Report (Logo Printing)
Posted in 2000
One simple method is to do something similar with postscript and have ghostscript render it for your target printer brett Christophe MAUMONT wrote: > > Calvin Shoults <jcsatlcom.net@mindspring.com> a 'crit dans le message : > 8s0k03$ma2$1@slb7.atl.mindspring.net... > > We are wanting to eliminate pre-printed forms. The only problem is that > we > > are required to have our company logo on reports that go to our customers. > > Is there a way to print a logo with our 4GL reports? If so, what are some > > good examples? > > ........................................Many Thanks, James > > > > > > I have a way to do that, but it is my way ... > First, I make a WORD document for the logos with "XXX" on the last row, I > print it to the printer (PCL) in a file .prn. > Second I modify the .prn file, I cut it in two file, the first, .ent from > the beginning who ends just before "XXX" and I add ,at the end, the escape > sequence to postition the cursor at (0,0), the second, .fin, just after the > "XXX" to the end of the .prn. > FOREACH PAGE, I send the .ent, the data I want to print and the .fin. I do > it with awk who cuts my data every 66 lines. It works !!! But there must be > a ..ent and a .fin foreach type of printer you want to use. > If someone has got something more generic and portable, I would be wonder to > get it. -- ----------------------------------------------------------------- Brett's fifth law of UNIX administration... Users don't like us, they never have, never will. It's all associated with the kind of logic teenagers express... "We know better than you do..." ----------------------------------------------------------------- Brett Geer - UNIX Admin/Analyst/Programmer - Intratex Holdings. Tel. +27 31 717 4000 Direct. +27 31 717 4146 Fax. +27 31 717 4001 ----------------------------------------------------------------- Beer...because one doesn't solve the world's problems over a glass of white wine. -----------------------------------------------------------------