Hello everyone!
Recently i have met a problem with the printTask.I load a online tiledMapServiceLayer which is declared by esri TiledMapServiceLayer.but when i print the map,the printtemplate is empty.
Here is some code.
TiledMapServiceLayer.js:

Print.js

Thank you for your answer!