BarbaraFuhrmann
Programmer
Hi,
I'm a real JavaScript newbie and I'm sure that one of you can easily answer the following:
I created an PrintCurrentPage button in Adobe Acrobat Standard Edition with the ARTS Aerialist add on using the following JavaScript:
printCurrentPage();
function printCurrentPage()
{
/* Print Current Page */
var iCurrentPage = this.pageNum;
this.print({bUI: false, nStart: iCurrentPage, nEnd: iCurrentPage});
}
It's working fine but in some documents the printed page does not contain ALL I can see at the page in the PDF. Some parts close to the borders are missing.
When I use the print dialog I have the option "Page adjustment" (or similar, I don't know it exactly because I'm working with german versions of the software) set to "Adjust to page margins" activated. Is it possible to integrate this in the script? How?
Thank you!
Barbara
I'm a real JavaScript newbie and I'm sure that one of you can easily answer the following:
I created an PrintCurrentPage button in Adobe Acrobat Standard Edition with the ARTS Aerialist add on using the following JavaScript:
printCurrentPage();
function printCurrentPage()
{
/* Print Current Page */
var iCurrentPage = this.pageNum;
this.print({bUI: false, nStart: iCurrentPage, nEnd: iCurrentPage});
}
It's working fine but in some documents the printed page does not contain ALL I can see at the page in the PDF. Some parts close to the borders are missing.
When I use the print dialog I have the option "Page adjustment" (or similar, I don't know it exactly because I'm working with german versions of the software) set to "Adjust to page margins" activated. Is it possible to integrate this in the script? How?
Thank you!
Barbara