4

I've opened a text file in Textmate, and when I get ready to print it the font size is enormous. Not much fits on one page, even though it is just code with a fixed with.

I can copy and paste it into Word, but seems like there should just be an easier way to print with a smaller font size.

Attached is an image of what I see when I choose "print" - the font size is much too big. I like the font size in the editor, just not when printing. How can I change this?

enter image description here

3
  • What is the font size before trying to print?
    – soandos
    Commented Nov 29, 2011 at 18:21
  • TM Default - Monaco 12pt
    – cwd
    Commented Nov 29, 2011 at 18:27
  • It's on the suggestions list, I don't think you'll ever see the option.
    – slhck
    Commented Nov 29, 2011 at 18:31

2 Answers 2

3

You can change the font size in TextMate's menu bar.

enter image description here

This choice influences the font size on the printed page.

enter image description here

Reduce a few times to get print-optimized size, then reset again to continue editing.


It appears that if you resize your TextMate editing window to about 770 pixels height (measure with selection screenshot hotkey Cmd-Shift-4), this is the content that fits on a single page – at least on my machine.

5
  • This does no work for me. Changes the on-screen size, just not the print size.
    – cwd
    Commented Nov 29, 2011 at 18:28
  • 1
    @cwd Then something else is wrong on your computer. See the web page slhck has linked. Font Size (different than screen) and Change font size for printing; a good screen size is always too large in print. make it clear that they're linked.
    – Daniel Beck
    Commented Nov 29, 2011 at 18:35
  • I saw that page before I posted the question but thanks anyhow. What would be a good alternative program to use to print these types of pages?
    – cwd
    Commented Nov 29, 2011 at 19:03
  • @cwd I'm not a fan of printing things... would probably make a good question though, "How to best print source code on OS X with line numbers, syntax highlighting, header/footer information, etc." if it hasn't been asked before.
    – Daniel Beck
    Commented Nov 29, 2011 at 19:34
  • It's not just about source code. I use TextMate as a notepad when summering up information for offline usage (and have to c'n'p some technical words I don't really feel like writing down myself). In my case (just plaintext, space and/or tab formatted) I just fired up TextEdit (OS X's default editor I think) and pasted text in their for printing. Faster than word but still a workaround. Result is satisfying though. Edit: 70% satisfying, tabs got messed up :C
    – nuala
    Commented Sep 16, 2013 at 8:29
1

Changing the font size didn't work for me either.

However if you do File > Page Setup and change the scale of the page, you can achieve the same result.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .