How to set margins when printing Xcode source code?

screen print

I cannot determine how to set margins when printing Xcode source. Xcode sets a good top margin but prints to the absolute bottom of the page. The printer then drops the last line when printing. One would think the presets in the Print popup would have a margin setting but I am missing it if it exists.

Any thoughts?