StartDocPrinter

I would like to implement the PP_StartDocPrinter function (in the ddk’s
sample), I didn’t understand if I can use the StartDocPrinter function
from winspool.h or I should implenent it by myself according to the
description in the SDK and DDK.