How do I open another file and print it?
Hi. I've tried to work this out but I'm stuck
I have a menu.PDF that has several buttons on it. When you press on a button, it executes a javascript that opens a few PDFs and prints them.
| var otherDoc = app.openDoc("Form.pdf", this); |
| var pp = this.getPrintParams(); |
this.print(pp);
Issues :
1. On my mac I am only able to open the file if I use a relative path. Using /Users/xfolder/Desktop/OMR/Form.pdf doesn't work
2. It prints the menu.pdf, not the file that opens
Could you please tell me what I'm doing wrong? Thanks very much
