After about 5 years of on and off goofing around I finally, yesterday, got the Canvas postscript command to produce a postscript file with ALL of the contents of a canvas in it, instead of just what was visible at the time. This did it:

L, T, R, B = LCan.bbox(ALL)
Ps = LCan.postscript(height = B, width = R, pageheight = B, \
        pagewidth = R, x = 0, y = 0)

The write Ps to a file. The problem is the Canvas in the program I have is 8000 pixels wide by 1000 pixels tall (or bigger or smaller). Anything that wants to print the file wants to keep everything squished on to one page. Is there a way through the command to get downstream programs to "span" the image across more than one page (I'd maybe have to calculate something on-the-fly, but that would be OK)?

A screen shot of what I'm trying to print is here. It's in the out.pdf Preview program (OS X) window:

www.passcal.nmt.edu/~bob/unlinked/images/big.tiff

Thanks!

Bob

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to