Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!bloom-beacon!sae.UUCP!mikeo From: mikeo@sae.UUCP (Michael Ovington) Newsgroups: comp.windows.x Subject: printing on HP Laserjet Message-ID: <9008301504.AA04054@sae.com> Date: 30 Aug 90 15:04:58 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 22 >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 ________________________________________________________________________________