OIM on Demand - How to create a PDF file through a process?

Hi to all!

Is it possible to create a PDF file through a process? 

So far I have been able to create a process that creates a TXT file and I have no problem, but if I try to create a file with extension PDF, when I try to open it I get error saying that the file type is not supported or the file has been demaged.

To do this, I'm using the process task "File component - CreateFile". 

Maybe to create a PDF file I need a special encoding? 

Do you have any suggestion for this problem?

 

OIM on Demand 8.1.5

Thank you,

Martina