Re: [PHP] Reports in web browser

2001-05-20 Thread Miles Thompson
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 e

Re: [PHP] Reports in web browser

2001-05-19 Thread John Monfort
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. Print Document //or something like that... good luck !! __John Monfort_ _+---+_ P E P I E D

Re: [PHP] Reports in web browser

2001-05-19 Thread Markus Fischer
On Sun, May 20, 2001 at 02:11:04AM +0200, Richard wrote : > You need to be more specific than that. > > You cannot demand the browser to start printing, [...] Not true if JavaScript is enabled (and most browsers do). window.print(); prints the document (but in fact, it will popup a printing d

Re: [PHP] Reports in web browser

2001-05-19 Thread Richard
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"" <[E

[PHP] Reports in web browser

2001-05-19 Thread Mihailo Dzigurski
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