A.3.2 Additional Dump Function Tasks

In addition to providing the code for the function in the file DRIVERNAME.C, a minidriver developer must also:

1.Make sure that any driver using its own Dump function must compile MINIDRIVE.C using the –DNOENABLE and –DNODISABLE switches. The linker will report errors due to conflicting function names otherwise.

2.Assume that device fonts will not be supported by the Dump function for serial printers.

3.Issue all of the required cursor-movement commands when rendering graphics data.

4.Return the final cursor position after processing the last band of graphics data.

The Universal Printer Driver calls the Dump function once for each band of graphics data. (A band of graphics data is equivalent to the amount of data rendered by a single horizontal pass of the print head when the printer is operating in a noninterlaced mode.) The last band rendered by the Dump function may be narrower than the width of the print head.