xpr takes as input a window dump file produced by xwd and formats it for output on various types of printers.