Render HTML as an Image

前端 未结 9 2113
遥遥无期
遥遥无期 2020-11-27 18:19

I\'m generating a coupon based on dynamic input and a cropped image, and I\'m displaying the coupon using ntml and css right now, the problem is, printing this has become an

9条回答
  •  旧巷少年郎
    2020-11-27 18:34

    Unless the "other problems" are pretty severe, couldn't you just instruct your users to turn on Background Images when printing?

    In any case, I'd default to serving a PDF rather than an image, doubly so since it is intended for print.

提交回复
热议问题