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]

Reply via email to