[Mono-dev] [Gtk#] How to print on win32 and Unix

Vladimir Dimitrov vlad.dimitrov at gmail.com
Sat Sep 22 05:46:43 EDT 2007


I use System.Drawind.Printing and it works fine. It works on both
Linux and Windows too :).
Saebastien fixed a lot of stuff there so the System.Drawing interface works
fine for printing.
You can find many many examples on the internet. Hopefully Miguel
 will give him some time to implement Metafiles so the
 printing will become really smooth :).

On 9/20/07, Markus Kilås <digital at markuspage.com> wrote:
>
> I use gtk for printing, it works on Linux, but I have not tried it on
> windows yet. Sample code is below if it can be to any help:
> http://wordtrainer.googlecode.com/svn/trunk/wordtrainer
> /Wordtrainer/GtkPrinting.cs
>
>
> David Arnaud-Goddet skrev:
> > Hi all,
> >
> > I develop a GUI in csharp which have to work and windows and Unix. I
> > would like to add in my Gtk.Windows a button to print document.
> > I find, in the mono doc the class :
> >
> >
> >       Gtk.PrintUnixDialog
> >
> > I read that : "This class implements a Print dialog for platforms which
> > don't provide a native printing dialog"
> > What does "native printing dialog" mean? Which platforms already have a
> > native printing dialog and how can I use it ?
> >
> > Moreover if somebody has a sample code to a print dialog it will be
> fine!
> > Thanks.
> >
> > --
> > David
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
> --
>
>
> Markus Kilås
>
> +46(0)70 424 94 85
>
> markus at markuspage.com
> kilas at kth.se
>
> www.markuspage.com
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070922/1f267653/attachment.html 


More information about the Mono-devel-list mailing list