Print resolution default

2357
2
Jump to solution
10-28-2014 04:17 PM
Ulises
by
Occasional Contributor III

Is there a way to set a default print resolution (dpi) for the print widget in webapp builder?  Can't find anything looking at the available attributes in the configuration json file or anywhere else.

Thanks

Ulises Feliciano Troche
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Ulises,

  This is not configurable in the json but here is where you can change it in the code source. Find the client\stemapp\widgets\Print\templates\Print.html and find this line:

<input type="text" data-dojo-type="dijit/form/NumberTextBox" data-dojo-props="name:'dpi',required:true,value:300,style:'width:100px;'"/>

change the data-dojo-props value, by default it is 300 as you can see.

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Ulises,

  This is not configurable in the json but here is where you can change it in the code source. Find the client\stemapp\widgets\Print\templates\Print.html and find this line:

<input type="text" data-dojo-type="dijit/form/NumberTextBox" data-dojo-props="name:'dpi',required:true,value:300,style:'width:100px;'"/>

change the data-dojo-props value, by default it is 300 as you can see.

Ulises
by
Occasional Contributor III

Thanks, Robert...and keep up the awesome work!!!

have a good one.

Ulises Feliciano Troche
0 Kudos