TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ullas K
NA
55
0
Printing datagridview contents as a bill using dotmatrix printer
Feb 28 2012 3:06 AM
Hi,
I am developing a windows application project for a
super market
.Now i want to create a
sales bill
.I have a
datagridview
with header columns ITEM NAME,QTY,RATE,AMOUNT etc... I can enter the item name ,qty rate and mount on the gridview.Now what i want is to print these contents on the gridview through a dotmatrix printer to make printing faster.The bill format which i expect to be printed out is should be like what i have shown below
ABC SUPERMARKET
No/10,Ammankovil street
Chennai
-------------------------------------------------------------------------------------------------------------------------------------------
Bill NO : 1 Date: 12/12/2012
-------------------------------------------------------------------------------------------------------------------------------------------
Sl.No Item Name Qty Rate Amount
-------------------------------------------------------------------------------------------------------------------------------------------
1 xyz 2 120.00 240.00
2 abc 1 500.00 500.00
3 asd 3 100.00 300.00
-------------------------------------------------------------------------------------------------------------------------------------------
Total : 1040.00
Please provide me the code to do this.
I do not want a printdialog
to appear first and then go for printing as this will be tedious process in a crowdy supermarket where continous bill printing is to be made
Thanks in advance
Ullas
Reply
Answers (
2
)
ASP.NET Library for C#, and VB.NET to convert HTML / HTML5, CSS3, Canvas, JavaScript To: PDF, SVG, Image and fully manage PDF Forms and Docs
Print current webpage by ActiveX .NET ( System.Drawing.Printing Namespace )