Search found 81 matches
- Thu Jul 16, 2020 9:44 am
- Forum: PDF-Tools SDK (all our PDF DLL Libraries)
- Topic: Which Upgrade Product Do I Need?
- Replies: 1
- Views: 3476
Which Upgrade Product Do I Need?
We currently use LoadLibrary to use the following list of functions from XCPRO40.DLL PXCp_Init PXCp_ReadDocumentW PXCp_WriteDocumentW PXCp_GetPagesCount PXCp_Delete PXCp_InsertPagesTo PXCp_PageGetBox PXCp_PageSetBox PXCp_AddWatermark PXCp_EnableSecurity PXCp_EnableSecurityEx PXCp_PageSetRotate Does ...
- Wed Oct 17, 2018 10:27 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Are there some test licence details I can use as I only have a licence for V6?
- Thu Oct 11, 2018 7:57 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Have you managed to make any progress on this issue?
- Tue Oct 02, 2018 8:31 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Hi,
The dump file has now been uploaded as: pdfSaver6 - PDF-XChange Drivers API SDK - Virtual Printers Left Behind.zip
The dump file has now been uploaded as: pdfSaver6 - PDF-XChange Drivers API SDK - Virtual Printers Left Behind.zip
- Wed Sep 26, 2018 11:02 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Yes, OnError was traced as well: IMPLEMENT_DYNAMIC(CPrinterEvents, CCmdTarget) CPrinterEvents::CPrinterEvents() { m_dwConnectionCookie = 0; m_hEnvent = INVALID_HANDLE_VALUE; m_pPrinter = nullptr; // EnableAutomation(); } CPrinterEvents::~CPrinterEvents() { Detach(); } void CPrinterEvents::Attach(HAN...
- Mon Sep 24, 2018 10:55 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
I've had a go at implementing the suggested alternative to WaitForPrintEvent but I'm still seeing instances where the document saved event is not received causing the manual loop to run until timeout (2 mins) before continuing. I have a DbgView log file which I've attached. I also have a dump of the...
- Tue Sep 18, 2018 10:24 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Thankyou for the quick turnaround. I'll give it a go.
- Tue Sep 18, 2018 10:49 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
I've managed to put together a simple project that shows the hang. PrintPDF.zip contains a solution that builds PrintPDF,exe and SampleService.exe. All outputs are hard coded to E:\TEMP. PrintPDF.exe creates a PDF named with PrintPDF-date-time-tickcount.PDF with a single page showing the filename. S...
- Wed Sep 12, 2018 8:21 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Hi Ivan,
I've emailed the requested information.
I've emailed the requested information.
- Mon Sep 10, 2018 11:47 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Is there some kind of logging I could switch on that would help to identify why pdfsaver6 sometimes fails to produce a document? I really need to get to the bottom of this problem so some kind of response would be appreciated.
- Wed Sep 05, 2018 2:50 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
I've had to remove the WaitForPrintEvent call as it appears to be causing more problems than it solves. The issues are occurring on a server with remote desktop services where multiple users are creating a virtual printer simultaneously. pdfSaver6 is launched but no PDF file is created. Is it possib...
- Mon Sep 03, 2018 10:07 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Is this how the call should be handled? try { // This will throw an E_ABORT exception if the event is not received in time HRESULT hr = m_pPrinter6->WaitForPrintEvent(PXC6::PrintEvent::event_DocumentSaved,20000); if (FAILED(hr)) LOGWRITE('Y',CXD_STR().catf("Error %dword%,4 while waiting for the...
- Fri Aug 24, 2018 8:19 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Could you please expand on the last comment about handling com errors in non-raw imports?
- Thu Aug 23, 2018 3:47 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
I've added the suggested call and it appeared to be working on my development rig but, now the software is being distributed to our customers, we are seeing the function fail intermittently. The function appears to be returning the HRESULT E_ABORT with the stack is as follows: KERNELBASE.dll!_RaiseE...
- Thu Aug 23, 2018 8:07 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Temporary File Names
- Replies: 6
- Views: 6782
Re: Temporary File Names
The majority of prints are produced at the same speed (10-15 second) but every so often one will take over 40 seconds. The documents that print slowly aren't any larger and it doesn't happen at a set time of day. The customer is just trying to eliminate anything that could slow down the print proces...
- Wed Aug 22, 2018 7:17 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Temporary File Names
- Replies: 6
- Views: 6782
Re: Temporary File Names
Thanks for that. I really don't believe the performance issues are related to the temporary file creation but our customer does and, as they say, "the customer is always right!".
- Tue Aug 21, 2018 11:24 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Temporary File Names
- Replies: 6
- Views: 6782
Temporary File Names
Hi, Is there a pattern to the temporary filenames created in the windows temp folder while a PDF is being generated. A customer of ours is having performance issues and would like to exclude them from the anti-virus product they are using. The filenames I've seen by using Process Monitor from Sysint...
- Thu Aug 16, 2018 9:08 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Could someone please comment on whether this is still a known problem or if a fix has been put in place with newer versions of the product?
- Mon Aug 13, 2018 6:05 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Could someone please give me an update on this issue?
- Wed Aug 08, 2018 1:48 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
I've just searched the forums for RemoveOrphanedPrinters and found the following post that was created by my predecessor: https://forum.pdf-xchange.com/viewtopic.php?f=43&t=26825&p=104023&hilit=RemoveOrphanedPrinters#p104023 It would appear the last fix to RemoveOrphanedPrinters was year...
- Wed Aug 08, 2018 1:46 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Hi Ivan, Thanks for the response. I've been back to the source to add the suggested call to find the following commented out code: // this is in the sample code but if you do this while other sessions are printing, you can remove their printers! // if (m_pFactory6 != NULL) // m_pFactory6->RemoveOrph...
- Tue Aug 07, 2018 9:15 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Any thoughts on this one?
- Mon Aug 06, 2018 10:11 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Re: Virtual Printers Left Behind
Here's a stripped down version of the code we're using: void print_pdf() { //Sleep(20000); PXC6::IPXCControlExPtr pFactory6; try { CLSID clsid; if (SUCCEEDED(CLSIDFromProgID(L"PXCComLib6.CPXCControlEx",&clsid))) pFactory6 = PXC6::IPXCControlExPtr(__uuidof(PXC6::CPXCControlEx)); } catch...
- Wed Aug 01, 2018 8:35 am
- Forum: PDF-XChange Drivers API SDK
- Topic: Virtual Printers Left Behind
- Replies: 35
- Views: 27789
Virtual Printers Left Behind
Can you offer any suggestions as to why virtual printers are persisting after a print job has been completed and even after a server has been rebooted?
- Thu Mar 22, 2018 4:14 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Hi Ivan,
Thankyou very much for the workaround. I've modified the production code and I'm now getting documents produced when the program is launched by a service.
Kind Regards,
Steve.
Thankyou very much for the workaround. I've modified the production code and I'm now getting documents produced when the program is launched by a service.
Kind Regards,
Steve.
- Mon Mar 19, 2018 11:53 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Could someone please give me an update on how this issue is progressing?
- Tue Mar 13, 2018 9:06 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Hi,
It's been a few weeks, has any progress been made yet?
Thanks,
Steve,
It's been a few weeks, has any progress been made yet?
Thanks,
Steve,
- Tue Mar 06, 2018 12:51 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Radi has now provided me with a new licence key. Any thoughts on when the problem can be progressed.
- Mon Mar 05, 2018 8:42 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Could you please tell me who to email regarding a replacement licence key?
- Mon Mar 05, 2018 1:55 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
I believe the two downloads were both myself. The first from checking what I had uploaded could be downloaded and the second from me checking the count increased when I downloaded the project as I was trying to work out if anyone had bothered to look at it yet. The sample has now been modified to re...
- Tue Feb 27, 2018 2:57 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Any idea how much longer it will be until this issue can be progressed?
- Thu Feb 22, 2018 12:38 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Hi Alex,
Could you please confirm if this is something you can work with?
Thanks,
Steve Thresher.
Could you please confirm if this is something you can work with?
Thanks,
Steve Thresher.
- Tue Feb 20, 2018 1:57 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Hi Alex, It's not practical to give you the actual code due to the large number of dependencies and configuration that would be required but I have put together a sample that I believe is a fair simulation of what we're doing. The sample contains a service that just sits in a loop and attempts to sp...
- Tue Feb 06, 2018 3:25 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
I have a process that produces PDF files which works when run standalone. The problem is when the process is launched from a service, pdfsaver is started but no PDF is produced (see callstack in an earlier event). The sample you provided was your proof that PDFs can be created from a service but it ...
- Tue Feb 06, 2018 11:52 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Thanks for the update Alex.
- Tue Feb 06, 2018 10:07 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
I still cannot get the sample to work. I've tried tweaking the case of the verb name but that hasn't made any difference. I've attached an image that I believe shows all relevant details at the time the print job is started. I've also tried to manually initiate what the code is running by dragging t...
- Mon Feb 05, 2018 5:50 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Thanks for the update, I can now build the solution. The problem now is both the forms app and service fail when starting the print job. The forms app gives: An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll Additional information: The specified executable ...
- Mon Feb 05, 2018 9:18 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
I've not been able to get the sample to build yet given I'm using version 6 of the product not version 5. Would you be able to provide an upgraded version of the sample that will work with version 6? Also, while looking for information on how to build the sample, I found this entry on StackOverflow:...
- Mon Jan 22, 2018 4:00 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Could you please tell me how I register the assembly / DLL so I have access to the PXCComLib5.CPXCControlEx class / object from within the attached C# solution?
- Thu Nov 30, 2017 1:34 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Thanks for the update.
- Thu Nov 30, 2017 10:17 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Any idea how much longer it will be until this issue can be progressed?
- Tue Nov 21, 2017 11:24 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Excellent! I look forward to your response.
- Tue Nov 21, 2017 4:18 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Could you please let me know if this issue will be investigated further?
- Mon Nov 13, 2017 10:05 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Could you please let me know if this issue will be investigated further?
- Tue Nov 07, 2017 11:34 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Could you please give me an update on what is happening with this issue?
- Thu Nov 02, 2017 9:17 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Sorry to nag but I have several customers that are affected by this issue and they're starting to get quite impatient. Is there anything further I can try to get this solution working?
- Tue Oct 31, 2017 4:46 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Any suggestions at all on what I could try next?
- Thu Oct 26, 2017 2:48 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Hi Stefan, Unfortunately the 'Allow desktop interaction' option has not fixed the problem. Basically my program is waiting for the PDF to be produced but the file never appears. The callstack for pdfSaver6.exe is as follows: > win32u.dll!NtUserGetMessage() Unknown user32.dll!GetMessageW() Unknown pd...
- Thu Oct 26, 2017 8:58 am
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
Thanks for the response. I've tried using my credentials for the service and that made no difference. I'll try the interact with desktop option and report back.
- Tue Oct 24, 2017 8:07 pm
- Forum: PDF-XChange Drivers API SDK
- Topic: PDF's not Created When the Application is Launched from a Service
- Replies: 48
- Views: 28704
Re: PDF's not Created When the Application is Launched from a Service
If the printer cannot be used from a service then do you have any suggestions on how we can utilise the printer from an unattended process?