A screenshot won't actually show what the monitor is displaying, rather, what the graphics card is telling it to display. If, therefore, the lines are there on the screen, but not in the screenshot, the monitor is faulty. OTOH, if it's there on both, it's the card or driver. If the machine shares main memory with graphics - only likely on a notebook normally - you'd have to check memory as well.