internal abstract bool EndDoc(GraphicsPrinter gr);
internal abstract bool StartDoc(GraphicsPrinter gr, string doc_name, string output_file);