Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!uw-beaver!cornell!rochester!ur-tut!sunybcs!boulder!hao!ames!ucbcad!ucbvax!hplabs!hp-pcd!hpcvlx!bw From: bw@hpcvlx.HP.COM (Bill Wilhelmi) Newsgroups: comp.sys.ibm.pc Subject: Re: MS Word & The HP LaserJet Message-ID: <1180002@hpcvlx.HP.COM> Date: 8 Jan 88 18:09:38 GMT References: <1842@optilink.UUCP> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 45 > I've been looking at the output produced by Microsoft Word 4.0 for the > HP LaserJet, and I see what looks to be a serious bug. > > It appears that MS Word sends the following sequence to set the LaserJet > to 6 lines/inch: > > 1b 26 6c 6f 36 44 .&lo6D > I used the MAKEPRD program that comes with MSW 4.0 to convert HPLASPS.PRD to a text file. In examining the text file, I found the errant escape sequece on line 226. It should NOT use a lowercase "oh". Rather it should use a zero, or the digit can just be omitted. You can change the "o" to "0" in the text file (or just delete it) and then use MAKEPRD to convert the text file back into the .PRD file. > According to the HP LaserJet Technical Reference, it should be something > like: > > 1b 26 6c 30 36 44 .&l06D This is a standard HP Printer escape sequence. > > I suspect that either the HP LaserJet ignores the "o", or perhaps the > entire command. Has anyone had any problems with lines/inch not being > reset correctly when printing a Word document? > ---------- Escape sequences that aren't recognized are ignored. However, I think that an unrecognized escape sequence is terminated when the "bad" character is read. I wouldn't be surprised if the characters "6D" were also printed. Bill Wilhelmi Hewlett-Packard Company Corvallis Workstation Operation Corvallis, Oregon ______________________________________________________________________________ UUCP:{ihnp4|cbosgd|allegra|decvax|gatech|sun|tektronix}!hplabs!hp-pcd!hpcvlx!bw USnail : 1000 N.E. Circle Blvd., Corvallis, Oregon, 97330, USA