RCS_DEBUG("PdmNotifyCB called.\n");
char *msg;
+#if defined(PRINTING_SUPPORTED)
XmPrintShellCallbackStruct* pr_cbs =
(XmPrintShellCallbackStruct*) call_data;
}
RCS_DEBUG("PdmNotifyCB exiting.\n");
-
+#endif /* PRINTING_SUPPORTED */
}
/*
char buf[BUFSIZ];
RCS_DEBUG("CreatePrintShell called.\n");
+#if defined(PRINTING_SUPPORTED)
/*
* create a print_shell if none available. the print dialog callback
}
}
-
+#endif /* PRINTING_SUPPORTED */
RCS_DEBUG("CreatePrintShell exiting.\n");
}
char *msg;
RCS_DEBUG("PrintSetupCB called.\n");
+#if defined(PRINTING_SUPPORTED)
AppPrintData *p = (AppPrintData*)client_data;
// Free the setup data - use fresh data when Print button pressed.
DtPrintFreeSetupData(p->f_print_data);
+#endif /* PRINTING_SUPPORTED */
RCS_DEBUG("PrintSetupCB exiting.\n");
}
void
DoPrint(Widget widget, AppPrintData * p)
{
+#if defined(PRINTING_SUPPORTED)
int save_data = XPSpool;
char *msg;
xList<UAS_Pointer<UAS_Common> > &print_list = *(p->f_print_list);
Xassert (print_list.length() > 0);
+#endif /* PRINTING_SUPPORTED */
+
RCS_DEBUG("DoPrint called.\n");
+#if defined(PRINTING_SUPPORTED)
// create print shell, if not done yet
CreatePrintShell(widget, p);
}
+#endif /* PRINTING_SUPPORTED */
RCS_DEBUG("DoPrint exiting.\n");
}