The problem is already solved.
Command \special{header=xxx.ps} was working in older version of Miktex when the file xxx.ps was in the same directory as the source file. In the last version of MIktex, the system cannot find it even if I give the full path to it. Is it possble too write the content of the file xxx.ps directly to the source file?