Optical alignment between components in a head of a laser scanner is maintained in the event of external shock. Optical and scanning component assemblies are shock-mounted near their respective centers of mass. A flexible, printed circuit board on which the assemblies are mounted serves as an alignment fixture.