I inject js to pdf file.
(After the pdf opened)Execute the codes, print dialog will display. And eveything is OK.
If add a statement like below:
pp.printerName='Microsoft XPS Document Writer';
Execute the codes, print dialog will display.Setting printerName is success. But the preview is blank.
Are my codes right?
Is it a bug?
Is there a solution to avoid it?
What should I do?
Can anybody help me?
OS: Win XP En
Reader: 9.4.1 En
ps: I have tried this on Reader 8. The problem is more serious. It will always pop error boxes after I open the pdf file.