It looks to me that it is the border of the drawing placed on the layout.
Is it possible that you have the 'printable border' turned on in the drawing settings, but that the pen is the same coluor (white) as the page background.
Therefore you can't see it in the layouts but it is trying to print?
Just a guess.
One of the forum moderators. Versions 6.5 to 27 Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10 Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11