Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!uceng!schriste From: schriste@uceng.UC.EDU (Steven V. Christensen) Newsgroups: comp.windows.x Subject: xpr HP LaserJet hack Message-ID: <2900@uceng.UC.EDU> Date: 23 Nov 89 05:20:43 GMT Organization: Univ. of Cincinnati, College of Engg. Lines: 34 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!!" I applied the patch (successfully, so it says), and set off to try it out: System: Sun 3/60 with SunOS 4.0 X11R3 with MIT fixes and Purdue speedups. I use "xwd" to dump a window. This works, as I can display the window with "xwud" just fine. I try to use "xpr" to create the raster file like this: "xpr -def ljet -out hpjetout windowfile" When I print it, all I get (after some time in transferring the file to the printer:-) is a dark black page. I look at the file "hpjetout" with "od -ax hpjetout", and I correctly see the commands to set up and print the raster files, but all the data is "ffff ffff ffff ffff .....", which is of course the black page. I know the xpr works for a pageprinter (IBM3812), because I created a 3812 file and it looked reasonable (at least not all ffff......). Does anyone have an idea why this is happening? No error messages are output or anything (but that doesn't mean anything...). Thanks, Steven -- Steven V. Christensen U.C. College of Eng. schriste@uceng.uc.edu