Even I am facing the same problem, Any suggestions on changing the font/font-size of the legend and the text symbols that are displayed in the map ?
You need to create your own print layout template and add it to the print service to change the font and other map components.
JavaScript doesn't have the ability to change them.