PHP5000 Posted 5 hours ago Share Posted 5 hours ago Hello everybody. What I am trying to do is add a button on a web page that clicking on it will send 3 lines of text (an address) directly to an assigned printer that prints labels. I recall from old days of using VB this was an easy task with that language. However I can not find any information about PHP or JS to do the same thing. Any ideas or examples would be highly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/325582-printing-shipping-labels-directly/ Share on other sites More sharing options...
requinix Posted 4 hours ago Share Posted 4 hours ago Where is the printer? Is it connected to the client or to the server? If it's connected to the client then the only thing you can do is present a print dialog. The user will have to choose the printer (potentially) and hit the button to print. If it's connected to the server then you can use a library to have PHP print the page. The details of that depend on what you're printing... Quote Link to comment https://forums.phpfreaks.com/topic/325582-printing-shipping-labels-directly/#findComment-1641045 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.