Around 30 firefighters took part in the training exercise at the DC Thomson printworks.