touch($lock);
// should really check if exe exists.
- chdir($uni['dir'] . '/.wine/drive_c');
+ chdir($uinfo['dir'] . '/.wine/drive_c');
// /Recover = seems to handle hang situations
- $cmd = "{$timeout} 60s {$xvfb} --auto {$wine} \"" . $uni['dir'] . "/.wine/drive_c/Program Files (x86)/Any DWG to PDF Converter Pro/dp.exe\" /InFile C:\\\\{$fromb} /OutFile C:\\\\{$tob}" .
+ $cmd = "{$timeout} 60s {$xvfb} --auto {$wine} \"" . $uinfo['dir'] . "/.wine/drive_c/Program Files (x86)/Any DWG to PDF Converter Pro/dp.exe\" /InFile C:\\\\{$fromb} /OutFile C:\\\\{$tob}" .
" /OutMode AlltoOne /Overwrite /OutLayout Paper /Recover /OutArea ZoomExtends";