Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#2.0
Hello, I need to print invoice (bill) and on the top of bill is some data (time, date, name, bill number etc.) below is content of datagridview, and below is again some data, again some bill number etc. I don't know should I print this as CrystalReport or as bitmap. If I print as bitmap then I have problem because datagridview can have one row but sometimes can have more then one lines. Any halp-suggestion how to print bill in C#.NET.
Thanks & Regards
Posted 3-Jan-13 3:53am
Dinoni460
Edited 3-Jan-13 4:04am
Keith Barrow149.7K
v2
Comments
URVISHSUTHAR at 3-Jan-13 9:01am
   
hay Dinoni, are you doing web or win app?
Dinoni at 3-Jan-13 13:23pm
   
OK, first thing first. My application is windows application. I have read that is possible to make invoice via .pdf file and then print pdf file as bill.
So, I would like to make bill like in market.
Any help.
Keith Barrow at 3-Jan-13 9:06am
   
Off topic: I removed the formatting from your question, it was making it harder to read. More importantly, I removed your e-mail address from the question. *Never* put your e-mail onto an open forum like this. There are dedicated robots that scan web-pages for e-mail addresses, which are then sent tonnes of spam.
Mickt1985 at 3-Jan-13 9:10am
   
Hey I am using a utility called PDF Sharp it is very usefull and easy to create PDF's. I have been using it to generate bills and statements that look pretty cool too.
URVISHSUTHAR at 3-Jan-13 9:11am
   
yeah, very true
Keith Barrow at 3-Jan-13 9:13am
   
On topic: Crystal reports can be made to do this. I've not used them like this, but generating bitmaps seem more likely to encounter maintainability problems. Crystal Reports isn't available in later version of the framework and isn't so future-proof, so you might consider MS Reporting services (which is available for in to SQL server 2000 onwards) which is equivalent-ish to Crystal Reports.
If you are using a non-web app, there are other options available too.
Dinoni at 3-Jan-13 13:28pm
   
I use MS STUDIO 2005 and MS SQL SERVER 2000. Any suggestion.
Dinoni at 3-Jan-13 13:23pm
   
OK, first thing first. My application is windows application. I have read that is possible to make invoice via .pdf file and then print pdf file as bill.
So, I would like to make bill like in market.
Any help.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can use crystal report and it directly print your invoice or you can export it in PDF or etc..
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 330
1 Sergey Alexandrovich Kryukov 279
2 BillWoodruff 245
3 Afzaal Ahmad Zeeshan 215
4 CPallini 205
0 OriginalGriff 5,635
1 DamithSL 4,496
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100