Commit Graph

52 Commits

Author SHA1 Message Date
Eric Pouech ceb06647db wineps.drv: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-22 18:20:23 +01:00
Huw Davies 78bd41afb3 wineps: Build with nameless structs and unions.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-06 11:25:18 +01:00
Konstantin Romanov 62e0f51e6e wineps: Return a POINT for DC_PAPERSIZE.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52132
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-06 11:25:18 +01:00
Jacek Caban 01fdc50fa2 gdi32: Remove no longer used printer config driver entry points.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-13 19:57:29 +02:00
Jacek Caban 0da3ffc4b9 wineps: Introduce DrvDocumentProperties entry point.
This is not compatible with native. We should use
DrvDevicePropertySheets instead, but that requires support for CPSUI
support first.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-13 19:57:28 +02:00
Jacek Caban a8c4020029 wineps.drv: Export DrvDeviceCapabilities.
Allows wineps.drv to act as printer configuration interface DLL.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-13 19:57:28 +02:00
Michael Stefaniuc 865ee87bc3 wineps.drv: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-12 11:15:41 +01:00
Dmitry Timoshkov 8d6183c832 wineps.drv: Don't clear DM_PAPERWIDTH | DM_PAPERLENGTH flags.
dmFields should indicate that DEVMODE has dmPaperWidth and dmPaperLength set.

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 12:30:44 +02:00
Alexandre Julliard 4a902de213 gdi32: Make GDI driver functions cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-06 21:47:58 +02:00
Alexandre Julliard 6887af4f2b wineps.drv: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 11:38:15 +02:00
Michael Stefaniuc ead1a3d10d wineps.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-08-14 10:16:02 +02:00
Alex Henrie cc2f2f2243 wineps: Make printer setup dialog caption translatable. 2015-05-08 16:42:00 +09:00
Dmitry Timoshkov d7687bed6a wineps.drv: Don't cast away 'const' from DEVMODE provided as input. 2013-01-14 11:02:30 +01:00
Dmitry Timoshkov 95d98d0bfc wineps.drv: Update dmPaperWidth/Height when dmPaperSize is being changed through UI. 2012-12-26 18:23:03 +01:00
Dmitry Timoshkov 0f7ed96fda wineps.drv: Update dmFormName when merging DEVMODE structures. 2012-12-24 14:35:16 +01:00
Dmitry Timoshkov 383318bc02 wineps.drv: Properly handle dmFormName in unicode DEVMODE structure. 2012-12-24 14:35:03 +01:00
Dmitry Timoshkov ef489d647a wineps.drv: Update dmFormName when dmPaperSize is being changed through UI. 2012-12-24 14:34:57 +01:00
Dmitry Timoshkov c374201be1 wineps.drv: Make sure that DEVMODE fields changed through UI are marked as set. 2012-12-24 14:34:36 +01:00
Dmitry Timoshkov 11a69ab5aa wineps.drv: Add an ability to select device resolution from UI. 2012-12-24 14:34:27 +01:00
Dmitry Timoshkov d5f27e194a wineps.drv: Keep track of all supported device resolutions. 2012-12-20 18:03:51 +01:00
Andrew Talbot 393514c119 wineps.drv: Remove unused variable. 2012-11-28 20:14:40 +01:00
Michael Stefaniuc c1223611af wineps.drv: Drop a superfluous TRUE:FALSE conditional expression. 2012-08-15 12:12:36 +02:00
Huw Davies 64edac40ef wineps: Add a helper to find a duplex entry. 2012-04-16 17:49:28 +02:00
Huw Davies 44d880b430 wineps: Add a helper to find a page size. 2012-04-16 17:49:28 +02:00
Huw Davies 61efdbfd5f wineps: Add a helper to find an input slot. 2012-04-16 17:49:27 +02:00
Huw Davies 210f3e3338 wineps: Switch to using a Unicode devmode. 2012-04-12 20:38:16 +02:00
Huw Davies 0c7a6d89a2 wineps: Return from a common point. 2012-04-12 20:38:02 +02:00
Huw Davies 5a0129c0d2 wineps: Move the duplex list to a standard list. 2012-04-11 18:19:12 +02:00
Huw Davies e6e42c8610 wineps: Move the input slot list to a standard list. 2012-04-11 18:19:00 +02:00
Huw Davies a37ee1e2e9 wineps: Fix a memory leak. 2012-04-04 19:02:12 +02:00
Huw Davies 7c3a522dd3 wineps: Store the unicode version of the printer name and call the unicode version of OpenPrinter. 2012-04-03 17:54:08 +02:00
Alexandre Julliard c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Alexandre Julliard ca3b820227 wineps: Add a helper function for paper size conversions. 2011-04-28 20:59:27 +02:00
Alexandre Julliard 645a65f46d wineps: Remove unnecessary use of wownt32.h. 2010-11-01 16:44:39 +01:00
André Hentschel 9aa9a1229f wineps.drv: Make the Apply button useable. 2010-06-02 17:47:40 +02:00
Jeremy White b8fbf9a1c2 wineps.drv: Prevent psdrv tracing from crashing on Solaris. 2010-02-15 12:09:49 +01:00
Alexandre Julliard cc2d6f330f wineps.drv: Don't include 16-bit headers in psdrv.h. 2009-12-07 14:18:28 +01:00
Alexandre Julliard ac2a509722 wineps.drv: Make wineps16.drv into a stand-alone 16-bit module. 2009-10-01 19:44:17 +02:00
Michael Stefaniuc 551d1efc9f wineps.drv: Include a local header last. 2009-07-03 11:28:44 +02:00
Alexandre Julliard 41ea320576 wineps.drv: Make all exported entry points CDECL. 2009-03-11 14:10:13 +01:00
Andrew Talbot 94dc49ed12 wineps.drv: Assign to structs instead of using memcpy. 2008-03-22 13:21:13 +01:00
Andrew Talbot f44d2eddcb wineps.drv: Remove unneeded casts. 2008-02-04 14:19:29 +01:00
Dmitry Timoshkov d43fdc5ab0 include: Synchronize DEVMODE layout with PSDK. 2007-11-01 12:41:21 +01:00
Andrew Talbot 9ff4c29d86 wineps.drv: Exclude unused headers. 2007-05-29 12:10:13 +02:00
Dmitry Timoshkov dddf348716 winspool: Add a test for DeviceCapabilities, fix some bugs found. 2007-04-05 11:56:08 +02:00
Aric Stewart f1172cd446 wineps.drv: Values for DC_MINEXTENT and DC_MAXEXTENT are returned, not placed in the data pointer. 2007-03-14 18:49:34 +01:00
Aric Stewart ea8e860903 wineps.drv: Check for correct value for end of list. 2007-03-13 21:11:40 +01:00
Huw Davies 277f474451 wineps.drv: Convert the page size list to a standard Wine list. 2007-03-08 22:17:10 +01:00
Huw Davies 9222ec3cce wineps.drv: Many MacOSX generated ppd files don't include a *ColorDevice line. Treat these as if they were colour. 2007-03-01 20:42:50 +01:00
Andrew Talbot 550ea86ffd wineps.drv: Declare some functions static. 2007-02-06 13:19:46 +01:00