Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am using crystal report for printing. but in dot matrix printer page feed down doesn't working. it's taking more white space in head part while printing.

What I have tried:

objRpt.PrintOptions.PaperSource = CrystalDecisions.Shared.PaperSource.Lower;
objRpt.PrintOptions.PrinterName = PPrinterName;
objRpt.PrintToPrinter(1, true, 0, 15);
crystalReportViewer1.Refresh();
Posted
Updated 26-Oct-19 9:34am
Comments
Richard MacCutchan 26-Oct-19 6:40am    
Check the printer settings, and options.

1 solution

Search the internet and try to find a manual for the printer describing the printer command codes and implement these in your code.
If you are using an old printer with a newer Windows version like Windows 10, the printer will probably not be supported anymore.
Also see: Dot matrix printer on crystal report in c#[^]
 
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