aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/print_mswin.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-07-27 21:12:40 +0000
committerGuy Harris <guy@alum.mit.edu>2004-07-27 21:12:40 +0000
commite33dee6ebfe24ee9d3c1de4335b4d49825c3f588 (patch)
tree0806fce46c886c40523f09b62721cac38be81f4a /gtk/print_mswin.c
parent999867b7109f584f2fcb5fb043d4e7e5bc9bd725 (diff)
Suggest the possibility of not using the Windows print dialog to print
on Windows. svn path=/trunk/; revision=11545
Diffstat (limited to 'gtk/print_mswin.c')
-rw-r--r--gtk/print_mswin.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/print_mswin.c b/gtk/print_mswin.c
index 4f805f6cf0..fb830448d3 100644
--- a/gtk/print_mswin.c
+++ b/gtk/print_mswin.c
@@ -90,6 +90,18 @@ void print_mswin(char *file_name)
{
PRINTDLG pdlg;
+ /*
+ * XXX - can this be done without a Windows print dialog?
+ *
+ * "CreateDC()" creates a device context, and you can
+ * apparently specify WINSPL16 as the driver name on
+ * Windows OT, or ther name of a "print provider", such as
+ * "WINSPOOL" on Windows NT, to get a context for a printer.
+ *
+ * The device name would be the printer name as shown by the
+ * Print Manager; is there a way to enumerate those?
+ */
+
/* Initialize the PRINTDLG structure. */
memset( &pdlg, 0, sizeof( PRINTDLG ) );
pdlg.lStructSize = sizeof( PRINTDLG );