[Gtk-sharp-list] Printing using Gtk-sharp 2.10

Mikkel Kruse Johnsen mikkel at linet.dk
Fri Oct 12 10:38:13 EDT 2007


Hi

I have a problem with printing, this example should print 3 pages. 

If selecting preview it works, but printing (to either printer or file)
only gives me the first page. 

If setting 1-3 in Range it works.

And OnPaginate is never called.

Anyone have this problem ? or what am I doing wrong ?

/Mikkel

-----

Compile with:

gmcs -out:Test.exe -pkg:gtk-sharp-2.0 -r:Mono.Cairo Test.cs
mono Test.exe

------

Fedora 7

Mono JIT compiler version 1.2.3, (C) 2002-2006 Novell, Inc and
Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Architecture:  x86
        Disabled:      none


gtk-sharp2-doc-2.10.0-4.fc7
njb-sharp-0.3.0-8.fc7
gtk-sharp2-2.10.0-4.fc7
gtk-sharp2-devel-2.10.0-4.fc7
gtk-sharp2-gapi-2.10.0-4.fc7
gnome-sharp-2.16.0-3.fc7
gnome-sharp-devel-2.16.0-3.fc7

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20071012/d35f1a25/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.cs
Type: text/x-csharp
Size: 2308 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20071012/d35f1a25/attachment.bin 


More information about the Gtk-sharp-list mailing list