rouilj@umb.umb.edu (John P. Rouillard) (01/04/90)
Has anyone got dvi2lj (version 0.44) from Gustaf Neumann working on a sun 386i or indeed on any sun at all. I have it working fine under MS-DOS and we are now trying to drive our HP-Laserjet II off of the network. The problems that occur when running it over testpage.dvi are: - Dropping of letters in the middle of text. E.G. The input text is: The frame on this page should be $6\frac{1}{2}'' \times 9''$. When printed on The output text is: The^frame^on^ths^^page^shoud^^be^6*"^x^9". When^prn^ted^ on The * above is a 1/2 in frac style without the 1 on top. ^ are spaces. The missing letters are 'i' or 'l'. - Spacing is screwed up. It appears to think there is a letter somewhere but it isn't quite sure about what to do with the extra space. If I compile it with DEBUG defined, the -d switch will produce output telling me that certain characters are being allocated. It looks like the characters are being allocated but, they aren't appearing in the output. Also the ruler on the left-hand side of the page is scrunched with the numbers (7,9) being printed one on top of the other. I have compiled the code with both bin/cc and 5bin/cc. There doesn't seem to be any difference in the output. Also there is a warning in the code about SignExtend() being compiler dependent. Something about logical vs. arithmetic shifting. Does anybody have any Ideas, I have spent a couple of weeks trying to track down the exact cause of the problem. I am sure it is not the dvi file or the fons on the two machines. The only culprit left is the dvi2lj. I am really getting some pressure to complete this project. If anybody has an idea I would appreciate hearing about it. As much as I like this driver, if anyone has another driver that they use, I would like to hear about it as well. If you send e-mail, I will summarize to the net. aTdHvAaNnKcSe -- === The opinions expressed above are all mine and belong to nobody else. === John Rouillard U-Mass Boston rouilj@umb.umb.edu Physics Major Harbor Campus husc6!umb!rouilj Physics Department Boston, MA 02125 rouilj%umb.edu@RELAY.CS.NET
bts@sas.UUCP (Brian T. Schellenberger) (01/07/90)
In article <1021@umb.umb.edu> rouilj@umb.UUCP (John P. Rouillard) writes: | The missing letters are 'i' or 'l'. This is not a dvi2lj problem; it's a communications protocol problem. This was happening to us when we first got a LaserJet II hooked up to our Apollos. Somebody eventually figured out that these characters are *10* pixels wide--the code for ASCII nl. Your computer is translating NL to CR-NL; you need to make it stop. -- -- Brian, the Man from Babble-on. ...!mcnc!rti!sas!bts -- (Brian Schellenberger) "No one will ever write a song called 'Nitro Burning Funny Cars'" -- THE DEAD MILKMEN, "Nitro Burning Funny Cars"