RE: [PHP] command to determine the end of a page?

2002-10-31 Thread R B
ustom size? Thanks, RB From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'Evan Nemerson'" <[EMAIL PROTECTED]>, "'Jeff Bluemel'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: RE: [PHP] command to determine the end of

RE: [PHP] command to determine the end of a page?

2002-10-31 Thread Jay Blanchard
[snip] only problem with that is I believe it is going to change depending on what printer the user has. what looks good on mine may not be quite right for the next person. [/snip] The FPDF class (http://www.fpdf.org) has a SetAutoPageBreak() function which sets the page break at a certain distan

Re: [PHP] command to determine the end of a page?

2002-10-31 Thread Jeff Bluemel
actually Jay - I think inadvertently you answered my question better then I was really looking for. I originally wanted to do this with PDF, but the costs for pdflib were just too high, and I wouldn't find an open source/free solution. I will have to take a look at fpdf, and see if I can use it.

Re: [PHP] command to determine the end of a page?

2002-10-31 Thread Jeff Bluemel
only problem with that is I believe it is going to change depending on what printer the user has. what looks good on mine may not be quite right for the next person. "Carl Brandenburg" <[EMAIL PROTECTED]> wrote in message news:ADEKJJAMOOACODPFNFAPAECLCDAA.tongo@;bossig.com... > I am very unfamil

RE: [PHP] command to determine the end of a page?

2002-10-31 Thread Carl Brandenburg
I am very unfamiliar with printing from PHP, but could you just guess how many lines per page you want to print and after that many lines issue a page break then print your header for the next page? Once you have it working you can tweak the line per page to where they fill a whole sheet of paper.

RE: [PHP] command to determine the end of a page?

2002-10-31 Thread Jay Blanchard
[snip] Might not be the best solution, but you _could_ create PDFs of your data, then print those...? Really clunky, but you could do nice formatting type stuff... [/snip] You may want to try the FPDF class ... http://www.fpdf.org @HTH! Jay -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] command to determine the end of a page?

2002-10-31 Thread Evan Nemerson
Might not be the best solution, but you _could_ create PDFs of your data, then print those...? Really clunky, but you could do nice formatting type stuff... On Thursday 31 October 2002 10:08 am, Jeff Bluemel wrote: > is there a php command that could determine if the end of a page has been > rea

Re: [PHP] command to determine the end of a page?

2002-10-31 Thread Adam Voigt
I tried to do what your talking about, never found a way, other then guessing where it would end with a lot of test runs. We ended up switching to writing out PDF's which is much more scientific where you can just check X,Y coordinates to see where you are on the page. Adam Voigt [EMAIL PROTECTED]