The invention relates to a 3D printer with an adjusting function. The 3D printer comprises a host, a printing platform, a lifting plate, a planer moving device, a translation plate, a discharging device, a material box, a material
pipe, a top plate and four lifting mechanisms; the discharging device comprises a heating
pipe, a connecting
pipe, a connecting block and a discharging mechanism; a heating plate and a speed regulating mechanism are arranged in the heating pipe; the speed regulating mechanism comprises a turntable, a support component, a first motor, a driving block, a speed regulating
assembly, a rotating shaft and a sleeve; the discharging mechanism comprises a
sprayer, a first cylinder, a second cylinder and a translation component; an adjusting block and a vertical rod are arranged in the
sprayer. The 3D printer with the adjusting function is capable of accurately controlling the
moving speed of the heating plate by the speed governing device according to the accuracy requirement of print positions, so that the printing efficiency can be guaranteed and the printing precision can be promoted. Meanwhile, the size of the gap of the opening of the
sprayer can be adjustedby the discharging mechanism, so that the discharging speed can be adjusted according to the printing requirement and the practicality of the device is improved.