![](https://uchapter2.com/wp-content/uploads/buddypress/groups/10/cover-image/606bd87d0ce9c-bp-cover-image.jpg)
![Group logo of JavaScript](https://uchapter2.com/wp-content/uploads/group-avatars/10/606bd862ce578-bpfull.jpg)
JavaScript
This group is focused on customization specifically using JavaScript. If you have cool tools and want... View more
Profile Script: Process for reporting
-
Profile Script: Process for reporting
Currently building an app level script that will carry with the profile. Currently, to build our final report, we run the mechanical prints through a process that flattens, reduces page size, inserts headers and footers, then reduces file size. Since Revu does not have an API function that modifies Page setup, I am using a workaround where I print to PDF. The problem is getting it to save over the original file without any input, so basically I would have to call the current file name and store it to use for the printToFile() function. Even then I can’t be sure this will work as intended. Anyone know a way to do this with the script manager?
Let me know if there is a better way to set up the page as well, maybe I missed something here.
Log in to reply.