Path: utzoo!utgpu!water!watmath!clyde!att!mtunx!rutgers!cmcl2!nrl-cmf!ames!lll-tis!lll-winken!lll-lcc!pyramid!cbmvax!carolyn From: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Newsgroups: comp.sys.amiga.tech Subject: Bug in Devcon Epson driver source Keywords: printer Epson Message-ID: <3966@cbmvax.UUCP> Date: 8 Jun 88 16:19:29 GMT Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Distribution: comp Organization: Commodore Technology, West Chester, PA Lines: 27 TITLE: bug in EpsonX[CBM_MPS-1250] source on Devcon disks There is a bug in the source code given out at DevCon for the EpsonX[CBM_MPS-1250 printer driver. The original lines are... if (PD->pd_Preferences.PrintShade == SHADE_GREYSCALE) { bptr += x; do { /* for all source pixels */ The line 'bptr += x;' should be REMOVED! It is incorrect as approximately 10 lines down the line... *(bptr + x) |= bit; accounts for x. The EpsonX[CBM_MPS-1250] driver given out at DevCon DID NOT have the bug compiled into it. It was simply a documentation error in the source file. Driver writers beware! Regards, David Berezowski -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CATS >>Commodore Amiga Technical Support<< UUCP ...{allegra,ihnp4,rutgers}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=