'Set up printing of a document. (Write Postscript DSC header.)'

def begin_document(self, id=None):

    self._fp_write('%!PS-Adobe-3.0\nsave\n/showpage    {    }    def\n%%EndComments\n%%BeginDocument\n')
    self._fp_write(EDROFF_PS)
    self._fp_write(VDI_PS)
    self._fp_write('%%EndProlog\n')
    self.isofont = {}
