This question already has an answer here:
- Print to standard printer from Python? 4 answers
I have a html page.
#test.html
<html>
<body>
This is print using Python
</body>
</html>
I want to print this test.html using python code. Hoe can we send html file to printer to print ? I want to create a function which I will assign to a button. After user clicks the button, HTML page will automatically get printed on the default printer. It needs to render as browser.
Aucun commentaire:
Enregistrer un commentaire