/usr/share/cups/ppd-updaters/printer-driver-hpcups.ppd-updater is in printer-driver-hpcups 3.16.3+repack0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | DRIVER_REGEXP='drv:///hpcups.drv/|lsb/usr/hplip/HP/HP-Fax.*-hpcups'
GENNICKNAME_REGEXP='s/,?\s+(zjs|zxs|pcl3|Series|requires\s+proprietary\s+plugin)//gi; s/,?(\s*hpijs,?|,)\s*[\d\.]+[a-zA-Z]*[\d\.]*\s*$//; s/\s*(Foomatic\/|)(hpijs)(\s*\S+|)$//i; s/,?\s*hpcups,?\s+[\d\.]+[a-zA-Z]*[\d\.]*\s*$//; s/\s*(Foomatic\/|)(hpcups)(\s*\S+|)$//i; s/(HP\s+)PhotoSmart(\s+)/$1PS$2/i; s/(HP\s+)DeskJet(\s+)/$1DJ$2/i; s/(HP\s+)Color\s*(LaserJet|LJ)(\s+)/$1CLJ$3/i; s/(HP\s+)LaserJet(\s+)/$1LJ$2/i; s/(HP\s+)OfficeJet(\s+)/$1OJ$2/i; s/(HP\s+)Business\s*InkJet(\s+)/$1BIJ$2/i; s/(HP\s+)DesignJet(\s+)/$1DESIGNJ$2/i; s/(HP\s+)Printer\s*Scanner\s*Copier(\s+)/$1PSC$2/i; s/(HP\s+)Color\s*InkJet\s*Printer\s+/$1/i; s/(\s+)Premium/$1Prem/i; s/[,\s\n]+$//'
|