You can associate a PSA with a printer using the IPP class driver as described here
https://learn.microsoft.com/en-us/windows-hardware/drivers/devapps/print-support-app-association
More information on the PSA platform can be found here https://learn.microsoft.com/en-us/windows-hardware/drivers/devapps/print-support-app-design-guide