1
Good morning! I am about to start a new PHP project and soon in the requirements document, I saw that one of the steps of a cycle of activities is to set the printer to which the client (mobile device) will make impressions.
As far as I can tell, PHP, being a language that runs on the server side, does not have access to client settings. And that could make impression, but only to the printer already connected to the device.
I mentioned this to the project manager and said it would not be possible to do (at least not with PHP). Even explaining what was written here, the same insisted yes, that I can do and asked me to investigate further.
Does anyone know if that’s a possibility? Thanks in advance.
Although your question is slightly outside the scope of the site or even insufficient examples. But I’ve seen system that uses a "service" installed on the client machine where the printer is, configures the printer in it, creating a "printing point", and then it’s only your application that directs to the IP that this service is. Or if you already have an IP printer, then make the request directly. (This is what I’ve seen, it would be good to search more)
– rbz
No, PHP is wrong for almost every application that people are trying to make with it, it’s meant to make websites, nothing else. You can do tricks, but not like PHP (you can even do with PHP, but then the gambiarra would be huge because you would have to install PHP on the machine, and it’s precisely because you don’t have to install anything that people do web.
– Maniero
Does your project manager not confuse php with Pearl?
– Augusto Vasques
Yeah, @Augustovasques. You can tell he doesn’t have much sense of what you can do with PHP.
– Thiago Maciel