Hello fellow TextMaters. I'm a Ruby programmer currently writing a web app with Ruby on Rails.
Is there a way to set the font size for printing? I can't find anything, so I made this command that works well for me:
cd $TM_PROJECT_DIRECTORY enscript -G -p /tmp/`basename ${TM_FILEPATH}`.ps --margins=36:36:36:36 --mark-wrapped-lines=arrow $TM_FILEPATH cd /tmp #`dirname $TM_FILEPATH` open `basename $TM_FILEPATH`.ps
I have it bound to Shift+Splat+P. It requires Enscript (port install enscript) The enscript command line above adds a nice heading ( -G ), and sets the margins to 1/2" all around. This allows me to print on drilled paper two-sided. After enscript creates the PostScript, the open command opens it in Preview, where you can print it.
Regards, JJ
Hello,
Wanted to give my two cents about printing.
Using the same font as the document makes perfect sense, my only request is to set the printing size, because everything I print out has been far too big. That's all.
Otherwise, I think printing within TextMate is pretty good, but I can certainly see how more options might be nice.
Best, Raymond
On Mar 3, 2005, at 4:55 AM, Allan Odgaard wrote:
On Mar 2, 2005, at 23:25, John Johnson wrote:
Is there a way to set the font size for printing?
Currently it uses the document font. I'll add more printing options later.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate