Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have developed a windows application for a mobile shop for maintaining sales record ...but i am stuck at the point to print the data from the access database for receipt printing as i have no idea of printing plse can anyone help me give a basic idea of printing the required format for my receipt.I need a base it would be good if i use dot matrix...


                                 PROYOJONI COMMERCIAL
                           U K Dutta Sarani (Near BATA)
                            Shillongpatty, Silchar, Assam
                       Contact No : 03842 - 264081 / 264081
                         Mobile : 09707018060 / 8876518060
                           Website : www.projojini.com
                                    CASH BILL
   Name : SANJIT
 Address : Silchar
                                                                           Date : 09/03/2013
                                      RETAIL INVOICE
                                                                              BILL No : 1013
--------------------------------------------------------------------------------------------------------------------------------
          Particulars         EMEI No.            Battery No.      Charger No.        Amount.
--------------------------------------------------------------------------------------------------------------------------------
           NOKIA 2690       1234567892251           123456            123456           7125
                                                                           VAT @ 5% Rs. 375
--------------------------------------------------------------------------------------------------------------------------------
                                                                           Total Rs. : 7500
--------------------------------------------------------------------------------------------------------------------------------
                                Terms & Conditiond of Sale
    1) The Customer has Satisfied himself by the quantity and quality of good supplied through
    this invoice. Our responsibility creases upon delivery of the same from the shop.
    2) Good once sold will not be taken back or exchanged
    3) All disputes are subject to Silchar Jurisdiction only.
    4) The Warranty / Guarantee is given by the company and not by PROYOJONI Commercials.
                                       
                                        E.&.O.E
  I / We hereby confirm that my / registration certificate under the Assam VAT, 2003 in force
  on the date on which the sale of the goods specified in this retail invoice is made be me / us
  and that the transactions of the sale covered by this retail invoice has been effected by me /     us.
                                                                               Signature
Posted
v3
Comments
Nelek 17-Mar-13 5:58am    
Can you please use the "improve question" widget to add a snippet of code where you are having problems? It will make it easier to spot the error.
Maciej Los 18-Mar-13 5:33am    
What have you done till now?
[no name] 19-Mar-13 11:24am    
Updating your question to include completely irrelevant text does not in any way demonstrate what it is that you have tried.

1 solution

If you want to do it in C#, then start by looking at using the PrintDocument Class[^] - the link includes an example.
 
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