Re: [INTERFACES] Printing from PgAccess

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [INTERFACES] Printing from PgAccess
Дата
Msg-id Pine.LNX.3.95.980113203113.4566B-100000@maidast
обсуждение исходный текст
Ответ на Re: [INTERFACES] Printing from PgAccess  (Constantin Teodorescu <teo@flex.ro>)
Список pgsql-interfaces
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


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: [INTERFACES] Re: [QUESTIONS] Connect to Postgres with pure TCL
Следующее
От: Anders Bergman
Дата:
Сообщение: '