A device for prebaking an alignment film by using a temperature-controllable pin to support a substrate comprising a heater that prebakes a substrate from an underside of the substrate, a plurality of temperature-controllable pins for upward supporting the substrate, and a temperature control system, the temperature-controllable pins being coupled to the temperature control system, each of the temperature-controllable pins being independently controlled of temperature thereof by the temperature control system so as to uniformly heat a site of the substrate that is supported by the temperature-controllable pin and a periphery of the supported site.