Printing an image service with a server raster function when using a custom print service and applying a renderer using the Image Display option fails to display the result.
This issue is not reproducible when using a custom print service published from ArcGIS Pro. https://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/tutorial-publish-additional-layouts-for-printing-with-arcgis-pro.htm