http://bugs.winehq.org/show_bug.cgi?id=1947
------- Additional Comments From rklazes@xs4all.nl 2004-20-01 01:53 ------- Marcus, the problem is that Linux applications do not understand DOS style contents of the TEMP variable. This what is happening:
$ TEMP=C:\TEMP ps2pdf - **** Unable to open the initial device, quitting.
A solution within wine would be to unset all such variables before launching the Unix executable. My guess is that it is unlikely to be accepted, similar changes for DOS paths in the program arguments where dropped in favour of the tool "winepath". The external solution (script) is the way to go.