Hi,
PDFCreator.PrintFile will just look up and execute the command for printing html files in your registry.
You will need to replace this part and instead directly call a browser executable or library for silently printing html files. For Chrome there seems to be a --kiosk-printing switch to do this.
Best regards
Robin