On Mon, 22 Jan 2007 20:14:31 +0000
"Asrarahmed Kadri" <[EMAIL PROTECTED]> wrote:

> Hi folks,
> 
> I am trying to save a tkinter canvas using canvas.postscript() method...
> 
> The thing works fine when the canvas size is small; but it gets cut (from
> the top and left side) when the size increases..
> Here is the code:
> 
> c.postscript(file=filename,height = canvas_height,width =
> canvas_width,colormode='color',pagex=200,pagey=250)
> 
> The image also gets printed very low on the page in the postscript file..??
> 
> Can anybody help me to fix the problem..?
> 
> Thanks in anticipation.
> 

Have you tried to omit the pagex and pagey options, if you call postscript
without any options (except filename) the whole canvas should be centered on
the page.

Michael
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to