Version 20 of Tcl/Tk Printing Support

Updated 2009-05-08 12:48:03 by ZB

This site is considered to be a wish list for the text widget printing support.

At this time I know that text widget is widely used to create reports or text editors, so options which I find useful are:

1. pagination mechanism

2. ability to add headers, footers to pages

3. generated page breaks at user-definable locations

4. ability to do preview before starting printing

I'm open to any suggestions to what more should be added to this list. ZB Maybe consider the following - I mean export options, not just printing - as kind of "completion":

5. Export of the text window's contents into formatted using HPCL-6 commands. I mean here the file prepared especially for HP-compatible printer, ready to be printed using single command; printing in such case will be much faster than processing *.ps file

6. Export text window's contents into ps file

7. ...like above, but into *.pdf

Yes, there are some suggested solutions for the latter two at the wiki already, but all of them relying either on additional packages, or even on external utilities (like enscript and so on), and therefore aren't portable. Better would be - if possible - to have direct export possibility. Both file formats are important: "ps" because it can be further processed by other printing tools (like gs), and "pdf" because it's de facto standard in the documents exchange.

jdp - Actually, it would be nice to have printing support separate from the text widget - possibly some way of printing data directly, from a text widget, and from a canvas widget? That way it would be possible to add printing support to custom widgets, and possibly from tclsh as well.


Contact with me:

* via mail: [email protected]

* I also will be reachable via IRC (my nick will be blicharski)