Print table data using JSON

Asked

Viewed 141 times

0

Good morning to you all! Guys, I am in the following difficulty: In my web system I have a table, where I will print it on a printer not tax ending. It is working perfectly in Computers and Notebooks. In tablets and Smartphones UNICA function that does not work is the printing. The function works on certain devices and brands and versions of android, and when it works, print only once. In research, I came across a tip from a colleague guiding me to make this impression via JSON on mobile, but I’m super lost. I’ve had a look around here, but there’s no way in my mind to do it. I would like, if possible, if someone could give me a hand in this, I would very much appreciate.

  • "Print data from a table using JSON, "you mean on the screen?

  • No @rray, I speak on a sheet even, using non fiscal thermal printer.

  • About the commented json, I understood that your colleague spoke, access the system by mobile take the information of json and print the sheet using mobile, because php is a side server language or it is not able/should access local resources (printer). Now I believe it is possible to configure a printer on the phone, of course it depends on the type of port(usb, serial etc) that it uses.

  • That’s the big question @rray. What happens is this: I have the DPP-350BT portable printer (Bluetooth connection), which is easily installed. The point is that on some devices, the "print" option appears in mobile browsers, and on others not, and on the ones that appear, only work

  • Who show, this printed bluetooth :D. If you can do the test with cell phones of different brands the result may vary.

  • That printer is very massive! D

  • There you see, I tested in Motorola, Asus, Samsung and the results varied a lot. It can probably be a question of compatibility than of code, because if it was code, it would not work at all, do you agree? @rray?

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.