on 04-17-2014 7:46 AM
Dear Friends,
We have a label report that can only be printed when it has been previewed first.
However, printing this report directly to the selected printer raises the error message ' Protocol Error' and printing stops.
What could be the problem and how can that be resolved ?
Thank you in advance for your help.
Need more info.
Version os CR with SP level.
Version of VS
Win or web app?
Report is printed using code or viewer print button?
What is the exact error, post the stack trace?
Does the issue occur on dev or production machine?
Is this printer specific?
Could you print the report to PDF printer or MS XPS writer?
- Bhushan
Senior Engineer
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bhushan,
Thank you for the reply.
Version os CR with SP level.
The report was designed with SAP Crystal Reports 2011 and the version of the runtimes currently deployed is CRforVS_redist_install_32bit_13_0_8.
Version of VS
Version of Visual Studion is 2010.
Win or web app?
It is a Windows application.
Report is printed using code or viewer print button?
The report is printed via code.
What is the exact error, post the stack trace?
The exact error is simply 'Protocol Error' on the printer display.
Does the issue occur on dev or production machine?
The error occurs on a Production environment.
Is this printer specific?
Yes, the exact printer in use is CAB A4+/300.
Could you print the report to PDF printer or MS XPS writer?
The report can be printed directly to PDF or MS XPS writer without any error. It's just to this printer where the error occurs.
I will be glad to provide more information if needed.
Thank you.
So this issue is very specific to CAB A4+/300.printer.
Make sure that the printyer driver you are using is updated and is supported by the windows version you are using it on.
Also, is there any other text in the error along with Protocol error?
Could you export the report to word and PDF and print the word and PDF file to this printer, see if it prints the both of them fine.
Is this issue also specific to a perticular report?
Are you using PrintToPrinter or PrintOutputController to print the report?
Thanks,
Bhushan
Hello Bhushan,
Also, is there any other text in the error along with Protocol error?
No, it's just the protocol error that is raised.
Could you export the report to word and PDF and print the word and PDF file to this printer, see if it prints the both of them fine.
In this way, the report prints perfectly well.
Is this issue also specific to a particular report?
Yes, this is the case. Because there is a second label report that prints to a different printer, and it prints well.
Are you using PrintToPrinter or PrintOutputController to print
We use the PrintOutputController
Thank you.
Hi Belinda
What version is the printer driver?
Is the printer driver installed local?
What version of CR was the report created in?
Can you print the report from the CR designer?
I'd like you to try a simple win app with the CR viewer and try to print from the viewer. Your code would be a one liner:
CrystalReportsViewer1.ReportSource = <path to report>
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
please check the configuration of the used printer at SPAD transaction level ( printer type ... )
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.