mirror of
https://github.com/samba-team/samba.git
synced 2025-11-28 12:23:49 +03:00
Sorry JF - no billable hours :-). I fixed the "stream of events" problem
with PCL drivers. The problem was we were updating the changeid on every SETPRINTERDATA/DELETEPRINTERDATA call. We should not do this, we should just update the 'setprinter' called count. We update the changeid on calls to SETPRINTER/ADDPRINTER/ADDPRINTEREX etc. Also fixed the correct returning of the create time on printers. Jeremy.
This commit is contained in:
@@ -1737,6 +1737,7 @@ NT_DEVICEMODE *construct_nt_devicemode(const fstring default_devicename);
|
||||
NT_DEVICEMODE *dup_nt_devicemode(NT_DEVICEMODE *nt_devicemode);
|
||||
void free_nt_devicemode(NT_DEVICEMODE **devmode_ptr);
|
||||
void get_printer_subst_params(int snum, fstring *printername, fstring *sharename, fstring *portname);
|
||||
uint32 mod_a_printer(NT_PRINTER_INFO_LEVEL printer, uint32 level);
|
||||
uint32 add_a_printer(NT_PRINTER_INFO_LEVEL printer, uint32 level);
|
||||
uint32 get_a_printer(NT_PRINTER_INFO_LEVEL **pp_printer, uint32 level, fstring sharename);
|
||||
uint32 free_a_printer(NT_PRINTER_INFO_LEVEL **pp_printer, uint32 level);
|
||||
|
||||
Reference in New Issue
Block a user