Re: Subject: Print

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
To: "PHP DB List" <php-db@xxxxxxxxxxxxx>
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.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux