PDF-XChange - Tracker PDF Viewer - TIFF-XChange - Image-XChange - XMF-XChange - Raster-XChange - Support

Moderators: Tracker Support, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan

 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

PDF's not Created When the Application is Launched from a Service

Mon Oct 16, 2017 9:33 am

PXC6::IPXCPrinterPtr is not creating PDF files when the application is launched from a service. The same application launched with the same command line from a command prompt creates PDF's as expected. Are there a known issues using PDF-XChange from applications launched from services?
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 11746
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: PDF's not Created When the Application is Launched from a Service

Mon Oct 16, 2017 9:58 am

Hello steve.thresher,

I believe the drivers can not work in that way - but am awaiting a confirmation from our dev team.

Regards,
Stefan
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Tue Oct 17, 2017 10:21 am

Do you know how long it will take to get an answer from the developers?
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Tue Oct 24, 2017 8:07 pm

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?
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 11746
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: PDF's not Created When the Application is Launched from a Service

Wed Oct 25, 2017 10:30 am

Hello Steve,

Apologies for the delay in following up on this.
I am now checking with my colleagues directly - and should have an answer for you very shortly!

Regards,
Stefan
 
Ivan - Tracker Software
Site Admin
Posts: 3471
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: PDF's not Created When the Application is Launched from a Service

Wed Oct 25, 2017 6:27 pm

Can you please try if enabling the "Allow service to interact with desktop" option for your service solves the problem?
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Thu Oct 26, 2017 8:58 am

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.
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 11746
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: PDF's not Created When the Application is Launched from a Service

Thu Oct 26, 2017 9:45 am

Thanks for the follow up Steve,

Looking forward to your feedback once you've had the chance to test it!

Cheers,
Stefan
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Thu Oct 26, 2017 2:48 pm

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
pdfSaver6.exe!00007ff6cf9e09c1() Unknown
pdfSaver6.exe!00007ff6cf9e08b4() Unknown
pdfSaver6.exe!00007ff6cf9e1bc2() Unknown
pdfSaver6.exe!00007ff6cfbc6fe4() Unknown
kernel32.dll!BaseThreadInitThunk() Unknown
ntdll.dll!RtlUserThreadStart() Unknown

I had a copy of SysInternal's ProcessMonitor running at the time and I've attached a copy of the trace which includes all events from any process that contains pdf in the name. I'm out of ideas right now but I'm happy to run any diagnostic software you care to provide or I'm sure I can sort out remote access for your developers if that would help.

Kind regards
Steve.
Attachments
pdfSaver6.zip
(1.47 MiB) Downloaded 3 times
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Tue Oct 31, 2017 4:46 pm

Any suggestions at all on what I could try next?
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Thu Nov 02, 2017 9:17 am

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?
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Tue Nov 07, 2017 11:34 am

Could you please give me an update on what is happening with this issue?
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Mon Nov 13, 2017 10:05 am

Could you please let me know if this issue will be investigated further?
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Tue Nov 21, 2017 4:18 am

Could you please let me know if this issue will be investigated further?
 
Ivan - Tracker Software
Site Admin
Posts: 3471
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: PDF's not Created When the Application is Launched from a Service

Tue Nov 21, 2017 6:32 am

Sorry, we just missed your posts. My apology.

Will take a look as soon as possible. As far as I remember it is essential to have "Allow service to interact with desktop" option enabled as otherwise, the driver cannot communicate with another part - pdfSaver - which generates PDFs.

But it seems there are some other circumstances in your case and will check what it might be.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Tue Nov 21, 2017 11:24 am

Excellent! I look forward to your response.
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 11746
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: PDF's not Created When the Application is Launched from a Service

Tue Nov 21, 2017 1:00 pm

:)
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Thu Nov 30, 2017 10:17 am

Any idea how much longer it will be until this issue can be progressed?
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2667
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: PDF's not Created When the Application is Launched from a Service

Thu Nov 30, 2017 10:23 am

Hello Steve,

We are having a major release in a couple of days - after that we'll look into your problem.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
 
steve.thresher
User
Topic Author
Posts: 42
Joined: Wed Aug 26, 2009 8:42 am

Re: PDF's not Created When the Application is Launched from a Service

Thu Nov 30, 2017 1:34 pm

Thanks for the update.
 
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 11746
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: PDF's not Created When the Application is Launched from a Service

Tue Dec 05, 2017 1:37 pm

You are welcome Steve,

The new version is now out - so I've reminded Sasha of this topic and your problem!

Cheers,
Stefan
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2667
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: PDF's not Created When the Application is Launched from a Service

Wed Dec 06, 2017 8:59 am

Hello Steve,

Here's a sample that I had a long time ago for printing from the Windows Service:
Service.rar
(199.29 KiB) Downloaded 2 times


Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Who is online

Users browsing this forum: No registered users and 1 guest