<!doctype html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
app.printer = new esri.dijit.Print({ "map": app.map, "templates": templates, url: app.printUr, <---- Trailing comma is here----> }, dojo.byId("print_button")); app.printer.startup(); }
This line:<!doctype html>
at the top of the page says the page should be rendered using HTML5. IE7 does not support HTML5.
This is not true�?? while IE7 doesn't support most of the technologies commonly referred to as "HTML5", the simple doctype works for IE7. For example, see our sample that shows new query functionality at 10.1: http://help.arcgis.com/en/webapi/javascript/arcgis/demos/query/query_statistics.html
That sample uses the simple doctype and works w/o issue in IE7. As Kelly pointed out, the real issue is the trailing comma.