summaryrefslogtreecommitdiff
path: root/lib/printer_driver
Commit message (Collapse)AuthorAgeFilesLines
* printing: Align integer typesVolker Lendecke2021-04-011-14/+7
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* lib:printer_driver: Retrieve Class valueJustin Stephenson2019-01-281-0/+7
| | | | | | | | 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>
* lib:printer_driver: Don't overwrite printprocessorJustin Stephenson2019-01-281-2/+4
| | | | | | | | | | | | | | If the printprocessor is parsed from the inf file in the codepath: setup_driver_name find_driver_files process_driver_section_printprocessor Don't overwrite the value later on in setup_driver_name with the default "winprint" Signed-off-by: Justin Stephenson <jstephen@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Bjoern Jacke <bjacke@samba.org>
* lib:printer_driver: Parse SourceDisksNames sectionJustin Stephenson2019-01-281-0/+9
| | | | | | | | | | | This allows a driver inf with a [SourceDisksNames] section excluding the system architecture to be parsed. https://docs.microsoft.com/en-us/windows-hardware/drivers/install/inf-sourcedisksnames-section?f=255&MSPPError=-2147217396 Signed-off-by: Justin Stephenson <jstephen@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Bjoern Jacke <bjacke@samba.org>
* lib:printer_driver: Handle PrintProcessor stringJustin Stephenson2019-01-281-1/+1
| | | | | | | | | | | | | | This fixes an issue parsing the section of a certain HP driver inf file: PrintProcessor=%PRINT_PROCESSOR% where %PRINT_PROCESSOR% is a [Strings] substituted value, gp_inifile_getstring_ext() performs the substitution correctly. Signed-off-by: Justin Stephenson <jstephen@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Bjoern Jacke <bjacke@samba.org>
* lib:printer_driver: Add printer_driver library to parse printer driver inf filesGuenther Deschner2019-01-283-0/+1280
Pair-Programmed-With: Justin Stephenson <jstephen@redhat.com> Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Bjoern Jacke <bjacke@samba.org>