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.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.