Sublime Forum

Please add print function

#1

Could you add a function of printing highlighted code to PDF file?

I have found a plugin name “Print to HTML” to done my print function, But it is not very good at highlighting code and some functions are lost, I hope you can add a function of printing sublime’s View to PDF, and support a API to get the rendered image of a view’s visible region or directly give the long-screenshot of the view.
Thanks!

0 Likes

#2

References:


0 Likes

#3

Use "Print to HTML"https://github.com/jchampy/sublimetext-print-to-html plugin to view it in browser, and print it to PDF with browser. But this way is not such good.

0 Likes

#4

Thanks for your reply, The ExportHtml plugin is a good substitute.

0 Likes

#5

These discussions tend to become contentious, so tl;dr:

  • There are no plans to add printing to Sublime.
  • Demand for such a feature is low enough that the above is unlikely to change.
  • There is no agreement among users who want a print feature as to how it should work, so even if Sublime did add one it probably wouldn’t satisfy most of those users.
0 Likes