[comp.windows.x] How Can I Print Contents of a Window?

bcarb@KSP.Unisys.COM (Brian Carb) (09/12/90)

I'd like to be able to print the contents of a window (or whole screen)
on my Unisys Laser printer (it emulates an HP Laserjet).  Are there
any utilities to do this?  I know that i can capture the contnets
of a window to a file using xwd, but once I have this file, how can
I print it?  I see mention of xpr, but my release of X (SYS VR3)
doesn't have this utility.  Where can I find this?  I could get the
image of a window and go through it to dump pixels in the correct
printer format; however, if a utility already exists, i'd rather use
or modify it.

Any info would be appreciated.

Brian A. Carb (bcarb@ksp.unisys.com)
Unisys Knowledge Systems
Paoli, PA