Search found 29 matches

by DISystemer
Fri Mar 29, 2019 11:59 am
Forum: PDF-XChange Drivers API SDK
Topic: Windows permissions
Replies: 2
Views: 798

Re: Windows permissions

Thank you Stefan, I hope you are able to find an explanation. By the way, I run Windows 10, and the application in question is made with extend (AcuCobol) and running through this runtime (wrun32). We also have applications written in Delphi and they seem to run fine with PDF-XChange 7. Just let me ...
by DISystemer
Wed Mar 27, 2019 11:10 am
Forum: PDF-XChange Drivers API SDK
Topic: Windows permissions
Replies: 2
Views: 798

Windows permissions

Hi, after installing version 7 of PDF-XChange drivers API our application is no longer able to print. We have traced it down to a Windows permissions issue: if we enter a breakpoint in the application after the printer is created, but before printing actually starts, and modify Windows permissions f...
by DISystemer
Fri Dec 22, 2017 12:48 pm
Forum: PDF-XChange Core API SDK
Topic: invalid floating point operation during IPXC_Document.WriteToFile
Replies: 2
Views: 510

invalid floating point operation during IPXC_Document.WriteToFile

I have a simple Delphi procedure to merge two PDF files. procedure MergePDF; var PXCInst: IPXC_Inst; document1, document2: IPXC_Document; count1, count2: ULONG_T; begin PXCInst := CoPXC_Inst.Create; PXCInst.Init(key); document1 := PXCInst.OpenDocumentFromFile(PWideChar(filename1), nil, nil, 0, 0); d...
by DISystemer
Mon Apr 23, 2012 6:56 am
Forum: PDF-XChange Drivers API SDK
Topic: StartDoc fails when running under IIS 6
Replies: 5
Views: 2421

Re: StartDoc fails when running under IIS 6

Hi, I have verified that the InstallPath value points to the correct path.
What exactly do you mean by "this path is available under IIS": Should we make a virtual directory under the site, or should the user running the web service have access to this path?

Best regards, Arnstein
by DISystemer
Fri Apr 20, 2012 4:56 pm
Forum: PDF-XChange Drivers API SDK
Topic: StartDoc fails when running under IIS 6
Replies: 5
Views: 2421

Re: StartDoc fails when running under IIS 6

Sorry, my mistake. I am using the pdf-XChange API.

Best regards, Arnstein
by DISystemer
Fri Apr 20, 2012 12:58 pm
Forum: PDF-XChange Drivers API SDK
Topic: StartDoc fails when running under IIS 6
Replies: 5
Views: 2421

StartDoc fails when running under IIS 6

Hi, We are currently testing PDF generation by a web service. We have written a service in C#/.Net that calls a dll (written in Delphi) that uses the pdf-XChange 4 printer driver to generate a pdf file. However, this does not work. The initialization of the printer is ok, but the call to StartDoc (i...
by DISystemer
Wed Sep 28, 2011 12:22 pm
Forum: PDF-XChange Drivers API SDK
Topic: PXC::IPXCControlEx::GetPrinterW() generating exception error
Replies: 21
Views: 6745

Re: PXC::IPXCControlEx::GetPrinterW() generating exception e

Yes, the error code is -2147467259 (0x80004005).
by DISystemer
Tue Sep 27, 2011 8:14 am
Forum: PDF-XChange Drivers API SDK
Topic: PXC::IPXCControlEx::GetPrinterW() generating exception error
Replies: 21
Views: 6745

Re: PXC::IPXCControlEx::GetPrinterW() generating exception e

Hi, I have the same problem as Nick. The call to IPXCControlEx.Get_Printer return an EOleException with message "Unspecified error". We use Delphi XE, and we also have the same problem when running tracker's DriverAPI example program. Code: procedure TForm1.InitSaverObj; var prnt:OleVariant; begin P...
by DISystemer
Fri Jul 29, 2011 1:17 pm
Forum: PDF-XChange Drivers API SDK
Topic: Event sink / DispID 8
Replies: 1
Views: 1255

Event sink / DispID 8

