|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi everyone,
I'm using CF to generate Invoices when a link is clicked from a customer's profile page. I'd like to be able to do it automatically for all the customers because the variables are passed through by the URL. I've searched around and it seems that javascript doesn't allow a webpage to print upon loading w/o the user clicking OK. Is there something in CF that can do it? I'm thinking is it possible to perhaps generate the HTML code, save it as an html file w/ different names? so that I can use a Dos batch or something to print those files later? any suggestions please? Thanks so much. |
|
#2
|
|||
|
|||
|
ColdFusion can't do anything on the client-side. CF is a server-side technology. That is the realm of Javascript, ActiveX, Flash, and Java Applets. I believe there are Javascripts out there that will print a page (even automatically onLoad()), but you'll probably want to ask about it in the Javascript forum or browse the sites that provide libraries of Javascripts.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
Hi Kiteless,
I've searched in the javascript forum prior to posting here, it seems that there is no javascript functions available to print w/o clicking OK, security reasons. I probably will have to find a macro to click the "OK" button. Unless there's a better way. Thanks |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > print generated pages automatically |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|