[Mono-osx] Can't print on Snow Leopard
Michael Hutchinson
m.j.hutchinson at gmail.com
Tue Feb 23 00:11:49 EST 2010
On Mon, Feb 22, 2010 at 9:24 PM, Tessa Sullivan
<tessa.sullivan at gmail.com> wrote:
>
> I downloaded and installed the 2.2.1 disk image and installed it. I really
> like what I've seen so far, except for the printing problem. The option on
> the File Menu is always grayed out. Anyone know why?
>
> I apologize if this is a dumb question (I'm new to both mono and c#) or has
> been answered elsewhere (I did do a search).
>
> I appreciate any help!
I assume by "2.2.1" you mean the MonoDevelop IDE.
Printing support has for a couple of years depended on old Linux-only
libraries, so only worked on Linux - and only when built with certain
flags. But we didn't get many complaints - hence why you got few
search results - so it's been fairly low-priority for us to fix
compared to other issues. The issue was mitigated by the fact that
text copied from MD could be pasted as syntax-highlighted RTF - though
this doesn't seem to work with the Mac.
I recently did a quick port of MD's print code to use the more recent
crossplatform GTK print APIs, and this is included in the "beta" that
you can find in the MD Mac updater. On Mac, GTK still can't actually
print directly, but "print preview" works by displaying a PDF file in
the Mac Preview app, which can then be used to print it.
I've been hoping that someone who's interested in the printing support
could step up to add some more features, such as wrapping,
customizable font size, customizable margins and header/footer. The
code is very straightforward, and many options are effectively
implemented and simply need a GUI.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Mono-osx
mailing list