PWrite writes 'length' bytes directly to the printer. This function is generally called by printer drivers to send their buffer(s) to the printer.
This function is accessed by referencing off the PrinterData (PD) structure. Below is a code fragment to show how to do get access to a pointer to the PrinterData (PD) structure.