Zebediah Figura
e8d254116e
winspool: Remove the "force" parameter to WINSPOOL_SetDefaultPrinter().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-23 22:30:48 +02:00
Vijay Kiran Kamuju
992a0ae7b9
winspool.drv: Implement AddPrintProcessorA via AddPrintProcessorW.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=26171
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-03 21:46:11 +02:00
Vijay Kiran Kamuju
0fa21125d4
winspool.drv/tests: Remove win9x checks and enable some tests.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-13 21:33:30 +02:00
Alexandre Julliard
5016716f6e
winspool: Use standard dlopen() instead of the libwine wrappers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-07 14:26:20 +02:00
Dmitry Timoshkov
bd7ba264b6
winspool: Implement IsValidDevmodeW.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-16 13:58:19 +02:00
Francois Gouget
71ad4add73
winspool.drv/tests: Avoid an unneeded strlen() call.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 11:48:11 +02:00
Dmitry Timoshkov
df8c52cd91
winspool: Add support for level 1 printer info to GetPrinter.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 11:47:21 +02:00
Alexandre Julliard
3d6febc997
include: Get rid of the DPRINTF() macro.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 19:34:44 +02:00
Piotr Caban
4c106a9319
winspool.drv: Don't use strcasecmp.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 16:58:59 +02:00
Alexandre Julliard
d4bc97c554
winspool.drv: Make cupsGetPPD optional to work around deprecation warning.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-14 18:24:46 +01:00
Alex Henrie
4761c367e0
winspool.drv: Make constant 'fmtW' static.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:53:52 +01:00
Huw Davies
0c5ce58505
winspool: Skip the old printer check if it has a NULL port name.
...
Based on a patch by Alistair Leslie-Hughes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=33502
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-22 23:55:58 +01:00
Michael Stefaniuc
18e2df401e
winspool.drv: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-10 22:35:54 +02:00
Dmitry Timoshkov
4adfa3dc26
winspool: Add performance counters service stubs.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Huw Davies
e7059c6f12
winspool: Remove ordinals from the performance functions.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Michael Stefaniuc
8bbba3fc70
winspool.drv/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 10:01:04 +02:00
Dmitry Timoshkov
ba5fe9a317
winspool.drv: Add A0, A1 and A2 paper sizes to generic.ppd.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 09:57:50 +02:00
Andrey Gusev
b7987c6b32
winspool.drv: Avoid bitwise operation.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-09 19:51:22 +02:00
Detlef Riekenberg
72ca331431
winspool/tests: Test LastError on success of AddMonitor.
...
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 10:46:59 +01:00
André Hentschel
e9b17f40b5
winspool.drv: Fix some spec file entries.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 16:31:43 +01:00
Nikolay Sivov
614ad0c8c2
winspool: Fix potential string buffer leaks (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-23 11:40:59 +01:00
Nikolay Sivov
a3aad9d80f
winspool: Initialize string pointers passed to StartDocDlgW() (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-23 11:40:57 +01:00
Detlef Riekenberg
7cba560ab2
winspool: Use all Fields from DRIVER_INFO_8A when we add a Printer Driver.
...
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-28 13:54:51 +01:00
Detlef Riekenberg
4814aad7fe
winspool/tests: Add tests for ClosePrinter.
...
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-02 17:02:39 +01:00
Detlef Riekenberg
b611acc736
winspool: Return a failure code in ClosePrinter.
...
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-02 17:02:36 +01:00
Detlef Riekenberg
686cfe3aaf
winspool: Add our driver for all usable Printer environments.
...
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-20 16:26:26 -07:00
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