No previous PRINTJOB command to correspond to this command (Error 1649)

An ENDPRINTJOB command was encountered without a matching PRINTJOB command preceding it.