Sublime Forum

Printing from sublime

#36

[quote=ā€œjimbobā€]Take a look at HTML Export plugin available via Package Control. Exports your current file to your web browser with syntax highlighting. From there you can printā€¦

Includes the line numbers if you have them showing, so keep that in mind.[/quote]

Very nice.

0 Likes

#37

Discovered Sublime today. Been using it for about an hour and was liking itā€¦until I tried to print. No printing function is a huge deal breaker for me.

If I could print with syntax highlighting, itā€™d be a definite buy for me (especially since Visual Studio dropped color printing with VS2010).

0 Likes

#38

Hereā€™s a really simple solution for printing from Sublime Text. It is a plugin that sends the file of the current view to an external command that handles the printing. This works well enough for me. You can get it here if you want to try it: github.com/svenax/SublimePrint

Note that it currently doesnā€™t support Windows, though it will probably not be too hard to fix that.

0 Likes

#39

Hereā€™s another vote for printing.

0 Likes

#40

Just another person stepping in to say Iā€™d really like the print feature!

0 Likes

#41

You might consider ExportHtml available via Package Control. It sends your code to your web-browser, optionally directly to a print-preview version. It can keep your theme colours, or you can use a specific, printer-friendly,theme. It also works with a selection, as well as the entire view.

You can decide whether or not to include line numbers and can even add Annotations - HTML pop-up notes :smiley:

0 Likes

#42

Just another person stepping in to say Iā€™d really like to see the printing feature to be added in future release!
I purchased a license when version 2 released. :wink:

0 Likes

#43

+1 Yeah, printing would be niceā€¦ nothing fancy, just in monoscript with document name and page number.

0 Likes

#44

+1 for a print feature. All that is needed is a fixed font, and a way to specify the font size so that I can print out code that may go over 80 chars wide.
Also if there is a way that this feature can be added via Python, please point us to the right API to use to implement it.

0 Likes

#45

+1 for printingā€¦

0 Likes

#46

As Iā€™m using SublimeText as an all-purpose text editor and I just pasted some text from SG Project into it so I could print the text, I was :open_mouth: flabbergasted :open_mouth: the print option was not available.

I had to go back :unamused: to TextMate to be able to print it. Of course I could have used TextEdit as well but that program is even more dormant than TextMate lately.

So: +1 for printing.

Now Iā€™m considering this: would I have bought SublimeText if Iā€™d knew printing wasnā€™t available? I think I would have stayed with TextMate. Iā€™m now wondering what other surprises I might encounter: basic functionality Iā€™d expect to exist with every text editor but for some reason missing from SublimeText. I think the SublimeText people should be honest and say ā€œwe donā€™t support printing your documentsā€ on the home page. Iā€™ve mentioned this on the wikipedia page regarding SublimeText just seconds ago.

0 Likes

#47

itā€™s kindof a workaround but you can try installing the ExportHTML package - https://github.com/facelessuser/ExportHtml
then you can view your document/selection in the browser or print it thourgh the browser.

0 Likes

#48

Add my vote to the Add Print campaign

0 Likes

#49

printing +1

0 Likes

#50

+1 Printing.

Thanks for the great editor.

0 Likes

#51

I would love a print option!

Having to cut and paste into another editor kinda makes me grumpy O,;,O

0 Likes

#52

Please, add ā€˜printā€™ feature

0 Likes

#53

+1 for printing.

Trying really hard to like this editor, but darn you are making it difficultā€¦please

0 Likes

#54

I would also love this functionality. I use Sublime Text at work for taking notes and recording corrections for clients, and then have to use a different editor just to print the documents. This seems incredibly basic functionality to be missing. This is honestly one of the first ā€˜programsā€™ that I have used that did not any print command! Donā€™t get me wrong I love it, but this inability to print is driving me bananas.

0 Likes

#55

Quick printing - currently for Windows ONLY unless someone can advise me of the equivalent (dos) commands to the following:

os.system('net use lpt1 \\\\ANDYCOMPAQ\\PrimoPDF /persistent:yes') os.system('type system_ex.txt > LPT1')

Note: This is an early draft; it works for me but please report any issues. Andy.

0 Likes