On 2019-10-04, Daniel <du...@terra.com.br> wrote:

> How to do a code to print to paper?  please post here a "Hello World" 
> code to be printed on paper with an inkjet.

    os.popen('lpr','w').write('Hello World\n')

That's a bit old-school -- you should probably use subprocess.Popen
instead.



-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to