A laser system for ophthalmic surgery includes a laser engine to generate a pulsed laser beam, and an XY scanner, to receive the generated pulsed laser beam, and to output a scanning laser beam, the XY scanner including an X scanner, including two X scanning mirrors, and a Y scanner, including two Y scanning mirrors. The XY scanner can modify essentially independently an angle the outputted scanning laser beam makes with an optical axis, and a position at which the outputted scanning laser beam intersects a subsequent reference plane perpendicular to the optical axis.