views:

39

answers:

1

I have a Python CGI. I want to print the data in the page. There will be a print button and when the user clicks teh button, I need to do some processing and send the data to the printer. I similarly want to implement 'Export to excel'. Please let me know how to do these

+1  A: 

Do you want to print to the user's printer, or the server's? If it's the user's, this is a job for client-side Javascript, not CGI.

Daniel Roseman