Re: Subject: Print

From: Date: Thu, 09 Sep 2004 09:31:07 +0000
Subject: Re: Subject: Print
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-36130@lists.php.net to get a copy of this message
This is NOT a PHP question, or even a Javascript question - it's basic HTML and CSS. You must read here http://www.dillonsoftware.com/essays/printing.jsp point #3 And here on A ListApart : http://www.alistapart.com/discuss/goingtoprint/6/ But please do not post basic HTML questions to the PHP lists unless you intend to use PHP/Windows native print functions. A little web research will also help. Cheers - Neil At 08:05 09/09/2004 +0000, you wrote:
From: "Ng Hwee Hwee" <hhwee@towa.com.sg> To: "PHP DB List" <php-db@lists.php.net> Date: Thu, 9 Sep 2004 16:05:55 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative;
        boundary="----=_NextPart_000_021B_01C49686.E3359460"
Subject: Print Hi, I have a pressing problem with regards to printing. My situation is as follows: 1) I have a form in a table format with the following headers:
    | No. | Date | Contents | Remarks |
2) the fields under "Contents" and "Remarks" are textareas to allow users to type as much as they want.
3) after submitting the form, user will click on a button that will activate window.print() to print the form
4) however, sometimes user types too much and the information spills over to two or more pages.
5) user thus wish to also have the headers of  the table repeated on the subsequent pages.
So, my problem is, how can I know when the information will be more than a page? is there a way in PHP to calculate the number of lines output and then I can force a page-break? please help me. thank you soo soo much! regards, hwee hwee
======================================================== CaptionKit http://www.captionkit.com : Production tools for accessible subtitled internet media, transcripts and searchable video. Supports Real Player, Quicktime and Windows Media Player. VideoChat with friends online, get Freshly Toasted every day at http://www.fresh-toast.net : NetMeeting solutions for a connected world.

« previous php.db (#36130) next »