PM_Q_STD data is a file of Gpixxx calls that describe the output document. This data type is independent of the device and the presentation driver. The presentation driver invokes the spooler's standard interface (SplStdxxx). All subsequent Gpixxx calls and some escape codes sent to the DC are recorded in a spool buffer. When DEVESC_ENDDOC is detected, the presentation driver ends the recording and invokes the spooler's interface (SplQmxxx) to write the buffered data into a spool file.