Printing shows Viewport outline

I have a drawing sheet containing multiple viewports.

When I print to PDF the border of the viewports is shown on the drawing.

How are these removed from print?