AnsweredAssumed Answered

Print widget - A workaround to avoid a hyperlink in place of the print button

Question asked by miribsystematics-co-il-esridist Employee on May 5, 2014
Latest reply on May 6, 2014 by miribsystematics-co-il-esridist

I'm using the Print widget. The application is in one server, the Printing tool Service is in another server. Therefore I get the next behavior as documented:
"If the URL is from a different domain, a hyperlink to the print page appears in place of the print button. If you need more fine-grained control over printing view the PrintTask class."
That means that the client needs to click twice in order to get the image for printing.Our client will not accept it. Is there any way to avoid it? If I'll use the PrintTask, will it behave the same?
I tried that:

but it still returns the Hyperlink at the end instead of the print button.

Any answer will be appreciated. I need it quite urgent.