Devices for treating the surfaces of sheets, webs, or other articles in connection with printing by heat drying, by cooling, by applying powders