Commit Graph

130 Commits

Author SHA1 Message Date
Robert Lunnon c22716f5ec Rename queue_t to jobqueue_t to avoid collision with library symbol
queue_t.
2005-10-24 15:03:02 +00:00
Maxime Bellengé 458cb289dd Fix a cut&paste mistake. 2005-10-03 18:48:56 +00:00
Kevin Koltzau 7d8e377a92 Fix warnings in 64bit. 2005-09-29 13:34:34 +00:00
Detlef Riekenberg 7bb00b1c20 Let EnumPrinterDrivers return the number of drivers. 2005-09-13 10:32:33 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Mike McCormack 516a577df1 Fix gcc 4.0 warnings. 2005-08-19 10:04:03 +00:00
Mike McCormack bc4a576a06 gcc 4.0 RegSetValueEx warning fixes. 2005-08-03 11:03:44 +00:00
Huw Davies 3b77de9cac Implement the undocumented StartDocDlg[A|W]. These will be used by
StartDoc.
2005-07-22 18:28:12 +00:00
Francois Gouget d867a77b63 Make the unistd.h include conditional. 2005-07-22 09:04:08 +00:00
Huw Davies 0a4681fe23 Lookup the port in the spooler registry key and map it to a unix
filename or a pipe like OpenJob16 does.
2005-07-20 17:48:53 +00:00
Huw Davies 48a52d0959 Printer handles referring to the same printer should have the same job
queue.
2005-07-19 19:12:13 +00:00
Huw Davies 03f36e6df0 Partial implementation of GetJob. 2005-07-18 13:13:31 +00:00
Huw Davies 183fcb5c2d Set the default doc title to that of Windows.
Pass cups the doc title.
2005-07-15 09:55:23 +00:00
Huw Davies 1ed9bac896 Partial implementation of SetJobW.
Set the document title in StartDocPrinter.
2005-07-13 14:14:37 +00:00
Huw Davies f675a78340 Forward SetJobA -> SetJobW. 2005-07-12 19:19:09 +00:00
Huw Davies e502d4dda3 ScheduleJob for 'file' ports. 2005-07-12 17:01:44 +00:00
Huw Davies 18116dec24 ScheduleJob for (as yet unused) 'cups' ports. 2005-07-11 13:21:48 +00:00
Huw Davies c108d80f80 ScheduleJob for 'lpr' ports. 2005-07-10 17:39:01 +00:00
Huw Davies 6fd3c47c4f Implement {Start,End}DocPrinter and WritePrinter.
{Start,End}PagePrinter are still stubs but return TRUE.
2005-07-08 14:19:18 +00:00
Huw Davies 344090f7bc Add an implementation of AddJob and a partial one of ScheduleJob. 2005-07-06 15:44:15 +00:00
Huw Davies df9c4341ec Add one more level of indirection to the printer handle array to allow
more information than just the name to be stored.
Wrap accesses to the printer handle array in a critsec.
2005-07-05 11:00:09 +00:00
Huw Davies d8302668dc Forward StartDocPrinterA to StartDocPrinterW.
Improve trace in the unicode version.
2005-06-30 18:10:59 +00:00
Alexandre Julliard 68db49f233 Moved ppd file configuration to HKCU\Software\Wine\Printing\PPD Files. 2005-06-28 13:51:14 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Alexandre Julliard b3e9c44741 Renamed wineps.dll to wineps.drv for consistency. 2005-05-06 20:04:27 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Huw Davies 3d0b22b7b6 Set the registry keys under HCU\Software\Microsoft\Windows
NT\CurrentVersion to mimic the win.ini values.
2005-03-31 10:06:46 +00:00
Dimitrie O. Paun d4193bbd68 Unicodify WINSPOOL_OpenDriverReg(). 2005-03-29 13:10:35 +00:00
Hans Leidekker 1e33acaa43 Stub implementations for AbortPrinter, AddPortEx{A,W},
AddPrinterConnection{A,W}, ConnectToPrinterDlg,
DeletePrinterConnection{A,W}, EnumForms{A,W}, EnumPrinterData{A,W],
ExtDeviceMode, Find{Close,First,Next}PrinterChangeNotification,
FreePrinterNotifyInfo, ScheduleJob.
2005-02-21 18:33:55 +00:00
Hans Leidekker 8facd46877 Stub implementations for AddMonitorW, DeletePrinterDriverW,
DeleteMonitorW, DeletePortW, GetPrintProcessorDirectoryW,
AddPrintProcessor{A,W}, AddPrintProvidor{A,W},
AdvancedDocumentProperties{A,W}, EnumPortsW, AddPort{A,W},
ConfigurePort{A,W}, DeletePrintProcessor{A,W},
DeletePrintProvidor{A,W}, EnumPrintProcessorDatatypes{A,W},
GetJob{A,W}.
2005-01-03 20:24:39 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Mike McCormack 1a10b1c0e1 Return correct error code in EnumPrinters. 2004-11-24 18:11:28 +00:00
Ulrich Czekalla 601d466674 Add stubs for EnumPrintProcessorsAW. 2004-10-29 21:27:38 +00:00
Mike McCormack d71bc33c11 Fix port enumeration. 2004-10-18 19:38:57 +00:00
Mike McCormack 05fb3ca636 Fix port enumeration. 2004-10-04 20:40:44 +00:00
Marcus Meissner a1272b3784 Use memcpy instead of weird casts. 2004-05-02 04:21:16 +00:00
Steven Edwards 86b3056e69 Add stubs for EnumMonitors[A/W]. 2004-03-17 01:42:46 +00:00
Stefan Leichter 03210d446c Moved implementation of GetDefaultPrinter from ascii to unicode, added
tests for GetDefaultPrinterA.
2004-03-07 03:46:54 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Robert Shearman e18682ad7c Remove PRINTDLG_GetDefaultPrinterName; use Win32 GetDefaultPrinterA/W
instead.
2004-01-02 01:49:31 +00:00
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Alexandre Julliard 4d626b062b Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Huw Davies <huw@codeweavers.com>
Constify strings.
Fix args of [GS]etPrinterDataEx
2003-11-11 20:38:51 +00:00
Huw Davies e459f7a681 Much better parsing of /etc/printcap.
Don't even try to use heuristics to guess whether the printer is
PostScript or not - we're going to get it wrong anyway.
Don't list printer entries that begin with ispunct() - these are used
for 'tc' aliases.
2003-11-11 00:42:35 +00:00
Huw Davies 4b0fc2e341 Make sure that all printer entries have a valid Name and Port key.
Cope with cups printer deletion.
2003-11-05 00:36:47 +00:00
Oleg Prokhorov cf8b84c19f Another portion of HeapReAlloc fixes. 2003-10-15 21:01:05 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard c2320dbc4a Avoid crashes when devmode is null. 2003-08-12 23:46:34 +00:00
Dmitry Timoshkov 3a910c7d1f Convert CreateDC to unicode in the driver interface. 2003-08-12 20:42:18 +00:00