Commit Graph

317 Commits

Author SHA1 Message Date
André Hentschel 0cf0c28d16 winspool.drv: Also convert printer info for level 8. 2012-05-03 23:45:27 +02:00
André Hentschel c9fdc565e5 winspool.drv: Support printer info level 8. 2012-05-03 11:14:11 +02:00
Huw Davies 5d47a691f1 winspool: Don't leak the handle returned by AddPrinter. 2012-04-24 17:38:03 +02:00
Huw Davies f27df046ad winspool: If CUPS is found but lists no printers assume that there really are no printers - don't look in /etc/printcap. 2012-04-20 12:28:25 +02:00
Huw Davies 1aa5696c93 winspool: Update the default settings when deleting the default printer. 2012-04-20 12:28:20 +02:00
Huw Davies bd3a941b20 winspool: Simplify the code that checks for deleted printers and have it not call OpenPrinter unless it finds a printer that needs deletion. 2012-04-19 19:36:19 +02:00
Huw Davies b9bc9a0cf2 winspool: Add a helper to open a printer's registry key. 2012-04-19 19:36:16 +02:00
Huw Davies 30d18c1165 winspool: Explicitly set CUPS options based on any job ticket lines, which otherwise get ignored by cupsPrintFile. 2012-04-16 17:49:30 +02:00
Huw Davies b2accddffe winspool: Simplify cups function loading. 2012-04-16 17:49:29 +02:00
Huw Davies 79aac9fabc winspool: Implement SetPrinterW for level 9. 2012-04-05 17:53:19 +02:00
Huw Davies 607b5d77bc winspool: Add a helper to set devmode data in the registry. 2012-04-05 17:53:19 +02:00
Huw Davies 9166fcb7a0 winspool: Forward SetPrinterA to SetPrinterW. 2012-04-05 17:53:18 +02:00
Huw Davies 2421519447 winspool: Generalise the A to W printer info conversion to cope with other levels. 2012-04-05 17:53:18 +02:00
Huw Davies b24da40410 winspool: Remove a FIXME now that we don't ignore the defaults. 2012-04-03 17:53:33 +02:00
Huw Davies bfab84378d winspool/tests: Add some tests for OpenPrinter with non-NULL defaults. 2012-04-03 17:53:29 +02:00
Huw Davies fa00fce684 winspool: Correct the padding calculation when there is no buffer. 2012-04-03 17:53:22 +02:00
Huw Davies 25f9d6e33e winspool: Initialise portname. 2012-04-03 17:53:12 +02:00
Huw Davies 0b9a3f9de4 winspool: Propagate the printer's devmode to a new job. 2012-04-02 14:14:37 +02:00
Huw Davies b74c9a6472 winspool: Keep track of any supplied devmode. 2012-03-30 16:56:37 +02:00
Huw Davies 736fdbdec5 winspool: Add a helper to free a printer entry. 2012-03-30 16:56:32 +02:00
Huw Davies 2f78666a01 winspool: Add a helper to duplicate a devmode. 2012-03-30 16:56:24 +02:00
Francois Gouget 47f45d793d Use a single space after a full stop to follow the Windows GUI guidelines. 2012-01-23 16:07:03 +01:00
Francois Gouget 915ddc4026 winspool: Fix the compilation on Solaris by including errno.h instead of sys/errno.h. 2011-12-02 17:25:56 +01:00
Ken Thomases 6df7adfff1 winspool: Wait for and reap print spool child process. 2011-12-01 10:40:41 +01:00
Ken Thomases 7a88d5a1e4 winspool: No need to reset SIGCHLD because we're not changing it anymore. 2011-12-01 10:11:13 +01:00
Alexandre Julliard b14e086da5 winspool: Convert dialogs to po files. 2011-11-17 22:25:55 +01:00
Francois Gouget 7454791643 winspool.drv: Delete the static critical section when unloading the dll. 2011-11-17 11:38:19 +01:00
Alexandre Julliard 7a8a56a27c winspool/tests: Allow a different way of specifying the paper size capabilities. 2011-10-31 20:00:26 +01:00
Andrew Talbot 4c7f394b74 winspool.drv: Const-correctness fix. 2011-09-13 17:16:58 +02:00
André Hentschel 7d13898fbb winspool.drv/tests: Fix tracing a NULL string. 2011-08-30 11:53:06 +02:00
Andrew Talbot f2e922c726 winspool.drv: Fix a logical operator typo. 2011-08-29 12:08:20 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Marcus Meissner dad3342907 winspool.drv: Removed a superflous NULL check (Coverity). 2011-06-15 20:04:42 +02:00
Marcus Meissner 6ade35ef0f winspool.drv: Mark internal symbols with hidden visibility. 2011-05-26 13:31:40 +02:00
David Hedberg a82f7cf446 winspool.drv: Add stubs for IsValidDevmodeW and IsValidDevmodeA. 2011-05-09 17:17:12 +02:00
Nicolas Le Cam 64111e2518 winspool.drv: Fix uninitialized variable warning. 2011-04-26 10:52:57 +02:00
Detlef Riekenberg 14fc2eff44 winspool: Do not mark AddPrinterA as stub. 2011-02-14 12:28:08 +01:00
Austin English 60c11fe037 winspool.drv: Make sure to use return values (LLVM/Clang). 2011-02-07 10:11:22 -06:00
Alexandre Julliard 35f3db4e24 winspool.drv: Convert string table resources to po files. 2011-01-12 18:12:14 +01:00
Hwang YunSong ac2b56162a winspool.drv: Update Korean resource. 2011-01-10 12:41:35 +01:00
Huw Davies 052cfad067 winspool.drv: Rewrite the lpr scheduler to use the pipe scheduler. 2010-12-07 16:10:30 +01:00
Alexandre Julliard d7a0284f87 winspool/tests: Avoid sizeof in traces. 2010-11-17 15:08:18 +01:00
Hans Leidekker b8d0c0dcc7 winspool.drv: Return success from the AddPrintProcessorW stub. 2010-11-16 18:07:06 +01:00
Austin English d2ee7aa790 winspool.drv: Skip tests when no printer is installed. 2010-11-11 12:22:22 +01:00
Marcus Meissner c7f158824f winspool.drv: Check return value of EnumPrintersA. 2010-10-25 13:52:50 +02:00
Paul Vriens b185c6a9c3 winspool.drv: Add the Serbian (Latin and Cyrillic) translation.
Translation by Đorđe Vasiljević.
2010-10-22 14:22:30 +02:00
Detlef Riekenberg e61f27299a winspool: Use Unicode for CUPS printer names. 2010-10-18 19:47:49 +02:00
Detlef Riekenberg d07673ecf3 winspool: Use Unicode to add a driver entry for a unix printer. 2010-10-18 19:47:49 +02:00
Detlef Riekenberg 815c24b369 winspool: Set devices and printerports in AddPrinterW. 2010-10-18 19:47:49 +02:00
Detlef Riekenberg f69a4ef07f winspool: Use CUPS for printing. 2010-10-13 11:35:07 +02:00