Loading...

I cannot print anymore

Discussions about document printing in GdPicture.NET using GdPictureImaging.

I cannot print anymore

Postby mitric » Wed Jul 01, 2009 9:18 am

Hello, here are some details:

dll version: 6.3.0.1

Sample code:

Code: Select all
  GdPicture.GdViewer v = new GdPicture.GdViewer();
  v.SetLicenseNumber("xxxxxxx");
  v.DisplayFromFile("....pdf");
  v.PrintDialog();

Throws an InvalidCastException:

Exception Details: System.InvalidCastException: Cast from type 'IntPtr' to type 'Integer' is not valid.
in Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value)
in GdPicture.GdViewer.PrintDialog(IWin32Window owner)
in GdPicture.GdViewer.PrintDialog()

Thank you

mitric
mitric
 
Posts: 7
Joined: Wed Jul 01, 2009 9:04 am

Re: I cannot print anymore

Postby Loïc » Wed Jul 01, 2009 12:23 pm

Hi,

This bug has been fixed into the latest edition: http://www.gdpicture.com/download/downl ... urenet.php

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: I cannot print anymore

Postby mitric » Wed Jul 01, 2009 12:57 pm

Hi Loïc,
I'm using the last version, 6.3.0.1, I've installed it by clicking "Download GdPicture.NET (ZIP File)" and used all the files in C:\Program Files\GdPicture.NET\Redist\Framework 2.0.

I can add that my application doesn't create a viewer dinamically as I do in my sample code, it it's been droped into a panel owned by a winform at design time, but the error is the same.
I've also tried to use Print or PrintDialog(IWin32Window owner) without any success.

If u need any file/documentation just ask.

Thank you

mitric
mitric
 
Posts: 7
Joined: Wed Jul 01, 2009 9:04 am

Re: I cannot print anymore

Postby Loïc » Wed Jul 01, 2009 12:59 pm

Hi,

The last edition is 6.3.2

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: I cannot print anymore

Postby mitric » Wed Jul 01, 2009 1:36 pm

Loïc, it works like a charm.
Thank you for your fast and efficient support.

mitric
mitric
 
Posts: 7
Joined: Wed Jul 01, 2009 9:04 am

Re: I cannot print anymore

Postby Loïc » Wed Jul 01, 2009 1:37 pm

Great !

Thank you for thee feedback :wink:

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to Document Printing

Who is online

Users browsing this forum: No registered users and 1 guest