Обсуждение: Need some clarification about some code.

Поиск
Список
Период
Сортировка

Need some clarification about some code.

От
"Lindsay"
Дата:
Hi, I have found some code that somebody put up about starting a new page using pdflib.
 
The only question I have is what number should be used for the $pdf for the end page and begin page for the next page, and also for the max_x, and max_y.
 
I am trying to start a new page, but don't know how to.
 
I hope somebody can help me.
 
 
pdf_end_page($pdf);
pdf_begin_page($pdf, $max_x, $max_y);
 
Regards
Lindsay

Re: Need some clarification about some code.

От
Michael Fuhr
Дата:
On Wed, Mar 09, 2005 at 12:38:42PM +1100, Lindsay wrote:

> Hi, I have found some code that somebody put up about starting a new page
> using pdflib.

Are you sure you posted to the right mailing list?  This is pgsql-php,
for using PostgreSQL with PHP.  A list or newsgroup dedicated to
PDFlib or PHP in general would probably yield better results.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

Re: Need some clarification about some code.

От
Christopher Kings-Lynne
Дата:
What has this got to do with PostgreSQL?

Lindsay wrote:
>
> Hi, I have found some code that somebody put up about starting a new
> page using pdflib.
>
> The only question I have is what number should be used for the $pdf for
> the end page and begin page for the next page, and also for the max_x,
> and max_y.
>
> I am trying to start a new page, but don't know how to.
>
> I hope somebody can help me.
>
>
> pdf_end_page($pdf);
> pdf_begin_page($pdf, $max_x, $max_y);
>
> Regards
> Lindsay

Re: Need some clarification about some code.

От
"Lindsay"
Дата:
The reason why I asked is because I found a page where someone was talking
about it, so that is why I was asking.
I am truly sorry if I have posted this on the wrong page.

Here is the link that I have found that discussed about Pdflib
http://archives.postgresql.org/pgsql-php/2003-08/msg00099.php

That is why I just wanted clarification.

Regards

Lindsay

-----Original Message-----
From: pgsql-php-owner@postgresql.org [mailto:pgsql-php-owner@postgresql.org]
On Behalf Of Michael Fuhr
Sent: Wednesday, 9 March 2005 12:49 PM
To: Lindsay
Cc: pgsql-php@postgresql.org
Subject: Re: [PHP] Need some clarification about some code.

On Wed, Mar 09, 2005 at 12:38:42PM +1100, Lindsay wrote:

> Hi, I have found some code that somebody put up about starting a new
> page using pdflib.

Are you sure you posted to the right mailing list?  This is pgsql-php, for
using PostgreSQL with PHP.  A list or newsgroup dedicated to PDFlib or PHP
in general would probably yield better results.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq