Xref: utzoo comp.periphs.printers:1087 comp.text.tex:6859 Newsgroups: comp.periphs.printers,comp.text.tex Path: utzoo!utgpu!watserv1!watdragon!violet.waterloo.edu!pacolley From: pacolley@violet.uwaterloo.ca (Paul Colley) Subject: Here is a DVI driver for the HP DeskJet 500 (1 of 2) Message-ID: <1991Apr18.181630.989@watdragon.waterloo.edu> Originator: pacolley@violet.waterloo.edu Sender: news@watdragon.waterloo.edu (News Owner) Organization: University of Waterloo Date: Thu, 18 Apr 1991 18:16:30 GMT Lines: 140 In the best Usenet tradition, here is a summary of my quest for a working DVI driver for the HP DeskJet 500. Wed Apr 17 08:21:01 EDT 1991 I received a minimal set of Beebe files and a "dvidj.c" which was supposed to be a DeskJet driver, from an individual who hadn't yet been able to test it. After much frustration (involving the fact that the output was "horizontally hashed" into unreadability), I asked the person who sent it to me if he had tried it yet; didn't work for him either. . He recommended a commercial TeX package that included the DeskJet driver. Refusing to buy myself out of my problem (budget more than pride being the issue), I asked the newsgroup for help. The response from the newsgroup was enthusiastic and helpful. Among the responses were a "dvidjp.c" which was supposed to work with the Beebe files. I downloaded the Beebe files from ymir.claremont.edu, added the dvidjp.c, and compiled. The resulting executable had the peculiar habit of destroying the input .dvi files. After destroying the .dvi file, it (correctly) noted that it was no longer in the correct form for a .dvi file and refused to print it. Hmmm... Rather than trying to debug that, I next tried the "dvidjp.c" with the set of Beebe files that were sent to me with "dvidj.c". Voila! Success! Or... maybe not... When the inital rush wore off, I noticed that no horizontal or vertical lines were printing (dashes printed, but not over/under lining or lined tables or footnote-separators). After some abortive fiddling with the font files looking for a non-existent problem, I discovered that the "fillrect" code was commented out in gblprocs.h and setrule.h as they were sent to me in the "dvidj.c" set. Replacing them with the files from the Beebe set resulted in a "dvidjp" executable that works, as far as I can tell, perfectly. And that's where it stands now. ---------------------------------------------------------------------------- O.k., now for the comments: Much thanks to all who helped. I hope I haven't missed anyone, but the list includes: Steve Orr (steveo@world.std.com) Paul Reilly (reilly@dg-rtp.dg.com) Meinhard E. Mayer (?) (hardy@golem.ps.uci.edu) Fred Appelman (fred@cv.ruu.nl or appelman@cs.unc.edu) Bob Hepple (bhepple@Asia.Sun.COM) With special thanks for Paul Kirkaas (kirkaas@cs.ucla.edu) who wrote and sent me the dvidjp.c code. In addition, I recieved many requests for the driver, so I will post the source to dvidjp.c separately. ---------------------------------------------------------------------------- Other related stuff: -------- A recommendation on a commercial version: >From: steveo@world.std.com (Steven W Orr) Subject: Re: DVI to DJ The stuff that I sent you seems to behave the same as it did when I tried it. I solved the problem by being contacted by a Mike Grenier who owns a joint called ScandiaMicrosystems. They provided me (for a fee) with the binaries for the TeX/Metafont system, groff, xdvi, and a few other related goodies. Also comes with all of the TeX font libraries etc. BUT! The biggie is that it comes with a dvitodj that really works. That alone makes me feel good about about throwing money at him. I can recommend this stuff to you highly. Mike Grenier: 612-464-6056 or texinfo@cimcor.mn.org He took my Visa number over the phone and was very responsive when I had a couple of installation questions. BTW. I am just about to complete this little fiasco by acquiring the src code for the whole shebang tomorrow. -------- A somewhat cryptic note: (Changing the DIP switches did not help me, but I've included it anyways included anyways...) >From hardy@golem.ps.uci.edu Mon Apr 15 16:53:20 1991 Subject: Re: DVI driver for DeskJet500 WANTED Name: Meinhard E. Mayer (Hardy); Tel:(714) 856-5543; Bitnet: MMAYER@UCI Organization: Department of Physics, University of California, Irvine CA 92717 From: Hardy I have compiled it on an HP 9000/370 and it runs fine on a deskjet plus. I had similar problems originally and traced them to the printer switch settings! which are left-toright: dddudddd uuuddddd. I have placed a tar-file (with modified cmakefiles and headers) in pub for anonymous ftp, if you want to try again. But play with the switches first! Hardy -------****------- Meinhard E. Mayer (Prof.) Department of Physics, University of California Irvine CA 92717;(714) 856 5543; hardy@golem.ps.uci.edu or MMAYER@UCI.BITNET -------- A recommendation for a MS-DOS solution: From: Fred Appelman Subject: Re: DVI driver for DeskJet500 WANTED If its a IBM PC, use emtex. I have the same printer and it works fine with the 'prthplj' driver. You have to supply some options to the driver telling it, it's actually a deskjet. After that the result is great. -------- Again, thanks for all those who sent code and offered suggestions. - Paul Colley pacolley@violet.waterloo.edu ...!watmath!ember!pacolley