In a web application I want to print a receipt using a POS (Point of Sale) Printer. I want to do that with Javascript. Can anyone provide me an example for that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m going out on a limb here , since your question was not very detailed, that
a) your receipt printer is a thermal printer that needs raw data,
b) that “from javascript” you are talking about printing from the web browser and
c) that you do not have access to send raw data from browser
Here is a Java Applet that solves all that for you , if I’m correct about those assumptions then you need either Java, Flash, or Silverlight
http://code.google.com/p/jzebra/