if 0 { <> ---- **Summary** [HJG] 2016-02-02: This is another attempt at quick, easy, ad-hoc printing of simple textfiles. I often have some informations in a textfile, and if I need that printed out, I want a nice looking page, <
> e.g. with a few headers, some text in bold etc., but I don't want to use an 'Office'-textprocessor for that. The idea is to convert that textfile to a html-file, then print that with the browser. That basic operation of that converter is to copy the file x.txt to x.html, add some lines like "" "", "" etc. and wrap the first line of text in

-tags. Then drop the resulting file x.html into the browser and print. <
> Or, use a fixed location for the output-file, and bookmark that in the browser. Add some CSS to taste, and extent the converters "basic operation" to cover more markup, as need arises. With ideas and code from the following pages: * http://wiki.tcl.tk/28965%|%Markdown%|% * [A little demon] - Script that can work as a print-spooler. * ... } ---- **Code** ======tcl # EasyTextPrint001.tcl - HaJo Gurt - 2016-02-02 # http://wiki.tcl.tk/42409 puts "EasyTextPrint:" set i 0 foreach s { foo bar grill } { incr i; puts "$i $s" } ... ### EOF ### ====== ---- **Comments** ... ---- '''See also:''' * ... <> GUI | Application