I want to produce a pdf that includes settings for a predefined profile, like the the printing on both side of a piece of paper, is that possible?
If a pdf does not provide this kind of feature, you some other file format that is able to?
There is a (not well documented) key in
Other interesting keys are
Update (by -kp-)
Please note, that any of these embedded settings do not directly influence the print outcome at all, and they do give you control over the behavior of the print device. They only do influence 'the preset values used to populate the print dialog presented by a conforming reader' (as is spelled out somewhere in section 12.1 of the ISO spec for PDF-1.7).
It means that the PDF viewer popping up its print dialog should have the respective values pre-selected. As a user I could still select different values for the actual printing. Also, as a user I can usually set up my viewer application to 'ignore document presets' ...
In other words, this (rather limited) functions will likely only work on Windows, and if you print the PDF using the print dialogs of Acrobat Pro (or Adobe Reader).