Skip to main content

Comments

4 comments

  • Fletcher Penney

    File->Print Preview Using Browser.

     

    Apple's WKWebView doesn't support printing, unfortunately, and they seem to no longer be maintaining the code for the older (deprecated) WebView.  For the moment, this seems to be the primary work around.

    0
  • Sebastian Winkler

    This doesn't seem to be viable anymore.

    What, please, is the current way to print (or produce a PDF, for that matter) from the preview? (File –> Print Preview is always greyed out for me.)

    0
  • Fletcher Penney

    WKWebView supports printing now (since macOS 11), so we have migrated to a built in solution for the preview rather than the old workaround that involved running an embedded web server (which enabled the print via browser trick, but still did not support native printing).

    If Print Preview is greyed out, then it means you are running an older version of macOS (e.g. pre-11) and printing from WKWebView is not available on that OS.

    My understanding from Brett is that the current version of Marked still uses the older WebView instead of WKWebView which allows printing, but is deprecated so future versions of macOS may stop supporting it at some point.  But otherwise, that offers an alternative for printing the HTML from a Markdown file.

    0
  • Sebastian Winkler

    Thanks for the response, Fletcher!
    'Tis true, I've (mostly quite contently) remained in macOS 10.
    I'll see if Marked is the way out.

    0

Please sign in to leave a comment.

Powered by Zendesk