Talking to printer from Python CGI
I have a Python CGI. I want to print t开发者_如何学编程he 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
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.
精彩评论