Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!mcsun!cernvax!ethz!chx400!pan!jw From: jw@pan.UUCP (Jamie Watson) Newsgroups: comp.windows.x Subject: Re: xpr HP LaserJet hack Message-ID: <841@pan.UUCP> Date: 30 Nov 89 07:08:35 GMT References: <2900@uceng.UC.EDU> Reply-To: jw@pan.UUCP (Jamie Watson) Organization: Adasoft AG, Solothurn, Switzerland Lines: 19 In article <2900@uceng.UC.EDU> schriste@uceng.UC.EDU (Steven V. Christensen) writes: >I applied the MIT fixes to the X11 source, and found some patches to >make xpr work with an HP LaserJet printer. I thought, "gee, neat! That's >what I need!!" After having tried several different hacked versions of xpr, and trying to hack it myself for a while, I finally discovered a much easier way to get window dumps printed on a LaserJet - just use pbm, like this: xwd | xwdtopbm | pbmtolj -r 100 Works like a charm. Not the fastest of all possible solutions, but it also offers you the ability to fiddle with the window dumps using other pbm filters, if you want. If you don't have pbm yet, a new version was recently posted in comp.sources.misc. It really is very nice. jw