Thread: Small bug fixed in PgAccess

Small bug fixed in PgAccess

From
Constantin Teodorescu
Date:
A small bug has been fixed in 0.76 release.

Please get the last version
http://www.flex.ro/pgaccess/pgaccess-0.76.tar.gz

Does anyone knows more about printing canvases in Tcl/Tk ?


--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA

Re: [INTERFACES] Small bug fixed in PgAccess

From
Peter T Mount
Date:
On Mon, 12 Jan 1998, Constantin Teodorescu wrote:

> A small bug has been fixed in 0.76 release.
>
> Please get the last version
> http://www.flex.ro/pgaccess/pgaccess-0.76.tar.gz
>
> Does anyone knows more about printing canvases in Tcl/Tk ?

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.

--
Peter T Mount  petermount@earthling.net or pmount@maidast.demon.co.uk
Main Homepage: http://www.demon.co.uk/finder
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


Re: [INTERFACES] Printing from PgAccess

From
Constantin Teodorescu
Date:
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

Re: [INTERFACES] Printing from PgAccess

From
Peter T Mount
Date:
On Tue, 13 Jan 1998, Constantin Teodorescu wrote:

> 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.

Ok, I'll hunt it down.

> 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 ?

I seem to remember that it's capable of scaling the output, so one way is
to refer to the coordinates in units of mm. That way, you can even handle
other paper sizes.

--
Peter T Mount  petermount@earthling.net or pmount@maidast.demon.co.uk
Main Homepage: http://www.demon.co.uk/finder
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk