File Associations

Discuss RoboTask here

File Associations

Postby nielmd » Tue Apr 25, 2017 10:30 am

I'm using RoboTask running as a service on a Windows 2012 server, using a service account for running the service.

I have a problem printing files. I get this error :
I 25-04-2017 11:19:43: Printing file \\\beg10$\HAMAPOTK_BestilTilCYT\Azanta Danmark AS WDA Tilladelse.pdf
I 25-04-2017 11:19:43: Executing "5.Increment variable "FILECOUNT""
I 25-04-2017 11:19:43: Executing "6.Print {FILETOPRINT}"
E 25-04-2017 11:19:43: No application is associated with the specified file for this operation. (Azanta Danmark AS WDA Tilladelse.pdf)
E 25-04-2017 11:19:43: An error occurred. Step #6 (Print {FILETOPRINT}).

On the server running RoboTask, I have installed Foxit Reader, and has set the file association accordingly:
2017-04-25 10_40_13-rmapps0613 - forbindelse til Fjernskrivebord.jpg
print error
2017-04-25 10_40_13-rmapps0613 - forbindelse til Fjernskrivebord.jpg (41.02 KiB) Viewed 1109 times

But still - I get the 'no appliication is Associated...' error.
Is it nessesary to define file associations specifically for RoboTask?

Thank you!

Posts: 1
Joined: Thu Apr 20, 2017 1:37 pm

Re: File Associations

Postby Oleg » Tue Apr 25, 2017 12:19 pm

File association works for user sessions only
Service works in separate SYSTEM session

But you can print PDF document with Foxit Reader
use this command-line:
foxitreader.exe /p <pdf-file-name.pdf>

Learn more about Foxit Reader command-line options here:
Oleg Yershov
Site Admin
Posts: 2208
Joined: Thu Jan 01, 1970 1:00 am

Re: File Associations

Postby mploug » Wed May 17, 2017 2:41 pm


See also the topic Print from command line - File Associations PDF:
Posts: 5
Joined: Fri Feb 24, 2017 4:38 pm

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 11 guests