Printing and header/footer control

I know this has been dealt with before, but I can’t seem to locate the specific details.The issue is simple —

I want to do an ole automation of printing via the LN client.

AND …

with that a removal of any header/footer info that LN adds.

TIA,

Collin