Re: HTML Printing problem.

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

 



We have tried this method but it has a lot of problems. One is that you have to hit print everytime a new page is printed. You can do some active x programming to get around this but then your just talking IE. Another problem is that you have to count lines to keep your headers straight. The great thing about html is that you can define your headers to look right on the screen (only showing once) and in your document (showing on every page) with little code. The draw back of html is that there is no effient way to print large files.

JAVA comes with a html parser that you can use to send files to the printer. Is there something like this in php?


From: Piotr Pluciennik <ppluciennik@yahoo.com>
To: php-windows@lists.php.net
Subject: Re:  HTML Printing problem.
Date: Tue, 07 Oct 2003 22:54:02 +0200

Hi,

if I can suggest you to do some pagination on your reports, then after printing
each page, next page will be automatically loaded and printed and so on until
report will be printed. Reloading and printing of each page should be done with
client side programt, such like javascript...


This metod will produce several html pages smaller and easier to handle for the
browser.


HTH, let me know
Piotr

php coder wrote:

> Issue:
> HTML files are to large to print from the browser. We are creating reports
> that are ++5 mg in size. This is a real problem for the browser. We are on a
> network and can print directly from the server but this means we must
> convert the html to some printer friendly format. We are using many new
> standards such as <tbody and <thead tags to give us consistent header tags
> on each page of a printed document. These seem to cause problems with most
> conversions that we have seen.
>
> Any help with a solution?
>
> _________________________________________________________________
> Instant message with integrated webcam using MSN Messenger 6.0. Try it now
> FREE! http://msnmessenger-download.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


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


_________________________________________________________________
Instant message in style with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com


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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux