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 :

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


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



More information about the Python-list mailing list