Re: Reports in web browser

From: Date: Sun, 20 May 2001 12:52:21 +0000
Subject: Re: Reports in web browser
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53609@lists.php.net to get a copy of this message
Well, I think there's a Javascript function one can use to start printing, but users will hate it. A bigger issue, I would think, would be formatting to preserve indents, column alignment ,etc. We have no control over the resolution of the user's system, size of the browser window, etc. Even extensive use of <PRE> tags is problematic. This would seem to be a good place to use pdf functions so that the generating system has complete control over the document. My two Canadian cents - Miles At 02:11 AM 5/20/01 +0200, Richard wrote:
You need to be more specific than that. You cannot demand the browser to start printing, only thing is to write the contents of the report to a webpage and then the visitor/user can print it out if she/he likes. It depends on how you have stored the reports. - Richard ""Mihailo Dzigurski"" <mdzigurski@yahoo.com> wrote in message news:EGEKKKPEJGPFCEEOFDOLAEIECCAA.mdzigurski@yahoo.com... Hello, I have written some accounting application using PHP, and now I need to create some reports. Those reports need to be printed from web browser. What can I do? Thanks Mihailo.


« previous php.general (#53609) next »