Friday, January 07, 2011

gnocl::print

Did a little more to this module this lunchtime. Basically implemented the three options shown below.

proc doPrintFile {} {
    puts [upvar level #0]
    gnocl::print file test-print.tcl \
        -baseFont {Gentium 10.0} \
        -linePadding 2 \
        -header "How now brown cow"\
}

I'm now pondering over how to handle pagesize etc...


No comments: