Hi CainZ,
I had the same issue, I’ve got confirmation from OL/Upland support that it is not possible to place a barcode here outside the printable area at this point.
I have solved it by changing the page format in the template, skip the crop marks, and make sure no data will be at the edges. Place the barcode (now at the edge, which is now printable area) and trim it away later.
Other solution if you don’t need the metadata for your barcode is to run it twise though connect.
First for the normal output without the barcode, and later only to place the barcode, but this take twice as long, and i see in your code you need metadata inside your barcode.
Sorry no easy solution here.
Kind regards,
Dennis Kleijne