Chris Farley wrote: > I would like to gracefully handle situations such as when the paper > is out or the printer is powered off. Right now the program just > hangs. The simplest way would be to use a timeout as described in the python lib docs, have a look at the signal module. Mathias