var template = new esri.tasks.PrintTemplate();
Are you using the print task or the print dijit? Make sure you have a dojo.require for whichever you're using and the print template should be available.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.