How does a Line Driver actually works?
A line driver is simply a buffer. What you put in one end comes out the other. However, it is typically able to sink and source much more current than, say, a normal GPIO pin on an MCU.

The increased current is able to overcome the capacitance caused by having many devices on a bus.

You can think of it as the logic gate equivalent of an amplifier.