Re: [PHP] Reports in web browser
I believe there is a window.print() JavaScript code, that lets you print a document. I've never used it, so I'm not sure. a href=# onClick=window.print();Print Document /a //or something like that... good luck !! __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The world is waiting, are you ready? -+___+- On Sun, 20 May 2001, 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 [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Reports in web browser
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 [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Reports in web browser
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. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Reports in web browser
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 [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]