pJob->parentShell == NULL ||
pJob->pSetup == NULL) return;
+#if defined(PRINTING_SUPPORTED)
+
/*
* Create the print shell and
* the print output widgets
#endif
if (pJob->pShell == NULL) return;
+#endif /* PRINTING_SUPPORTED */
+
}
static void
_pjDoPrint(PrintJob *pJob)
{
+#if defined(PRINTING_SUPPORTED)
+
static char buf[1024];
static char *format;
DtPrintSetupData *psd = NULL;
}
}
#endif
+#endif /* PRINTING_SUPPORTED */
+
+
}
/************************************************************************
static void
_pjPdmSetupCB(Widget print_setup, XtPointer client_data, XtPointer call_data)
{
+#if defined(PRINTING_SUPPORTED)
char *pname = "_pjPdmSetupCB";
PrintJob *pJob = (PrintJob *) client_data;
DtPrintSetupCallbackStruct
else
fprintf(stderr, "Internal Error %s: Missing XmPrintShell.", pname);
}
+#endif /* PRINTING_SUPPORTED */
}
static void
_pjPdmNotificationCB (Widget widget, XtPointer client_data, XtPointer call_data)
{
+#if defined(PRINTING_SUPPORTED)
PrintJob *pJob = (PrintJob*) client_data;
XmPrintShellCallbackStruct *pscbs = (XmPrintShellCallbackStruct*)call_data;
char *message = NULL;
if (message != NULL)
Warning( pJob->pPad, message, XmDIALOG_WARNING);
+#endif /* PRINTING_SUPPORTED */
}
XtPointer call_data
)
{
+#if defined(PRINTING_SUPPORTED)
PrintJob *pJob = (PrintJob *) client_data;
XmPrintShellCallbackStruct *pscbs = (XmPrintShellCallbackStruct*)call_data;
if (pJob->npagesDone >= pJob->npagesTotal)
pscbs->last_page = TRUE;
#endif
+
+#endif /* PRINTING_SUPPORTED */
}