{Start|End}{Doc|Page} go through DCfuncs.
Implement these in the PostScript driver.
Change PSDRV_Escape to use them.
diff --git a/graphics/psdrv/init.c b/graphics/psdrv/init.c
index f750199..4b8c138 100644
--- a/graphics/psdrv/init.c
+++ b/graphics/psdrv/init.c
@@ -36,8 +36,8 @@
NULL, /* pDeleteObject */
PSDRV_DeviceCapabilities, /* pDeviceCapabilities */
PSDRV_Ellipse, /* pEllipse */
- NULL, /* pEndDoc */
- NULL, /* pEndPage */
+ PSDRV_EndDoc, /* pEndDoc */
+ PSDRV_EndPage, /* pEndPage */
PSDRV_EnumDeviceFonts, /* pEnumDeviceFonts */
PSDRV_Escape, /* pEscape */
NULL, /* pExcludeClipRect */
@@ -95,8 +95,8 @@
NULL, /* pSetViewportOrg (optional) */
NULL, /* pSetWindowExt (optional) */
NULL, /* pSetWindowOrg (optional) */
- NULL, /* pStartDoc */
- NULL, /* pStartPage */
+ PSDRV_StartDoc, /* pStartDoc */
+ PSDRV_StartPage, /* pStartPage */
NULL, /* pStretchBlt */
PSDRV_StretchDIBits /* pStretchDIBits */
};