Windows Interface Reference: Printing structure

# Printing

The Printing structure contains functions to control a printer device context.

    structure Printing :
      sig
        type HDC
        type DOCINFO = { docName: string, output: string option, dType: string option}

        val StartDoc : HDC * DOCINFO -> int
        val StartPage : HDC -> unit
        val AbortDoc : HDC -> unit
        val EndDoc : HDC -> unit
        val EndPage : HDC -> unit

        datatype WMPrintOption =
    		PRF_CHECKVISIBLE | PRF_NONCLIENT | PRF_CLIENT | PRF_ERASEBKGND |
    		PRF_CHILDREN | PRF_OWNED
      end