GitHub user dosubot[bot] added a comment to the discussion: PDF Download should 
be printable not a screen shot

<!-- Answer -->
Superset's dashboard PDF export is currently screenshot-based, so the 
downloaded PDFs do not preserve column alignment, spacing, or print-friendly 
layouts—they are essentially images of what you see on screen, with fixed width 
and no support for ISO page sizes or multi-page layouts. There are no built-in 
options or feature flags to generate structured, print-ready PDFs for 
dashboards at this time. 

For table and pivot table charts, the Alerts/Reports feature supports 
higher-quality, multi-page, ISO-sized PDFs using HTML-to-PDF conversion, but 
this does not extend to full dashboards or non-table charts. For dashboards, 
the only ways to marginally improve PDF quality are to increase the 
pixel_density setting or limit the amount of data shown, but these do not 
address layout or print-friendliness.

If you need a truly printable, well-formatted PDF of a dashboard, the most 
robust workaround is to use browser automation tools like Playwright or 
Puppeteer to script a custom export that captures the entire dashboard, 
including scrollable areas, and allows for more control over page size and 
layout. This approach is not built-in, but several users have reported success 
with it for professional reporting needs. For multi-tab dashboards, enabling 
the `ALERT_REPORT_TABS` feature flag will print each tab on a separate PDF 
page, but it won't improve layout quality or alignment issues.

There is ongoing community interest in improving dashboard PDF export, but as 
of now, these limitations are expected behavior. If high-quality, 
print-friendly dashboard exports are critical for your workflow, browser 
automation or contributing to the ongoing discussions and development are the 
best paths forward.  
[Source 1](https://github.com/apache/superset/discussions/36988) | [Source 
2](https://github.com/apache/superset/issues/36794) | [Source 
3](https://github.com/apache/superset/discussions/36949)


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/a71691c5-e853-4e05-bc32-ec6464932b30?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/a71691c5-e853-4e05-bc32-ec6464932b30?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/a71691c5-e853-4e05-bc32-ec6464932b30?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/a71691c5-e853-4e05-bc32-ec6464932b30?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/a71691c5-e853-4e05-bc32-ec6464932b30?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/a71691c5-e853-4e05-bc32-ec6464932b30?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/a71691c5-e853-4e05-bc32-ec6464932b30?feedback_type=other)</sup>

[![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Superset%27s%20dashboard%20PDF%20export%20is%20currently%20screenshot-based%2C%20so%20the%20downloaded%20PDFs%20do%20not%20preserve%20column%20alignment%2C%20spacing%2C%20or%20print-friendly%20layouts%E2%80%94they%20are%20essentially%20images%20of%20what%20you%20see%20on%20screen%2C%20with%20fixed%20width%20and%20no%20support%20for%20ISO%20page%20sizes%20or%20multi-page%20layouts.%20There%20are%20no%20built-in%20options%20or%20feature%20flags%20to%20generate%20structured%2C%20print-ready%20PDFs%20for%20dashboards%20at%20this%20time.%20%0A%0AFor%20table%20and%20pivot%20table%20charts%2C%20the%20Alerts/Reports%20feature%20supports%20higher-quality%2C%20multi-page%2C%20ISO-sized%20PDFs%20using%20HTML-to-PDF%20conversion%2C%20but%20this%20does%20not%20ext
 
end%20to%20full%20dashboards%20or%20non-table%20charts.%20For%20dashboards%2C%20the%20only%20ways%20to%20marginally%20improve%20PDF%20quality%20are%20to%20increase%20the%20pixel_density%20setting%20or%20limit%20the%20amount%20of%20data%20shown%2C%20but%20these%20do%20not%20address%20layout%20or%20print-friendliness.%0A%0AIf%20you%20need%20a%20truly%20printable%2C%20well-formatted%20PDF%20of%20a%20dashboard%2C%20the%20most%20robust%20workaround%20is%20to%20use%20browser%20automation%20tools%20like%20Playwright%20or%20Puppeteer%20to%20script%20a%20custom%20export%20that%20captures%20the%20entire%20dashboard%2C%20including%20scrollable%20areas%2C%20and%20allows%20for%20more%20control%20over%20page%20size%20and%20layout.%20This%20approach%20is%20not%20built-in%2C%20but%20several%20users%20have%20reported%20success%20with%20it%20for%20professional%20reporting%20needs.%20For%20multi-tab%20dashboards%2C%20enabling%20the%20%60ALERT_REPORT_TABS%60%20feature%20flag%20will%20print%20each%20tab
 
%20on%20a%20separate%20PDF%20page%2C%20but%20it%20won%27t%20improve%20layout%20quality%20or%20alignment%20issues.%0A%0AThere%20is%20ongoing%20community%20interest%20in%20improving%20dashboard%20PDF%20export%2C%20but%20as%20of%20now%2C%20these%20limitations%20are%20expected%20behavior.%20If%20high-quality%2C%20print-friendly%20dashboard%20exports%20are%20critical%20for%20your%20workflow%2C%20browser%20automation%20or%20contributing%20to%20the%20ongoing%20discussions%20and%20development%20are%20the%20best%20paths%20forward.%20%20%0A%5BSource%201%5D%28https%3A//github.com/apache/superset/discussions/36988%29%20%7C%20%5BSource%202%5D%28https%3A//github.com/apache/superset/issues/36794%29%20%7C%20%5BSource%203%5D%28https%3A//github.com/apache/superset/discussions/36949%29)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on X](https://img.shields.io/badge/X-share-black)](https://twitter.com
 
/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/37837)

GitHub link: 
https://github.com/apache/superset/discussions/37837#discussioncomment-15754178

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to