How to “print” to a paper in PHP?

后端 未结 5 1674
难免孤独
难免孤独 2021-01-14 03:17

What I mean is, lets say I have a content:

\"Stackoverflow is the best, bla bla bla...\"

I want to print the content in a paper, not computer monitor, how to

5条回答
  •  悲&欢浪女
    2021-01-14 03:53

    Those CMS are probably just calling the JavaScript method window.print to pop up the print dialog:

    print this document
    

    The rest is then handled by the browser and operating system.

提交回复
热议问题