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

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

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/)

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

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

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

2002-10-31 Thread R B
When you use, FPDF class (i think others pdf class too), you can setup the paper size in the document (pdf), but the printer don't care this paper size configuration and prints with the default paper size, and my printer don't have a custom size setup. Do you know who to print with custom