> For some reason I just kept over-thinking this and mucking around with > identifying specific characters and such without getting any benefit from > it. Your solution worked just fine. I added about a dozen lines to the > addText method for various chars that seem to cause problems and it works. > > Thanks again
No problem, it took me a bit to figure it out as well when I ran into the same issue… I ended up making a wrapper method that has the single purpose of "escaping” special characters for PDF generation. I would encourage more 4D programmers to use this code. PDF documents look kind of scary but as you pointed out they are easier than using a print form with these few methods added to your application. And they are cross platform, require no plugins nor printer drivers and the code is free :) -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:[email protected] http://www.greatext.com/ ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

