Received: from flex.flex.ro (flex.flex.ro [193.230.255.2]) by hub.org (8.8.8/8.7.5) with ESMTP id HAA25984 for ; Tue, 13 Jan 1998 07:57:54 -0500 (EST) Received: from flex.flex.ro (localhost [127.0.0.1]) by flex.flex.ro (8.8.8/8.7.3) with SMTP id OAA09840; Tue, 13 Jan 1998 14:56:07 +0200 Sender: teo@flex.flex.ro Message-ID: <34BB6467.1E4C4D2E@flex.ro> Date: Tue, 13 Jan 1998 14:56:07 +0200 From: Constantin Teodorescu Organization: FLEX Consulting Braila X-Mailer: Mozilla 3.04Gold (X11; I; Linux 2.0.32 i586) MIME-Version: 1.0 To: Peter T Mount CC: PostgreSQL Interfaces Subject: Re: [INTERFACES] Printing from PgAccess References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Peter T Mount wrote: > > A couple of years ago, I wrote a small application in Tcl/Tk, which > generated postscript files containing a map showing how far we had got in > capturing data into a GIS system. > I can't remember much on how I had done this, but I should be able to dig > up the code to give you some pointers. Thanks. In PgAccess I will use a canvas in order to paint the report and get the image as postscript file. 1. Presuming that my printer uses A4 paper (X mm by Y mm). How do I know where should I stop writting on canvas (where is the page limit). My objects from the canvas are using some coordinates. What is the formula for translating from canvas coordinates into milimeters ? -- Constantin Teodorescu FLEX Consulting Braila, ROMANIA