Shrink background data pdf to apply OMR

In a recent PlanetPress Production POC, I took a customer’s invoice and statements (in PDF) and used them directly as a background data (ie opened the pdf in the Sample Data pane and then ‘set to background’.
This pasted the image on the designer page and I was then able to shrink the page slightly (as a percentage of the original size) to increase the left margin and make room for an OMR code.

In Connect, I can also use the same pdf as a background via Properties for a Section in a Print Context, but I can’t see how to ‘shrink’ it down in the same way.

Can anyone suggest how to do this in PP Connect? (preferably in Designer or the Data Mapper)

thanks

Hello Ron,

Add the following to the context_print_styles.css file (or a custom stylesheet file):

.page_mediabox img {
    transform: scale(0.75,.75);
}

You can combine multiple transforms like this:

.page_mediabox img {
    transform: scale(0.75,.75) rotate(15deg) translate(1in,1in);
}

Hope this helps,

Erik