Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

php be used here? print dialog box?

Status
Not open for further replies.

whoknows361

Technical User
Sep 22, 2005
228
US
Hello all. I was wondering. I want to use a flash file & I can make the file composite something I want for printing - in fact I can make it print just fine as well.. However, what I want it to do is to not show the print dialog box, but instead, just go to the default printer automatically. I can't do this in flash.. Would PHP allow me to do this at all? Thanks in advance.

Jonathan
 
Unfortunately no. Since PHP runs on the Server there is no way for it alter the normal functioning of the clients browser. You would have too look into Javascript or maybe Vbscript.

Regardless of that,
Tampering with functionality that a user expects to be there is not a good idea, how can you be certain the user wants to print out your Flash file to the default printer, maybe they want to select a different one from the dialog box and you are not allowing that.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top