It can be considered a bug, it should be the same for all strategies. For now, just change the function like this for in-process
function afterRender(req, res, done) {
var originalString = res.content.toString('binary')
var replacedString = originalString.replace('/Pages 2 0 R', PRINT_CODE)
res.content = new Buffer(replacedString, 'binary')
done()
}
Thank you for the link, there is a url to official adobe js reference with 800 pages, it will be nice reading. I hope it can dramatically change the jsreport options and power.