summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/registry/reg_backend_printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/registry/reg_backend_printing.c b/source3/registry/reg_backend_printing.c
index 278ad4fa46..26227b547e 100644
--- a/source3/registry/reg_backend_printing.c
+++ b/source3/registry/reg_backend_printing.c
@@ -414,8 +414,8 @@ static void fill_in_printer_values(NT_PRINTER_INFO_LEVEL_2 *info2, struct regval
regval_ctr_addvalue_sz(values, "Share Name", info2->sharename);
regval_ctr_addvalue_sz(values, "Printer Driver", info2->drivername);
regval_ctr_addvalue_sz(values, "Separator File", info2->sepfile);
- regval_ctr_addvalue_sz(values, "Print Processor", "WinPrint");
- regval_ctr_addvalue_sz(values, "Datatype", "RAW");
+ regval_ctr_addvalue_sz(values, "Print Processor", info2->printprocessor);
+ regval_ctr_addvalue_sz(values, "Datatype", info2->datatype);
/* stream the device mode */