Loading...

Problem Printing

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

Problem Printing

Postby Andy Trezise » Wed Nov 07, 2007 4:34 pm

I get the following error when trying to print my document using gdviewer...

OLE IDispatch execution code 0 from GdPicturePro4: Invalid property value....

I'm trying to print as follows:

ThisForm.oGDViewer1.PrintImageDialog()

I'm printing to a Lexmark E320N laser printer.

I don't seem to have any other problems...

ThisForm.oGDViewer1.PrintImage() seems to work but I'd like to give my users the option of selecting their own printer.
Andy Trezise
 
Posts: 10
Joined: Wed Nov 07, 2007 1:39 am

Postby Loïc » Thu Nov 08, 2007 11:39 am

Hi,

I can't reproduce this error.

Could you give me precisions:

- When this problem occurs ?
- What kind of document are you trying to print ?
- Did you change printing options into the dialog box ?

Regards,

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

Print Error

Postby Andy Trezise » Thu Nov 08, 2007 1:47 pm

Just to be on the safe side I thought I'd try it from the command window (VFP9) so as to eliminate any other problems...

oGDPicture = CreateObject("gdpicturepro4.imaging")
oGDPicture.SetLicenseNumber("XXXXXXXXXXXXXXXXXXX")
oGDPicture.CreateImageFromFile("mymultipage.tif")
oGDPicture.PrintImageDialog

This gave me exactly the same error message when I clicked OK on the print dialogue box (I didn't change any other options).
Andy Trezise
 
Posts: 10
Joined: Wed Nov 07, 2007 1:39 am

Postby Loïc » Tue Nov 13, 2007 1:27 pm

Hi Andy,

Please update with the last edition: http://www.gdpicture.com/download.php

This bug has been probably fixed.

Regards,

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

Postby Andy Trezise » Mon Nov 19, 2007 5:15 pm

That sorted it...thank you
Andy Trezise
 
Posts: 10
Joined: Wed Nov 07, 2007 1:39 am


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest