This is apparently still working as of the latest version. https://ghostscript.com/doc/current/API.htm#set_display_callback <img width="1283" alt="image" src="https://user-images.githubusercontent.com/1253866/165715392-5e1df69c-1d24-453c-9be0-3f0b34ee42cc.png">