Skip to main content
Solved

Report not being printed while action is print


Forum|alt.badge.img+3

Hello, we want to print a certain label from the web gui. We have a report setup with the report action set to Print. We have a working printer attached to it, but it is not printing anything when the button is clicked. Instead it generates the label and shows it to us in the browser. 

Here is how we've set up the task:
 

 

I have also made the report_action manually changeable in the screen when the button to print the report is clicked, but the screen doesn't open and it just opens the document in a new browser tab. 

 

Best answer by Erwin Ekkel

To print from the universal gui you have to add a small process flow. Use a Generate report action and store the generated report in a varbinary. Then you can write the file if needed to disk using the write file action. And print the file using the print action with the varbinary as input.

 


https://docs.thinkwisesoftware.com/docs/sf/process_flows_connectors#generate-report

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

5 replies

Renée Evertzen
Moderator
Forum|alt.badge.img+4

Hello Niels,

Unfortunately the web GUI does not support your preferred situation. It will always open a new browser tab from which you will have to manually print the report.

Since the web GUI is to be replaced by the Universal GUI and thus officially End of Life, development for this product has been halted.

I understand this doesn't actually help you, but I hope it clarifies any possible confusion.

Kind regards,

Renée


Forum|alt.badge.img+3
  • Author
  • Vanguard
  • 45 replies
  • May 8, 2024
Renée Evertzen wrote:

Hello Niels,

Unfortunately the web GUI does not support your preferred situation. It will always open a new browser tab from which you will have to manually print the report.

Since the web GUI is to be replaced by the Universal GUI and thus officially End of Life, development for this product has been halted.

I understand this doesn't actually help you, but I hope it clarifies any possible confusion.

Kind regards,

Renée

Sorry, with web gui I actually meant the universal gui. Does this also not work with the universal gui?


Renée Evertzen
Moderator
Forum|alt.badge.img+4

Yes, as far as I can tell it works the same way in the Universal GUI.

What I was able to find with a few Google searches is that it might be possible by changing some browser-related settings (Mozilla Firefox) or with additional startup arguments (Chrome). Maybe this page can be helpful for you?

https://stackoverflow.com/questions/945691/automatically-print-image-from-website


Forum|alt.badge.img+17
  • Moderator
  • 761 replies
  • Answer
  • May 8, 2024

To print from the universal gui you have to add a small process flow. Use a Generate report action and store the generated report in a varbinary. Then you can write the file if needed to disk using the write file action. And print the file using the print action with the varbinary as input.

 


https://docs.thinkwisesoftware.com/docs/sf/process_flows_connectors#generate-report


Forum|alt.badge.img+3
  • Author
  • Vanguard
  • 45 replies
  • May 15, 2024
Erwin Ekkel wrote:

To print from the universal gui you have to add a small process flow. Use a Generate report action and store the generated report in a varbinary. Then you can write the file if needed to disk using the write file action. And print the file using the print action with the varbinary as input.

 


https://docs.thinkwisesoftware.com/docs/sf/process_flows_connectors#generate-report

Thank you Erwin, we indeed implemented something similar and we have it working now!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings