Hi!
You can have the print dialog pop up automatically when a page is loaded...
though you cannot actually start the action of the printing.. that would
depend on the client..
how is it done?? I have no clue... cause the webpage which did this is now
down!! .. but u can.. so look harder and u will find out how..
hth
akshay
At 22:47 17/03/00 +0000, you wrote:
>On Fri, 17 Mar 2000, Vish Bapat wrote:
>
>> We need to print a ticket on the client PC, when a button is clicked.
>> The matter to be printed is generated as HTML on the fly by the PHP
>> processor. We studied all material on HTML/PHP but got no clue on this.
>> We hate to print thru the print drop down menu of the browser thru file
>> menu.
>
>You have to get one concept clear. PHP is server side. Whatever PHP does
>is done on the server. PHP *cannot* do anything on the client.
>
>If you want to do something on the client, then use javascript.
>
>This of course will not work unless the client is javascript enabled.
>
>Furthermore, I do not know if you can use javascript to print a document.
>If that were possible, then I could put a javascript on my page that sent
>a thousand pages of junk to your printer - not good.
>
>I know what you mean about having to print from the menu. I mean - menus
>are for restaurants. :)
>
>Philip
>
>--
>Without freedom of choice there is no creativity.
> -- Kirk, "The return of the Archons", stardate 3157.4
>
>
>
>To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the
mailing list button and fill the appropriate information
>and submit. For any other queries contact the ML maintener
>
>
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener