Javascript printing on mobile devices(ios)

前端 未结 1 922
再見小時候
再見小時候 2021-01-23 07:22

I have to add Print button to my site. I used tyical window.print() solution.

But this method doesn\'t work in chrome and atomic browser on ios7 bu

1条回答
  •  野的像风
    2021-01-23 07:25

    Check this out: http://www.printfriendly.com/browser_tool

    You can integrate their javascript to your web page so that your users can either print directly or print as a pdf. IMHO the window.print() is useless on an iPad or iPhone unless you have a wireless printer nearby. Most of the cases you wont have one nearby. The option above is promising because i can save it to iBooks or Adobe Reader and later print or send it as an email - That's usable.

    0 讨论(0)
提交回复
热议问题