Forum How do I...?

total page count

jim_albright
In an older version of Prince I could get this diagnostic.

Wed Oct 21 14:20:36 2009: stats: total_page_count: 2


How would I do that now? It was part of the log file.

Jim Albright
Wycliffe Bible Translators

Edited by jim_albright

jim_albright
It was part of the log file.

Jim Albright
Wycliffe Bible Translators

jim_albright
found answer:

Use js.

function logPageCount()
{
Log.data("total-page-count", Prince.pageCount); }

Prince.addEventListener("complete", logPageCount, false);


Jim Albright
Wycliffe Bible Translators

mikeday
Yes that's it. :)