NOVELTY - System comprises first forming machine (1), second forming machine (2), n forming machine (3), a first discharge pipeline (4), a second discharge pipeline (5), n discharge pipeline (6), a main discharge pipeline (7), a mixed gas pipeline (8), heat supply boiler (9), a dust removing device (10), a quantitative feeding machine (14), a spiral conveying machine (15), drying the grain feeding port (16), drying granulating device (17), a dry granulating device air outlet (18), a chimney (23), dry grain discharging device (24), conveyor (25), and a sludge finished product library (26).    USE - As system treating printing and dyeing sludge by using waste heat, waste gas, and flue gas (claimed).    ADVANTAGE - The method recycles the printing and dyeing sludge without consuming new energy.    DETAILED DESCRIPTION - System comprises first forming machine (1), second forming machine (2), n forming machine (3), a first discharge pipeline (4), a second discharge pipeline (5), n discharge pipeline (6), a main discharge pipeline (7), a mixed gas pipeline (8), heat supply boiler (9), a dust removing device (10), discharge flue (11), an electric gate valve (12), drying granulating device air inlet (13), a quantitative feeding machine (14), a spiral conveying machine (15), drying the grain feeding port (16), drying granulating device (17), a dry granulating device air outlet (18), a first pipeline (19), a draught fan (20), a desulfurizing device (21), a second pipeline (22), a chimney (23), dry grain discharging device (24), conveyor (25), and a sludge finished product library (26). The first forming machine (1) through first discharge pipeline (4), the second shaping machine (2) through a second discharge pipeline (5), n forming machine (3) through the n a discharge pipeline (6) are connected to main discharge pipeline (7). The main discharge pipeline (7) is connected to gas pipeline (8). The mixed gas pipeline (8) through the drying granulating device air inlet (13) is connected to drying granulating device (17). The quantitative feeding machine (14) through the spiral conveying machine (15) is feed particles. An INDEPENDENT CLAIM is included for treating waste gas, flue gas and printing and dyeing sludge involving feeding printing and dyeing sludge having 78-85% water content through quantitative feeding machine and spiral conveying machine, granulating the dry sludge, heat treating by using exhaust hot waste gas, sending concentrated hot exhaust gas and heat discharged to a special sludge drying granulating device, drying by water evaporation at the same time, forming grain diameter a of fiber and oil fog in a of 1-5 mm, and the absorbing the waste gas, and heating in a boiler, drying in sludge, concentrating sulfur dioxide pollutant.    DESCRIPTION OF DRAWING(S) - The figure shows view of printing and dyeing sludge.    First forming machine (1)    Second forming machine (2)    First discharge pipeline (4)    Second discharge pipeline (5)    Main discharge pipeline (6)