Solved

Report not being printed while action is print


Badge

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. 

 

icon

Best answer by Erwin Ekkel 8 May 2024, 13:13

View original

5 replies

Userlevel 4
Badge +3

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

Badge

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?

Userlevel 4
Badge +3

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

Userlevel 6
Badge +16

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

Badge

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!

Reply