The end stops are how the printer knows where it is. They are little switches that get pushed whenever an axis moves to the end. This is how the printer finds it’s starting point before printing. Most printers use mechanical switches, but some are known to use optical sensors.