Last post Sep 13, 2013 11:33 AM by Neodynamic
Sep 13, 2013 03:47 AM|abfrank|LINK
Am new on working with pos, i want to write an asp.net c# application that will automatically send and print bank transaction detail on
EPSON-TM-T88V reciept print. I will appriciate if any body can help me with any tutorial on asp.net c# post. I need to know the drivers to install, and how to go about writing the
Sep 13, 2013 08:31 AM|Neodynamic|LINK
the printer is attached to the server where you host your asp.net website OR it's attached to a client machine which access to your website?
- For Printer attached to server: in this case you can use this code from support.microsoft.com/kb/322091 to send ESC/POS commands directly to the printer. You can install the Generic / Text Only
driver that comes with Windows and use this printer name with that code
- Now if printer is attached to a client machine and you want to print to it from your asp.net website, then you have to go for another solution:
Sep 13, 2013 10:09 AM|abfrank|LINK
Thanks for the reply but i dont understand using jZebra because i want print dynamic texts that i generated from c# code, i want to know i cant combine jZebra with c# code. the printer is attached to a client computer. Thanks
Sep 13, 2013 10:24 AM|Neodynamic|LINK
If you want fast printing, forget using System.Drawing! Just learn ESC/POS commands and create them based on what you want to print and pass it to jZebra or WebClientPrint to get it directly to the printer. If you use System.Drawing, you'll have to create
an IMAGE file of what you want to print and pass it again to both products BUT printing performance will be terrible.
Sep 13, 2013 11:00 AM|abfrank|LINK
Again i want to know if i can use your code on window 7?
Sep 13, 2013 11:04 AM|Neodynamic|LINK
I do not understand your question, sorry. Do you mean if you can use our code in a client who has Win7? if yes, then the answer is yes; otherwise please clarify a bit. thanks,
Sep 13, 2013 11:18 AM|abfrank|LINK
am testing the code on window 7 which am using as the server, will the code work?
Sep 13, 2013 11:22 AM|abfrank|LINK
am testing the code on window 7 which am using as the server, will the code work? and want print texts dynamically generated in code not from external file or i can include text generated from c# to the file.
Sep 13, 2013 11:33 AM|Neodynamic|LINK
yes you can use Windows 7 as a test server and there is no need to generate any text file on disk. With WebClientPrint you can specify the printer commands as a string or byte array