charles
Posts: 59
|
| Posted: 08/18/2006, 4:17 AM |
|
I have developed a point-of-sales ticketing system for a transport company using codecharge studio.
i would like a situation whereby when the ticketer submits the order form, the return page automatically prints out the ticket.
Is this possible with codecharge studio? alternatively,can the return page automatically call up the windows printer option?
Any help will be greatly appreciated.
Regards,
charles
|
 |
 |
Edd
Posts: 547
|
| Posted: 08/19/2006, 7:13 PM |
|
Charles,
There are a number of alternate methods:
1. If this is an internet project - send an Email of the conformation deatils.
2. If this is an intranet project then send youself to a print friendly version of the ticket.
3. If this is an intranet project and you want to print directly to a "specified" printer on the LAN then investigate http://www.williamsporteloper.com/aspprint.htm
Regards,
Edd
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
 |
 |
charles yakub
|
| Posted: 08/22/2006, 5:38 AM |
|
Thanks for your response.
Specifically i am looking for a way to automatically call up the print option once a particular page loads and then to automatically print the content of that page.
How do i use the javascript window.print() function in codecharge studio to effectively accomplish this in a page onload event?
i have tried to use the page onload event but i am probably doing something wrong.
regards
Charles
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 10/05/2006, 11:02 AM |
|
Don't use CCS client events if you have trouble with them. All they do is generate the same JavaScript that you can manually add directly to your HTML. Thus you can omit those and apply regular JavaScript directly to HTML as recommended in articles covering JavaScript.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |