dbwhite@pro-realm.cts.com (David White) (12/18/89)
Can anyone PLEASE share the secret of how to get the printer device to recognize that SetDensity has modified values in the PED structure? I'm trying to write a 1.3 printer driver based on the Commodore source code, but I'm not having much luck supporting multiple densities. When I set the printer preferences for double density, SetDensity changes PED->ped_NumRows from 8 to 16. The printer device seems to ignore the change and only passes my driver 8 raster lines at a time. So I see the first 8 raster lines, map them into the high order nibble of the first two passes. The printer device does a compact/print of the buffer which moves the print head 4 print wires. I get the next 8 raster lines, map them into the low order nibble of the next two passes - and you get the picture: four passes for what should print in two PLUS gaps (1.5 print lines) between the actual data. It's even worse in triple density mode. I'd consult the 1.3 RKM for libraries and devices, but it wasn't out last time I checked. Thank you for any advice you can spare.... UUCP: crash!pro-realm!dbwhite ARPA: crash!pro-realm!dbwhite@nosc.mil INET: dbwhite@pro-realm.cts.com