I think I've requested this before, but I'm a Taurus, so I'm requesting it again. :)
I would love to have the ability to at least set the font size, possibly even the font face, and ideally even allow/disallow syntax highlighting when printing.
Turning on/off syntax highlighting would be great because people with black & white printers probably want it off, but folks with color printers might want it on. Setting the type size would be great because I like to save paper, and by default TextMate prints way, way too large. And it would be nice to set a different font, because I often set my screen font bolder than I want my print font.
Just a humble request. Thanks!
Best, Raymond
On 8/23/05, Raymond Brigleb ray@needmoredesigns.com wrote:
Turning on/off syntax highlighting would be great because people with black & white printers probably want it off, but folks with color printers might want it on.
I think you can do this now. In the print dialog select the "Color Sync" panel and change the "Quartz Filter" setting to "Black & White". It then prints without syntax highlights (and prints correctly for me on my LaserJet 6P).
M
On Aug 24, 2005, at 3:54 AM, Matt Mower wrote:
I think you can do this now. In the print dialog select the "Color Sync" panel and change the "Quartz Filter" setting to "Black & White". It then prints without syntax highlights (and prints correctly for me on my LaserJet 6P).
That would be helpful, except that it's not printing in color to begin with!
Actually, perhaps someone can recommend a standalone utility or script for printing from my Mac. Perhaps it's just a job for a separate program. Does anyone have any recommendations for this sort of thing?
-ray
On 25 Aug 2005, at 18:52, Raymond Brigleb wrote:
Actually, perhaps someone can recommend a standalone utility or script for printing from my Mac. Perhaps it's just a job for a separate program. Does anyone have any recommendations for this sort of thing?
I'm just butting in part way through (having just joined the list), so somebody else might have mentioned already, or I might be getting the wrong end of the stick, but have you tried out enscript[1]? I'm not sure what it's got in the way of colour highlighting support, but it certainly does pretty-printing of source code for several programming languages.
[1] http://people.ssh.fi/mtr/genscript/
On 25 Aug 2005, at 20:50, Graeme Mathieson wrote:
... have you tried out enscript ...
Oh, and it's in /usr/bin/enscript, so available by default, at least on 10.4.
I'd like to add my vote for better printing from TextMate - in particular the ability to set the font and size. This is basic functionality that a good code editor should should offer, IMHO.
A reasonable work-around is to create a shell script, (calling enscript or whatever), wrap this up in Platypus (http:// sveinbjorn.sytes.net/platypus) and put the resulting application into the Dock. That way, you can simply drag your files onto the dock icon to print them, rather than having to fumble around with Terminal each time.
Best, -- Andre
On 25 Aug 2005, at 18:52, Raymond Brigleb wrote:
On Aug 24, 2005, at 3:54 AM, Matt Mower wrote:
I think you can do this now. In the print dialog select the "Color Sync" panel and change the "Quartz Filter" setting to "Black & White". It then prints without syntax highlights (and prints correctly for me on my LaserJet 6P).
That would be helpful, except that it's not printing in color to begin with!
Actually, perhaps someone can recommend a standalone utility or script for printing from my Mac. Perhaps it's just a job for a separate program. Does anyone have any recommendations for this sort of thing?
-ray
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
At 10:35 AM +0100 8/26/05, Andre Posumentov wrote:
A reasonable work-around is to create a shell script, (calling enscript or whatever), wrap this up in Platypus (http://sveinbjorn.sytes.net/platypus) and put the resulting application into the Dock. That way, you can simply drag your files onto the dock icon to print them, rather than having to fumble around with Terminal each time.
Or perhaps it could be turned into a little TM Printing.tmbundle. I don't use enscript, as I use htmltidy and perltidy to clean up actual code and never print out code, but it seems like a combination of enscript and lpr should do it. Extra slick would be some way of querying the available system printers and using Cocoadialog to pop up a choice of targets...
- Eric
On 26 Aug 2005, at 16:14, Eric Hsu wrote:
Extra slick would be some way of querying the available system printers and using Cocoadialog to pop up a choice of targets...
Couldn't you parse the output from "lpstat -a" and feed that to Cocodialog?
Best, -- Andre