Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
1151:641aa6941b2a | 1152:58b5374355ab |
---|---|
385 return TRUE; | 385 return TRUE; |
386 } | 386 } |
387 | 387 |
388 int DWSIGNAL print_callback(HWND window, void *data) | 388 int DWSIGNAL print_callback(HWND window, void *data) |
389 { | 389 { |
390 HPRINT print = dw_print_new(0, 1, DW_SIGNAL_FUNC(draw_page), NULL); | 390 HPRINT print = dw_print_new("DWTest Job", 0, 1, DW_SIGNAL_FUNC(draw_page), NULL); |
391 dw_print_run(print, 0); | 391 dw_print_run(print, 0); |
392 return FALSE; | 392 return FALSE; |
393 } | 393 } |
394 | 394 |
395 int DWSIGNAL refresh_callback(HWND window, void *data) | 395 int DWSIGNAL refresh_callback(HWND window, void *data) |