Retrieve the Class value from the inf file [Version] section.
Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
}
}
+ status = gp_inifile_getstring_ext(ctx, "Version:Class", &s);
+ if (NT_STATUS_IS_OK(status)) {
+ if (strequal(s, "Printer")) {
+ r->printer_driver_attributes |= PRINTER_DRIVER_CLASS;
+ }
+ }
+
status = gp_inifile_getstring(ctx, "Version:Signature", &s);
if (!NT_STATUS_IS_OK(status)) {
return status;