Custom printer based on PHP, ImageMagick and CSS