This is a combination of the
xwd (X Window dump) and xpr (X Window dump print)
It allows a user to dump an X Window directly to a printer.
Typically, it would be used as:
xdpr -device ps