Ok here is the problem. Possibly the weirdest error I have ever come across.
I have a template file with various custom layouts in it. When a drawing is created we import the layout into the drawing. everything looks fine untill you go to print.
When printing, the paper space objects won't print if there is a view port in the drawing, so you only get what is inside the viewport. And contrarily if you delete the view port you can now print the paper space objects. I attached some pics.
The only other clue I can say, is that when switching to the layout space there is a read out on the command line that says
** Undefined block #-1
any clues anybody?