The cartoon was first printed in a Danish newspaper and then reprinted in a number of European cities .