[Tkinter-discuss] Trying to center the output of Canvas.postscript() onto A4 page

2021-07-02 Thread Michael Lange
Hi, I want to print the contents of a Canvas widget by feeding the output of the postscript() command to lpr (I am working with linux here). I would like that Canvas "screenshot" to be centered on the printed page (in my case these are A4 pages which are standard here). Unfortunately I do not see

Re: [Tkinter-discuss] Trying to center the output of Canvas.postscript() onto A4 page

2021-07-02 Thread Paul Malherbe
Title: signature Hi Michael, this might help http://www.atmos.albany.edu/facstaff/rmctc/psrotate/ Regards Paul Malherbe Tartan Systems Phone +27(0)82 9005260

[Tkinter-discuss] [Solved] Re: Trying to center the output of Canvas.postscript() onto A4 page

2021-07-02 Thread Michael Lange
Hi, thanks for the feedback! On Fri, 2 Jul 2021 09:17:41 -0300 Emiliano Gavilan wrote: > You can achieve what you want with the correct set of options to the > canvas postscript() method, documented here: > > https://www.tcl.tk/man/tcl8.6/TkCmd/canvas.html#M61 yes, I have been looking at that

Re: [Tkinter-discuss] Trying to center the output of Canvas.postscript() onto A4 page

2021-07-02 Thread Michael Lange
On Fri, 2 Jul 2021 10:14:10 +0200 Paul Malherbe wrote: > Hi Michael, this might help > > http://www.atmos.albany.edu/facstaff/rmctc/psrotate/ > signature Regards > > Paul Malherbe thanks for the tip, it might possibly. Meanwhile I found a better solution, though (see my other post... understan

Re: [Tkinter-discuss] [Solved] Re: Trying to center the output of Canvas.postscript() onto A4 page

2021-07-02 Thread Greg Ewing
On 3/07/21 3:58 am, Michael Lange wrote: Or maybe the printer has some sort of hard-wired margin on each side that it cannot print on and that ought to be taken into account Yes, most printers have an unprintable area of a few mm, and it's not necessarily symmetrical. The manual would presumabl