We are using an event sink to process events from the PDF-XChange driver. As I'm sure you know, the event sink has a method called Invoke which is called with, among others, a parameter called DispID. in the documentation we have found explanation of values 1-7 for this parameter (1 is StartDoc etc....
by DISystemer
Thu May 26, 2011 10:42 am
Forum: PDF-XChange Drivers API SDK
Topic: Problem setting default printer running under IIS
Replies: 15
Views: 4375

Re: Problem setting default printer running under IIS

Hi

Attached is a demo that you could use to reproduce the problem.

The zip-file contains three projects: service, web client and a WPF-stand-alone.

The stand-alone app is able to change default printer, the service is not.

Looking forward to hear from you Paul.
by DISystemer
Wed May 25, 2011 6:57 am
Forum: PDF-XChange Drivers API SDK
Topic: Problem setting default printer running under IIS
Replies: 15
Views: 4375

Re: Problem setting default printer running under IIS

Hi Thank you for your response and I can tell you the sample is working well as long as I'm in a WinForm or WPF. As I said in my first post this functionality is placed in code running as a service under IIS and it doesn't work. I dont get any exceptions, it runs without any problems, but default pr...
by DISystemer
Tue May 24, 2011 12:42 pm
Forum: PDF-XChange Drivers API SDK
Topic: Problem setting default printer running under IIS
Replies: 15
Views: 4375

Problem setting default printer running under IIS

Hi I'm developing a WCF service that clients should be able to send HTML and receivce a PDF-version of the HTML. Problem right now is to set the "PDF-XChange 4.0" printer to be the default printer. I have downloaded a trial version of the PDF-XChange Pro 4 SDK but have no idea how to start. We alrea...
by DISystemer
Tue Mar 22, 2011 12:56 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: pdfSaver - Don't Remove Temporary Files
Replies: 5
Views: 3733

Re: pdfSaver - Don't Remove Temporary Files

Hello Stefan,
We are using PDF-XChange 3.0, version 3.60 Build 0130.

Regards,
Arnstein
by DISystemer
Tue Mar 22, 2011 7:23 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: pdfSaver - Don't Remove Temporary Files
Replies: 5
Views: 3733

Re: pdfSaver - Don't Remove Temporary Files

Thanks, maybe I should describe the real problem instead: Some of our prints take some time to execute, and we have problems when a user starts a new print before the first one is finished. It seems that when the first job finishes it deletes the temp file for both jobs and then the second job hangs...
by DISystemer
Mon Mar 21, 2011 3:14 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: pdfSaver - Don't Remove Temporary Files
Replies: 5
Views: 3733

pdfSaver - Don't Remove Temporary Files

If you start pdfSaver with "/tweak /show" you can choose "Don't Remove Temporary Files" under Settings | Tweaks. However, every time you restart pdfSaver this setting is reset.

Is there a way to switch this setting permanent on?

Regards,
Arnstein By
by DISystemer
Mon Aug 06, 2007 6:35 am
Forum: PDF-XChange Drivers API (only) V3
Topic: Not getting "PDFXC3_StartDoc" on 64 bit Windows
Replies: 17
Views: 8140

No, our problem is not solved.

Ivan said on July 8th: "Will take a look now why this happens". After that nothing has happened, so we are waiting to hear from you.

Arnstein
by DISystemer
Mon Jul 16, 2007 6:33 am
Forum: PDF-XChange Drivers API (only) V3
Topic: Not getting "PDFXC3_StartDoc" on 64 bit Windows
Replies: 17
Views: 8140

Ok. We have more or less used the code from the "obj.Print" example in our application, so if we can make this method work then I'm convinced that our application will work as well.

Arnstein
by DISystemer
Fri Jul 13, 2007 1:48 pm
Forum: PDF-XChange Drivers API (only) V3
Topic: Not getting "PDFXC3_StartDoc" on 64 bit Windows
Replies: 17
Views: 8140

The Delphi sample application in the SDK (exDrvAPI) has the same problem - it works under Windows 32, but not under Windows 64. It uses Windows messaging to communicate with the driver.

