"Preparing" and "Preparing for printing" taking a bit long

Viewed 15

Hi Brett,

When I click "Print" in the menu bar and then click "Print (⌘P)" again in the dialog box, the preparation steps take a while. Is there any way to improve the speed of this process? Thank you.

Screenshot_2026-02-03_16.48.09.png

Screenshot_2026-02-03_16.48.21.png

1 Answers

I've done some work for the next release that improves the progress display of the Preparing section, but the delay is not fixable. Because the print system no longer functions on newer webkits and on 10.13+, I have to generate the PDFs by:

  • Capturing the HTML from the web view
  • Creating a hidden web view at the dimensions of the print size
  • Using JavaScript to page through and add page breaks and move elements to the next page when they overlap the boundary (this is the "Preparing" phase)
  • Paging through the document by scrolling the hidden web view with JavaScript, then generating the PDF by capturing each page as it scrolls (this part is what you see when the circular progress indicator is filling)

It's not ideal, but it's the only way to offer things like headers/footers, real pagination that doesn't break lines in the middle of the text, etc.