I'm working on Laravel oneline based pos system, my system will be hosted in web server and by typing site url end user/client system access our POS from their own pc. Now want to print the order receipt in client thermal printer. How an I do that? Any guideline will be taken positively. Thnaks in advance.
just connect the thermal printer with the expected Computer from where you want to print.
And write code for print <br>
window.print()
alter you may use the Keyboard shortcut CTRL+P for the print invoice.
Related
I'm using IFTTT to send a Google Assistant message to my Windows application via Drop Box. If I say "[keyword] [message]" (for example: "Computer: Play Game of Thrones Season 2 Episode 4") IFTTT will write the text translation of [message] to a file on drop box that my application monitors and from there I can read the [message] and act on it.
What I would like to be able to do is send a reply back to the device that sent the message... For example if I tell my phone to have my computer start a movie on my computer and for whatever reason my app can't find the movie I want to be able to communicate that back to the device that originally sent the message, whether that be my cell phone or tablet or Google Home smart speaker.
I know there is probably no official way to do this but i'm looking for creative solutions (like the one I use to get the message in the first place)... anything at all that works even if it involves multiple third-party services.
There's no good way to send back an acknowledgement through the IFTTT integration. You'd need to build your own Action which would use something like push notifications to communicate between your local device and a cloud-based webhook.
I have a point of sale application which is developed using a code igniter frame work,which works only in chrome browser, I have two buttons in my application
send to kitchen
pay BILL
when I click sent to kitchen button a print should be come in printer which is kept in kitchen,
when I click pay BILL a bill should be come from the printer which is kept in cashier table.
I will be OK to do this with any libraries or google chrome API's
you can do this by sending a text file (most POS printer support text file printing) to the attached network printers (IP address and port).
you can use exec() function of PHP for that.
go through the thread below for the clue
printing over network from PHP app
Register custom app as default for handling sms sending and receveing in windows phone
This is not possible with the current Windows Phone SDK. You can vote on the official Windows Phone Dev Feedback to indicate your interest in an SMS Access API.
The only thing you can do with the current SDK is launch the default SMS app with a predefined number and text:
SmsComposeTask smsComposeTask = new SmsComposeTask();
smsComposeTask.To = "2065550123";
smsComposeTask.Body = "Your text";
smsComposeTask.Show();
You can send SMS using the above mentioned method.But you cannot receive SMS in windows phone.
It is possible only in Windows Mobile platforms.
As far as I am aware, you cannot change the default apps in Windows Phone.
And addition. You'r program is being run in a sandbox - closed space for you'r application only. That means you cannot run/modify etc other 3 party programms. Only the default programs like Calculator and etc. are awailable
Is there an api in mango sdk that allows me to programatically poll the notifications/toast to at least get the count. I'd like to write background service check for missed messages.
It's not possible to get hold of the email/SMS messaging details like this in Windows Phone. The only way to interact with the email client is via the SDK Launchers and Choosers: see this link on MSDN.
About all you can do is call the EmailComposeTask or SmsComposeTask for writing a plain text email or SMS, or EmailAddressChooserTask for getting an email address from the address book.
Also bear in mind that launchers and choosers must be initiated by a user action and cannot be launched from any background agent code.
I want to have a mobile number validate for my site not just string validations ..what i need is to actually validate the mobile number with the same user exists..
one option i know is to send a pin to that mobile number & ask user to put that pin on form submit to validate ...so are there any ready to use services for this to use it on my website or what i have to do for this ...
Also tell if you know any other options available
You could use http://www.twilio.com/ to call the number and have the person respond (press 1 for ok, 0 for not ok) to your call.
But note that calling the number would work if the number was either a land-line or mobile. If you want to make sure that the number is mobile, then SMS is a good idea.
Twilio has an SMS api too.
you can use this service that give you web service that you can use to validate mobile number in any country http://www.data-8.co.uk/integr8/services/mobile_validation.aspx#Demo
Some push agregattors have APIs for HLR-look up, then you could know if number is right and it is active or off, etc.
If it's not super important that someone can fake their confirmation, then you could look at some of the headers received from the network operator containing the user's number: Can a mobile web application access the devices phone number?