printing smart generation