----------------------------------------------------------------------------------
@MSGID:
<776725ad-8789-4d7d-abe9-88af8ddc9495n@googlegroups.com> 80648471
@REPLY: 1@dont-email.me> 0be218f1
@REPLYADDR greg <gregor.ebbing@googlemail.com>
@REPLYTO 2:5075/128 greg
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<de5eec43-22be-4d53-9fa6-0bb83321b0f7n@googlegroups.com> <639ec762-f1b9-4951-b11b-61c7b42bd80fn@googlegroups.com>
1@dont-email.me>
@RFC-Message-ID:
<776725ad-8789-4d7d-abe9-88af8ddc9495n@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
Kevin Walzer schrieb am Mittwoch, 13. September 2023 um 04:28:12 UTC+2:
> On 9/11/23 12:49 AM, greg wrote:
> > #print-8.6erw.tcl
> > #0.2
> > if {[tk windowingsystem] eq "win32"} {
> > if {[info tclversion] eq "8.6"} {
> > package require gdi
> > package require printer
> > #Tcl Extensions by Michael Schwarz
> > #
http://wiki.tcl-lang.org/page/TkPrint
> > package require struct::list
> Yes, the "tk print" code for Windows was based on these libraries by
> Michael Schwartz, so the original libraries should work just fine on 8.6.
>
> --Kevin
tk print for tk 8.7 is a great thing.
Also helped me understand printer/gdi better.
I really like the solution in print.tcl for linux print.
Searched for something like this for a long time.
--- G2/1.0
* Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441