|
|
tclhpdf is a Tcl interface to Haru Free PDF Libray. tclhpdf is written in C and using TEA build system. So it may work with many platforms. I tested it on Windows2000 and tcl8.4/8.5. Features †
License †
Version History †
Download †
How to Use †package require Hpdf set pdf [hpdf::new] set font [$pdf getFont "Helvetica"] set page [$pdf addPage] $page setSize b5 landscape $page setFontAndSize $font 64 $page beginText $page textOut 50 [expr [$page getHeight] - 80] "HELLO WORLD" $page endText $pdf saveToFile test.pdf see also demo files... Comment † |