How do you write to the printer ?

David David
Wed Jan 7 23:46:06 CET 2009

Can find nothing in the on-line docs or a book.
Groping in the dark I attempted :

    import io'stdprn','w')          # accepted
    stdprn.write('hello printer')   # fails  < stdprn is not defined >

Thanks to all responders I'm inching up on the snake.

More information about the Python-list mailing list