Hi Community,
We use a Confluence Knowledge Base connected to Jira Service Management Cloud, and we would like customers to be able to print our KB articles directly from the customer portal, either to a physical printer or by selecting Save as PDF.
Currently, when a customer opens an article through the portal and uses Ctrl+P or Cmd+P, the resulting output is not formatted well. Instead of producing a clean, article-only document, the browser attempts to print the wider portal layout.
We have seen issues such as:
I have attached an example of the resulting print layout.
We have investigated the Confluence PDF stylesheet, but that appears to control PDFs generated through the Confluence export process rather than browser printing from the JSM customer portal. Adjusting browser print settings, such as scale, margins, and orientation, can help slightly, but the results are still inconsistent.
Pre-generating PDFs and attaching them to each article is also not practical for us. We have a large number of KB articles, and maintaining a separate PDF whenever the source article changes would create a significant content-management overhead.
I found the following Atlassian feature requests, but both remain unresolved and in Gathering Interest:
There is also JSDCLOUD-15848, which specifically describes misaligned content and missing images when using Save as PDF from a portal article. That request was closed as a duplicate of JSDCLOUD-4045, with no known workaround documented.
Has anyone found a reliable and scalable solution for this in JSM Cloud?
In particular, I would be interested in hearing about:
Ultimately, we are looking for a customer-friendly way to print the current KB article without including the surrounding portal layout.
Thanks in advance for any ideas or examples of how others have handled this.