Home Download Buy Blog Forum Support

Printing from sublime

Re: Printing from sublime

Postby mlepage on Thu Jan 23, 2014 7:27 pm

Add me to the list of those astounded that Sublime Text still cannot print.

I agree it's not something you do all the time, but it's a basic feature, and when you need to print something, well, you need to print something.

Does anyone know definitively whether ST3 will be able to print, or not?
mlepage
 
Posts: 31
Joined: Tue Sep 03, 2013 2:30 pm

Re: Printing from sublime

Postby scruffydan on Wed Jun 04, 2014 8:12 am

I went to print out some rails models, scratched my head, then landed on this thread. Hilarious. ST is awesome! But no printing? This is just too funny.
scruffydan
 
Posts: 6
Joined: Tue May 29, 2012 2:56 am

Re: Printing from sublime

Postby goranb on Sat Jun 07, 2014 5:19 pm

Another person chiming in. I use Sublimetext for everything I do and would love not to have to switch editors when printing.
goranb
 
Posts: 1
Joined: Sat Jun 07, 2014 5:17 pm

Re: Printing from sublime

Postby ddaugherty on Wed Jun 11, 2014 1:12 am

A required feature. I really like ST but don't use it because I don't want to have to copy text and paste it into TextPad to print... It's hard to believe that it's not a missed feature by everyone who uses a text editor on more than a casual basis.
ddaugherty
 
Posts: 1
Joined: Wed Jun 11, 2014 1:06 am

Re: Printing from sublime

Postby Orlmente on Wed Jun 11, 2014 8:38 am

ddaugherty wrote:It's hard to believe that it's not a missed feature by everyone who uses a text editor on more than a casual basis.

Speaking for myself, I never had to print code on paper since more than a decade.
I may be an exception to the rule as I prefer to read on screen, particularly speaking of code, and if I really have to print something is 100% of the cases a *.pdf or *.doc files, and both aren't handled by ST, so I never missed that funcionality...
Anyway there are packages that, even though I never tested them, let you print:
Simple Print Function (should be crossplatform)
QuickPrint (Win* only)
Orlmente
 
Posts: 103
Joined: Mon Mar 18, 2013 12:37 pm

Re: Printing from sublime

Postby mattst on Sun Jun 22, 2014 11:08 am

I have now switched all my text editing to Sublime Text, not just source code. Recently I've found that I am copy'n'pasting into another editor to print on a regular basis. When you consider that Sublime Text is by far the best editor in the entire history of text editors (how did I live without Multiple Selections?), and the winner by a mile — think Usain Bolt racing against a bunch of 5 year old kids — it is gobsmackingly strange that printing is not supported.

And I want the works !! Print preview, line numbers on or off, fit to page, font/size control, print whole file or selected text, and the colours of my chosen theme used. SublimePrint is a poor substitute for all that.
mattst
 
Posts: 6
Joined: Thu Nov 14, 2013 6:01 pm

Re: Printing from sublime

Postby DylanCole on Sun Jul 06, 2014 5:28 am

Printing support would be useful even if it was just to pdf.
DylanCole
 
Posts: 1
Joined: Sun Jul 06, 2014 5:26 am

Re: Printing from sublime

Postby Jim on Sun Jul 06, 2014 7:56 pm

Just use this 50kb Plugin >>ExportHTML ( Package Control )

Features

Export to HTML using any tmTheme for syntax highlighting
Can handle any language supported by ST2
Supports bold and italic theme font styles as well
Configurable output
Format suitable for copying and pasting in emails
2 included tmTheme files for color and grayscale printing (but any can be used)
Export only selections (multi-select supported)
Export and show highlights (multi-select supported)
Toggle gutter on/off in browser view
Automatically open browser print dialog (optional)
Enable/disable configurable word wrapping
Configurable toolbar to appear in the generated webpage


ExportHtml comes with a number of default commands available, but these can be overridden in the settings file.
Or you can create commands directly outside of the settings file bound to the command palette, key bindings, or even the menu.


Then use the command palette to open the configuration or your browser print dialogue.
From there you can choose your paper or PDF printer.


.
Jim (on Windows Win7, now finally with ST3)
Jim
 
Posts: 40
Joined: Sun Feb 26, 2012 5:21 pm

Re: Printing from sublime

Postby mkumba on Wed Aug 27, 2014 4:15 pm

Come on guys, its been 5 years, still can't print.

I paid for a version, I like it a lot, but I often want to print out some code to study and annotate.
mkumba
 
Posts: 1
Joined: Wed Aug 27, 2014 4:14 pm

Re: Printing from sublime

Postby rbeverly on Sun Aug 31, 2014 7:46 pm

I also think a built in print function would make life easier. I was confused by the lack of one at first, and actually waited longer to become a paid user because it seemed like obvious functionality was missing. That said, I found one plugin that allows printing of selection to the default printer, and also the plugin that prints to HTML. The latter opens the code in a browser window so you can just print it from there. It adds a step that shouldn't really be necessary, but it works well.

Install package control here: https://sublime.wbond.net, then search for "print" and you'll find several options.
rbeverly
 
Posts: 1
Joined: Sun Aug 31, 2014 7:41 pm

PreviousNext

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 26 guests