Can you create two configuration file (e.g. config.xml(contain print widget) & config1.xml(without print widget)) to run same viewer application? For example, If user click a button to run print viewer application before loading viewer application then will use config.xml otherwise will use config1.xml. If so how do you modify the code on index.html file?
Sorry I only uploaded it this morning, I meant to pass you the link on this thread but got side tracked. Glad you found it anyway, hope it is of some use.