My PDF has a custom paper format of 170mm:240mm and is intended for print publishing in that size. At home, I can only print on A4 paper. How do I print the PDF in such a way that
- the content is printed in original size (not scaled up/down) and
- the borders of the intended paper size are visible (e.g. black lines around the 170mm:240mm within the A4 sheet that comes out of the printer)?
This is needed because I have to manually adjust the margins, and seeing the margins on paper is better for me than seeing the file on screen. I use evince to print the file, but am not limited to that. A command line solution would be appreciated.
I intend to make adaptions quickly: print, maybe cut the intended page out of the A4 sheet, change margins in in source, recompile, repeat. In this workflow, adding a border using gimp is not a good solution.
The document is created in LaTeX, and it’s probably possible to create the borders in LaTeX, but I would prefer a command line solution that doesn’t mess with the soure. If this isn’t possible, I’ll head over to tex.sx.