Please let me know if you don't have the .exe file and want me to send it to you.

Regards,
Arnstein
by DISystemer
Fri Jul 13, 2007 1:23 pm
Forum: PDF-XChange Drivers API (only) V3
Topic: Not getting "PDFXC3_StartDoc" on 64 bit Windows
Replies: 17
Views: 8140

No, we use Delphi 2007 for Windows 32.

Arnstein
by DISystemer
Fri Jul 13, 2007 12:57 pm
Forum: PDF-XChange Drivers API (only) V3
Topic: Not getting "PDFXC3_StartDoc" on 64 bit Windows
Replies: 17
Views: 8140

I have already tried this.
The error message when instantiating the ActiveX control ("Class not registered") disappears after registering the 32 bit control, but it still doesn't communicate with the driver. In other words: The user still gets the save dialog from the driver.

Regards,
Arnstein
by DISystemer
Fri Jul 13, 2007 11:50 am
Forum: PDF-XChange Drivers API (only) V3
Topic: Not getting "PDFXC3_StartDoc" on 64 bit Windows
Replies: 17
Views: 8140

Not getting "PDFXC3_StartDoc" on 64 bit Windows

Hello, When running our (32-bits Windows) application on 64-bit Windows Server 2003, pdf printing fails. To be precise: The printing itself runs ok, but our communication with the printer driver does not work so the user gets the driver's save dialog. The driver installed is "PDF-XChange Driver for ...
by DISystemer
Wed Feb 21, 2007 12:48 pm
Forum: PDF-XChange Drivers API (only) V3
Topic: PDF-XChange / Multithreaded COM
Replies: 12
Views: 2728

Where can we get the .exe version of the ActiveX control? We would like to test it as soon as it's available.

Thanks,
Arnstein
by DISystemer
Mon Jan 22, 2007 12:48 pm
Forum: PDF-XChange Drivers API (only) V3
Topic: PDF-XChange / Multithreaded COM
Replies: 12
Views: 2728

I have now made a simpler Delphi test project. It contains one form, and on this form I place a TCPXCControl (the PDF-XChange ActiveX control). In the initialization code I initialize COM multithreaded: "CoInitializeEx(nil, COINIT_MULTITHREADED);" During startup, when the program tries to create the...
by DISystemer
Wed Jan 17, 2007 9:17 am
Forum: PDF-XChange Drivers API (only) V3
Topic: PDF-XChange / Multithreaded COM
Replies: 12
Views: 2728

I'm sending the missing files (ConfirmPasswordDialog) to you by email. We have tried using apartment threading, and the communication with PDF-XChanage works well under this threading model. Unfortunately, the rest of our application doesn't, it demands multithreading. What can we do to fix this? I ...
by DISystemer
Sat Jan 13, 2007 11:17 am
Forum: PDF-XChange Drivers API (only) V3
Topic: PDF-XChange / Multithreaded COM
Replies: 12
Views: 2728

Hi, Please do provide the source code for the DLL too - in the meantime I will ask our in-house Delphi Project dev to take a look at the project provided to date. thanks. Will do, but since this is part of our commercial products I would prefer to send it directly to you rather than posting it in t...
by DISystemer
Fri Jan 12, 2007 12:20 pm
Forum: PDF-XChange Drivers API (only) V3
Topic: PDF-XChange / Multithreaded COM
Replies: 12
Views: 2728

PDF-XChange / Multithreaded COM

Please find attached a Delphi test project.
The program opens a document in Microsoft Word and prints it to PDF. It uses a DLL to do the actual communication with PDF-XChange. Please let me know if you need the source code for the DLL too.

Thanks,
Arnstein
by DISystemer
Fri Jan 12, 2007 10:23 am
Forum: PDF-XChange Drivers API (only) V3
Topic: PDF-XChange / Multithreaded COM
Replies: 12
Views: 2728

PDF-XChange / Multithreaded COM

Several of our applications use PDF-XChange. We have implemented the communication with PDF-XChange in a DLL and tried using both message-based communication and the CPXCControl, and it all has been working well. However, one our applications now need to use multithreaded COM, and then the communica...