C# .NET - Printing
on 20-May-12 10:40 AM
I am fresher, and I have making billing application, but i don't know how to write the code for Bill of printing. So plz best reply to me and send a best example.
on 20-May-12 01:31 PM
Use below referance for getting discussion of the pos billing printing.
on 20-May-12 01:38 PM
One way is to use report designer's such as
You should build the custom views/reports using the designer and then print them.
Read more on how to print from MSDN article that talks about the "
Also, note that there is the PrintPageEventHandler which allows you to custom write Images or sections of text during print. Look for detailed sample on the internet. Here is a brief sample I have.
//invoke the print document's print method.
PrintDocument pd = new PrintDocument();
pd.PrintPage += new PrintPageEventHandler(pd_PrintPage);
//the print page event handler.
image file path
Hope this helps.
on 21-May-12 12:22 AM
on 29-May-12 12:37 AM
If you are using crystal report to display report then you can simply use PrintToPrinter() method.
crReportDocument.PrintOptions.PrinterName = PrinterName;
crReportDocument.PrintToPrinter(1, false, 0, 0);
TRy this and let me know.