Integration with POS

Hi community,

I created a custom button called Print to POS in SalesInvoice. when i click this button from client machine, it should collect some information from the invoice (like customer name, address, Tin no, Item code, Item name, Quantity,price, discount, vat etc) and write it to a text file on a client machine let say to a destination D:\POSfolder\posfile.txt.
can any one help me in creating this custom script.
Thanks in Advance



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/e3f86b96-afc2-400f-8df3-a75597c6ee49%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.