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

2007-09-22 Thread Vladimir Dimitrov
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 <[EMAIL PROTECTED]> 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@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
> --
>
>
> Markus Kilås
>
> +46(0)70 424 94 85
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> www.markuspage.com
>
>
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2007-09-20 Thread Markus Kilås
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@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list


-- 


Markus Kilås

+46(0)70 424 94 85

[EMAIL PROTECTED]
[EMAIL PROTECTED]

www.markuspage.com


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2007-09-18 Thread David Arnaud-Goddet
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@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list