Click here to Skip to main content
15,510,771 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all, m getting a problem of receipt printing..i want to print the
receipt as soon as i save the data of sale..how it can be done please help me anyone.. [removed email] mahdi kamal.banglore
Posted
Updated 23-Jun-11 8:28am
v2
Comments
Sergey Alexandrovich Kryukov 23-Jun-11 12:04pm    
Tag it: WPF, Forms, ASP.NET, what?!
--SA
[no name] 23-Jun-11 14:57pm    
More information is needed. Are you getting error messages? What language (VB.NET, C#)? What about "receipt printing" is not working?
Ramanujam Shankar 24-Jun-11 9:23am    
First you have to confirm in which tool used to generate the report like Excel, Crystal Report, word....

Please always include complete details in your question otherwise you can't get solutions quickly.

Here you go
How to Print Receipt by POS Printer using VB.Net[^]
It has written for the printer EPSON TM-T88IVP but mostly it's ok for most of other POS printers.

More information about the escape sequences used in POS printer
PosPrinter Class[^]
Other useful link regarding the printing raw data in printer
How to send raw data to a printer by using Visual Basic .NET[^]
 
Share this answer
 
You have not provided any details - what kind of printer, any error messages etc.

However, you might want to have a look at the POSPrinter class[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900