## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### SplQmWrite - Remarks

This function writes a buffer of data to the spool file for the print job. The size of the data buffer must not be greater than 64KB. Print jobs that exceed the maximum buffer size must be written by repeatedly calling to this function.

    #define INCL_SPL

    #include <OS2.H>

    HSPL hspl; /* spooler handle. */

    SplQmWrite(hspl,

               strlen("DATA"),

               (PVOID)"DATA");