A hydraulic press uses a hydraulic cylinder to generate force, while a mechanical press uses a mechanical system to transfer energy to the shaft connected to the slide table.