Regarding printtodotmatrix
-
- Posts: 70
- Joined: Wed Feb 24, 2010 11:08 am
- Location: India
Regarding printtodotmatrix
Hi
There has been considerable improvement in printing to dotmatrix but I faced three problems while using printtodotmatrix.
1. Windows print dialog is opened even if i use report.printtodotmatrix(false)
2. Paper is not advanced to tear line after printing is complete. Paper has to be advanced manually to tear it.
3. position of few components changes while printing i.e. the layout is different from what is shown in the designer.
I am using Epson FX-890 printer on Windows 7 ultimate edition with stimulsoft 2011.2.1006 of 18.5.2011, .net framework 4.0.30319.
Regards !!
There has been considerable improvement in printing to dotmatrix but I faced three problems while using printtodotmatrix.
1. Windows print dialog is opened even if i use report.printtodotmatrix(false)
2. Paper is not advanced to tear line after printing is complete. Paper has to be advanced manually to tear it.
3. position of few components changes while printing i.e. the layout is different from what is shown in the designer.
I am using Epson FX-890 printer on Windows 7 ultimate edition with stimulsoft 2011.2.1006 of 18.5.2011, .net framework 4.0.30319.
Regards !!
Regarding printtodotmatrix
Hello,
In your case, please try to use the following property:
Please use the DotMatrix viewer to preview the report before printing it on dot matrix printer.
Thank you.
The StiReport class do not have the printtodotmatrix() method, only PrintToDotMatrixPrinter() method (but does not have method overloads that take a value boolean).naveenagg wrote:1. Windows print dialog is opened even if i use report.printtodotmatrix(false)
In your case, please try to use the following property:
Code: Select all
yourReport.PrinterSettings.ShowDialog = false;
Please increase the paper height in the page setup, or insert the FormFeed symbol in the end of the report.naveenagg wrote:2. Paper is not advanced to tear line after printing is complete. Paper has to be advanced manually to tear it.
Dot-matrix printer is used to print only the text and characters of pseudographics. Therefore it is impossible to maintain an accurate layout of the report.naveenagg wrote:3. position of few components changes while printing i.e. the layout is different from what is shown in the designer.
Please use the DotMatrix viewer to preview the report before printing it on dot matrix printer.
Thank you.
-
- Posts: 70
- Joined: Wed Feb 24, 2010 11:08 am
- Location: India
Regarding printtodotmatrix
Thanks a lot for your reply sir !!
I was referring to printotdotmatrixprinter only. Sorry for the typographical error.
Kindly let me know how can i include FormFeed symbol at the end of the report as suggest by you ?
I haven't done it earlier !!
Regards !!
I was referring to printotdotmatrixprinter only. Sorry for the typographical error.
Kindly let me know how can i include FormFeed symbol at the end of the report as suggest by you ?
I haven't done it earlier !!
Regards !!
-
- Posts: 70
- Joined: Wed Feb 24, 2010 11:08 am
- Location: India
Regarding printtodotmatrix
Thanks a lot for your reply sir !!
I was referring to printotdotmatrixprinter only. Sorry for the typographical error.
Kindly let me know how can i include FormFeed symbol at the end of the report as suggest by you ?
I haven't done it earlier !!
Regards !!
I was referring to printotdotmatrixprinter only. Sorry for the typographical error.
Kindly let me know how can i include FormFeed symbol at the end of the report as suggest by you ?
I haven't done it earlier !!
Regards !!
Regarding printtodotmatrix
Hello,
By default, if the PutFeedPageCode property in the DotMatrix viewer is set to true (checked), then the FormFeed control code is inserted after each page.
If you want to insert this code manually, please use the following expression in the textbox:
{(char)12}
Thank you.
By default, if the PutFeedPageCode property in the DotMatrix viewer is set to true (checked), then the FormFeed control code is inserted after each page.
If you want to insert this code manually, please use the following expression in the textbox:
{(char)12}
Thank you.
-
- Posts: 70
- Joined: Wed Feb 24, 2010 11:08 am
- Location: India
Regarding printtodotmatrix
Thanks a lot for your reply !!
I am not using dotmatrixviewer actually. The output is sent directly to the printer using PrintToDotMatrixPrinter. Is putFeedPageCode true by default when using printToDotMatrixPrinter ?
One more thing i observed was that a printe dialog box is shown even if Report.PrinterSettings.ShowDialog=False .
Also when i print the report on a dotmatrix printer (Epson FX-890) using PrintToDotMatrixPrinter the page doesn't advance for cutting but when i press the button on printer console it issues a form feed i.e. the paper advances by one page size. This behavious is not there when using report.print.
Kindly help !!
My client would be more than happy if i m able to give him high speed printing on a dot matrix printer.
Regards !!
I am not using dotmatrixviewer actually. The output is sent directly to the printer using PrintToDotMatrixPrinter. Is putFeedPageCode true by default when using printToDotMatrixPrinter ?
One more thing i observed was that a printe dialog box is shown even if Report.PrinterSettings.ShowDialog=False .
Also when i print the report on a dotmatrix printer (Epson FX-890) using PrintToDotMatrixPrinter the page doesn't advance for cutting but when i press the button on printer console it issues a form feed i.e. the paper advances by one page size. This behavious is not there when using report.print.
Kindly help !!
My client would be more than happy if i m able to give him high speed printing on a dot matrix printer.
Regards !!
Regarding printtodotmatrix
Hello,
Please show us the code you used to print report.
Thank you.
By default this flag is set to true.naveenagg wrote:I am not using dotmatrixviewer actually. The output is sent directly to the printer using PrintToDotMatrixPrinter. Is putFeedPageCode true by default when using printToDotMatrixPrinter ?
Please show us the code you used to print report.
Please try to use the following code:naveenagg wrote:One more thing i observed was that a printe dialog box is shown even if Report.PrinterSettings.ShowDialog=False .
Code: Select all
mainreport.PrinterSettings.ShowDialog = false;
mainreport.CompiledReport.PrinterSettings.ShowDialog = false;
-
- Posts: 70
- Joined: Wed Feb 24, 2010 11:08 am
- Location: India
Regarding printtodotmatrix
Thanks a lot for your mail sir !!
I am using the following code for printing
Report.PrinterSettings.ShowDialog = False
Report.PrintToDotMatrixPrinter(Module1.DefaultPrinterName, System.Text.Encoding.Default, 1, 1)
Thanks !!
I am using the following code for printing
Report.PrinterSettings.ShowDialog = False
Report.PrintToDotMatrixPrinter(Module1.DefaultPrinterName, System.Text.Encoding.Default, 1, 1)
Thanks !!
-
- Posts: 70
- Joined: Wed Feb 24, 2010 11:08 am
- Location: India
Regarding printtodotmatrix
Thanks a lot for your mail sir !!
I am using the following code for printing
Report.PrinterSettings.ShowDialog = False
Report.PrintToDotMatrixPrinter(Module1.DefaultPrinterName, System.Text.Encoding.Default, 1, 1)
Thanks !!
I am using the following code for printing
Report.PrinterSettings.ShowDialog = False
Report.PrintToDotMatrixPrinter(Module1.DefaultPrinterName, System.Text.Encoding.Default, 1, 1)
Thanks !!
-
- Posts: 70
- Joined: Wed Feb 24, 2010 11:08 am
- Location: India
Regarding printtodotmatrix
Thanks a lot for your mail sir !!
I am using the following code for printing
Report.PrinterSettings.ShowDialog = False
Report.PrintToDotMatrixPrinter(Module1.DefaultPrinterName, System.Text.Encoding.Default, 1, 1)
Thanks !!
I am using the following code for printing
Report.PrinterSettings.ShowDialog = False
Report.PrintToDotMatrixPrinter(Module1.DefaultPrinterName, System.Text.Encoding.Default, 1, 1)
Thanks !!