Print dashboard with control+P don't align page on center

Hello everyone,

I'm encountering an issue when attempting to print a dashboard using the control+P command from my browser. The printed output seems to be decentralized, and I've tried using a node template to manage this without success.

Here's a snapshot of the dashboard:

Screen from print dialog:

On left side from button, has an "invisible bar".

Has anyone discovered a trick to resolve this? I've hide buttons using CSS within the UI template, but the dashboard content still remains aligned to the left.

Any suggestions or insights would be greatly appreciated. Thank you!

I've visited:
How can I print a pdf from Dashboard? - General - Node-RED Forum (nodered.org)

If I increase the width of dashboard, the space get smaller but still a pain on print page.

Add custom style to head (via a ui-template)

With some combination of @media print or @page and overriding margins, you will be able to remove margins (or whatever you need to do to get a print suitable for your needs.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.