[Gtk-sharp-list] GtkPrinting

Jesus Eguiluz jeguiluz at andeselec.com
Fri Dec 27 14:24:23 UTC 2013


The attach code works perfect in ubuntu 12.04, but in windows I get the 
following error:

Marshaling clicked signal
Exception in Gtk# callback delegate
   Note: Applications can use GLib.ExceptionManager.UnhandledException 
to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown 
by the target of an invocatio
n. ---> System.Runtime.InteropServices.SEHException: External component 
has thrown an exception.
    at Gtk.PrintOperation.gtk_print_operation_run(IntPtr raw, Int32 
action, IntPtr parent, IntPtr& er
ror)
    at Gtk.PrintOperation.Run(PrintOperationAction action, Window parent)
    at Workbench.PrintingDialog.Print(PrintOperationAction action, 
String FileName)
    at Workbench.PrintingDialog.PrintDialogHandleClicked(Object sender, 
EventArgs e)
    --- End of inner exception stack trace ---

I not have a clue about this.

May be will be better use system.drawing.printing?

Regards

-- 
Jesus Eguiluz
Ingeniero Electrónico.
Investigación y Desarrollo
Andes Electrónica Ltda.
+56 2 2347-8780
www.andeselec.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PrintingDialog.cs
Type: text/x-csharp
Size: 5013 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20131227/af6eabfc/attachment.bin>


More information about the Gtk-sharp-list mailing list