start-doc in dc<%>

Starts a document, relevant only when drawing to a printer or PostScript device (including to a PostScript file).

For printer or PostScript output, an exception is raised if start-doc has been called already (even if end-doc has been called as well). Furthermore, drawing methods raise an exception if not called while a page is active as determined by start-doc and start-page.