The STARTDOC escape informs the device driver that an application is beginning a new print job. After the STARTDOC call is issued, Print Manager queues all output from a particular application in a corresponding job until an ENDDOC escape is issued. (Note that you cannot use the ENDDOC escape to terminate a job.)