carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) (06/08/88)
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=