The invention discloses an anti-cancer drug prepared by using a 3D printing technology, and a method. The method comprises: uniformly mixing an anti-cancer drug, a high polymer material, and a drug excipient, extruding obtained mixture through an extruding machine, to obtain a wire rod containing drug; using computer design software to design a structure model of the anti-cancer drug, storing the structure model in a file format which can be identified by a 3D printer, importing the file into the 3D printer, using hierarchical software to perform hierarchical processing; respectively importing the high polymer material and the obtained wire rod containing drug into the 3D printer, selecting the drug structure model, setting printing precision, velocity, and temperature, to obtain the 3D printed anti-cancer drug. The method is characterized in that the method is convenient and fast and is simple in operation, and the size and shape of a tablet can be designed according to variation of weather and climate. The method can make tablets in different sizes and shapes, and utilization rate of the drug can be effectively improved.