Did you get the printer name using app.printerNames ?
I get it from the printers panel. Furthermore this is the same name that the one displayed in the Acrobat print dialog box.
You need to use the internal name as is defined in Acrobat, which can differ from the names you see in the Printers panel.
Run this code from the console to get the names of all the printers in your system:
var l = app.printerNames.length
for ( var i = 0; i < l; i++)
console.println("(" + (i+1) + ") " + app.printerNames[i]);
Actually this is exactly the same name.
OK, so that's not the problem...
From where are you running this from?
(but it's currently only reproducible on Dutch Win 7).
Worked just fine for me using Reader 10 on Windows 7.
Try changing the path to something a bit more usual, like /c/print/ or something like that.
It works also right on my computer but for specific clients (Dutch OS, I do'nt know why...) it crashes.
I already tried to change the path but it doesn't work anymore.
It seems to be a file oriented issue because while I use another file name it works.... Really strange but it
's maybe a new security issue.
Thanks for your answers,