Mercurial > dwindows
diff dwtest.c @ 1152:58b5374355ab
Added print jobname parameter to dw_print_new().
If parameter is NULL a dummy name will be used.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 12 Sep 2011 19:26:49 +0000 |
parents | 9d97610b2140 |
children | ce83df520be0 |
line wrap: on
line diff
--- a/dwtest.c Mon Sep 12 02:22:48 2011 +0000 +++ b/dwtest.c Mon Sep 12 19:26:49 2011 +0000 @@ -387,7 +387,7 @@ int DWSIGNAL print_callback(HWND window, void *data) { - HPRINT print = dw_print_new(0, 1, DW_SIGNAL_FUNC(draw_page), NULL); + HPRINT print = dw_print_new("DWTest Job", 0, 1, DW_SIGNAL_FUNC(draw_page), NULL); dw_print_run(print, 0); return FALSE; }