This question might best be posted in the French discussions...
From what I can gather - your question is about generating pdf from a runtime?
On Windows, there are pdf printer drivers you can use.
On a mac, they are hard to find. I spent a long time finding one, I eventually found one, but that was a while ago, I can not remember where I found it.
It is possible to Applescript the action, but I have found this not to be reliable... why? because it often changes between OS, it controls only the UI level and from what I recall, it needs accessibility turned on.