Commit Graph

384 Commits

Author SHA1 Message Date
Ken Thomases 10065d2acd winspool.drv: Include <cups/ppd.h> to fix building against the macOS 10.12 SDK.
The cupsGetPPD() function was moved there from <cups/cups.h> because it's
deprecated.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 15:31:43 +09:00
André Hentschel 88c77da35d winspool: Implement SetPrinterW for level 8.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:11:24 +09:00
Jeremy White 71f018cba5 winspool.drv: If the call to cupsPrintFile fails, print the cups error message.
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 16:38:51 +09:00
Austin English 110b53affc winspool.drv: Add EnumPrinterKeyA/W stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-22 01:26:15 +09:00
Francois Gouget 413c6f60cf Assorted spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 12:59:52 +09:00
Michael Stefaniuc c62a95d2df winspool.drv/tests: Remove always true sub-condition (PVS-Studio).
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:20 +09:00
Erich E. Hoover 126f0601e2 winspool.drv: Allow spooling directly to a postscript file.
Required for PDF printing in OrCAD 16.6.
2015-08-26 23:53:21 +09:00
Hans Leidekker ccb19eed69 winspool: Don't fail on empty server name in AddPrinterW. 2015-07-29 21:44:02 +02:00
Francois Gouget e54b62ae7c winspool.drv: Remove unneeded NONAMELESSXXX directives. 2015-04-01 14:13:18 +09:00
Alexandre Julliard f1aea67d95 winspool.drv: Don't crash if the ppd directory cannot be created. 2014-12-17 17:10:50 +01:00
André Hentschel 76272d6e6c winspool.drv: Remove unused strings (Clang). 2014-12-04 14:03:23 +01:00
Bruno Jesus daaa4c40d4 winspool: Fix a leak in DocumentPropertiesA (valgrind). 2014-07-08 10:15:15 +02:00
Bruno Jesus 2728066152 winspool.drv: Do not try to check the registry if opening the printer fails (valgrind). 2014-06-11 16:10:36 +02:00
Hans Leidekker ec082c3102 winspool: Add stub implementations of UploadPrinterDriverPackageA/W. 2014-02-27 09:32:47 -06:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
André Hentschel 64601b7895 winspool: Use boolean return values in boolean functions. 2014-01-29 17:30:04 +01:00
André Hentschel 87c7c961f2 Assorted spelling fixes. 2014-01-06 17:33:24 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 86f3f62289 winspool.drv/tests: Constify some character strings. 2014-01-02 11:52:32 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Huw Davies 1990e19424 winspool: Add any default printer options that aren't set by the driver. 2013-11-01 14:17:24 +01:00
Dmitry Timoshkov a521990a32 winspool.drv/tests: Fix test failures under Windows 8. 2013-10-31 09:58:43 +01:00
Francois Gouget 3ad70f9e11 winspool.drv/tests: Fix the OpenPrinter() tests error reporting. 2013-10-28 10:42:00 +01:00
André Hentschel 2a319e2cdd winspool.drv/tests: Fix tests compilation with __WINESRC__ defined. 2013-10-25 13:36:02 +02:00
Frédéric Delanoy 8afd655a62 winspool.drv: Use BOOL type where appropriate. 2013-10-09 10:08:57 +02:00
Alexandre Julliard 8c959d6c56 winspool: Store generic.ppd in a resource instead of depending on an external file. 2013-10-08 09:27:14 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Alexandre Julliard ae6aef547b winspool: Use neutral language for the version resource. 2013-07-09 22:21:58 +02:00
Dmitry Timoshkov aa0cc00b48 winspool.drv: Avoid converting garbage if there was no DEVMODE passed in. 2013-06-14 11:46:00 +02:00
Alexandre Julliard 03041b93ba winspool: Don't bother to delete critical sections at process exit. 2013-05-16 12:56:45 +02:00
Tatyana Fokina f63d59d640 winspool.drv: Fix DocumentProperties with empty device name. 2013-04-05 20:39:01 +02:00
Dmitry Timoshkov 142c2982dc winspool.drv: Move loading of libcups out of the init code protected by mutex. 2013-04-01 12:32:36 +02:00
Dmitry Timoshkov dc8d7e7d62 winspool.drv: There is no need to speculate about wineps.drv default DEVMODE. 2013-02-12 10:18:20 +01:00
Dmitry Timoshkov da7c4ee1e5 winspool.drv: Turn macros into helper functions. 2013-02-11 12:31:13 +01:00
Alexandre Julliard 4289bd44de winspool.drv: Remove a todo that succeeds now. 2012-12-21 13:54:30 +01:00
Dmitry Timoshkov 1cf52561c3 winspool.drv: Correct the DocumentProperties spec entry. 2012-12-18 12:35:39 +01:00
Dmitry Timoshkov bdf14227ab winspool.drv: Add more traces. 2012-12-17 20:31:22 +01:00
Ken Thomases 436edbdfc7 winspool: Close read end of pipe in parent so we can detect child termination. 2012-12-12 11:59:23 +01:00
Andrew Talbot e72e40b3da winspool.drv: Remove unused semicolons. 2012-12-03 12:33:55 +01:00
Andrew Talbot 26671c8f36 winspool.drv: Remove unused variable. 2012-11-23 14:40:45 +01:00
Huw Davies 02d41b7b1a winspool: Pre-1.6 versions of CUPS can leave behind a file when cupsGetPDD3 fails, so clear up afterwards. 2012-11-16 11:41:41 +01:00
André Hentschel 2cefbaab97 winspool: Avoid memory leaks (coverity). 2012-11-01 18:59:01 +01:00
Huw Davies 2f3d13a49d winspool: Skip scanner-only devices. 2012-09-14 15:44:43 +02:00
Michael Stefaniuc aae2602eba winspool.drv: Drop a superfluous TRUE:FALSE conditional expression. 2012-08-15 12:13:02 +02:00
André Hentschel 882977eed9 winspool.drv: Update allowed driver version. 2012-07-31 10:53:27 +02:00
Huw Davies c4457ec191 winspool: Don't assume that CUPS is available. 2012-07-09 15:06:52 -04:00
Julian Rüger 0595619e0f winspool.drv/tests: Fix typos/grammar. 2012-06-25 10:36:10 +02:00