[docs] Printing

Julien Palard julien at palard.fr
Sun May 26 05:12:20 EDT 2019


Hi Dannyy,

> ¿How do I send through python a file to be printed?

This mailing list is to report bugs and propose enhancements in Python documentation, you may find an answer by searching in a search engine or stackoverflow for "Python printer", or "Python printing document"/

It may also depend on your OS or the graphical toolkit you're using, I bet most graphical toolkits have a printer selection window.

On Linux I'll typically just call lpr using the subprocess module. On windows there's a module for it, see : http://timgolden.me.uk/python/win32_how_do_i/print.html

-- 
Julien Palard
https://mdk.fr



More information about the docs mailing list