mikeo@sae.UUCP (Michael Ovington) (08/30/90)
>Can anyone please point me in the directions of some >source code that would show me how to print the contents >of an X window to an HP Laserjet printer. I do have access >to uunet, if there is anything on there. I have had excellent results dumping our monochrome screens to an HP Laserjet with: xwd {-root} | xwdtopbm | pbmtolj -r 150 | lpr xwdtopbm and pbmtolj are two utilities in the contrib/clients/pbmplus package of the X11R4 distribution. It has a wonderful set of utilities for manipulating and converting many different bitmap/pixmap formats. I haven't tried dumping any of our color screens, but you should be able to get it to work with some combination of the pbm utilties. ________________________________________________________________________________ Michael S. Ovington Software A&E (703) 276-7910 1600 Wilson Blvd, Suite 500 uunet!sae!mikeo Arlington, VA 22209 mikeo@sae.com ________________________________________________________________________________