=== What: '''pdf4tcl''' Where: http://pdf4tcl.berlios.de Description: pdf4tcl is a [tcl] [package] for generating [pdf] files. It started as a port of pdf4php to the tcl language. Currently at version 0.3. Updated: 01/2008 Contact: See web site === ---- [Sarnold]: I have used pdf4tcl in a small tool to display some kind of report. To me it was a better way than canvas exporting (as Encapsulated PostScript). [MHo]: I'm using it in my photoprinter-tool, see [Matthias Hoffmann - PhotoPrinter]. We had exchanged emails about that months ago. Unfortunally, the tweaks you mailed me have not found their way into a new version.... [JC]: Has anyone done anything more with pdf4tcl? I just got done creating a table layout process where you can easily create tables, split them across pages, repeat headers, etc... It's still very rough code. I was wondering what's been done with pdf4tcl before I go much further. [anoved]: I used pdf4tcl to create strpdf [http://anoved.net/2007/11/strpdf.html], a tool I use to generate pages with short positioned annotations. [anoved]: What's new in 0.3? [Peter Spjuth]: I have added a changes list to the home page. Also, the SVN history starts with my 0.2 import so all changes can be seen in the history there. ---- [MHo] 2008-02-01: Just started my first experiments with v0.3: * When generating large amounts of data, the '''finish''' method blocks the gui / program. It seems that data is not written out to the '''-file''' specified with '''new''' before entering '''finish'''. Are there any intermediate ''flush''es or ''update''s within ''finish''??? * Worst than that, the generated pdf is - in my case - unreadable by pdf readers such as FoxitReader... I didn't change fundamental logic in my code between v0.2 and v0.3. * After examining the old and new source code, I wonder if perhaps there is missing some ''fconfigure ... binary'' (within write, there is one)??? * A binary compare of my output files show some differences, one use \x0D, the other (new one) \x0D0A [Peter Spjuth]: There was a fconfigure missing that was fixed a few days ago. Try the latest from SVN and see if it helps. Things should continuously be written to the file, except for channel buffering, while creating pages. Fonts and images are dumped in finish so a lot of those could slow that step down. [MHo]: The PDF unfortunally only contains lots and lots of images (JPGs), because it's an photo album... I will try the latest snapshots ;-) ---- See also [pdflib] - [Trampoline!] ---- !!!!!! %| [Category Package] |% !!!!!!