Telerik reporting print queue document name

1 Answer 31 Views
Report Designer (standalone) Report Viewer - WPF
Nicolas
Top achievements
Rank 1
Nicolas asked on 20 May 2022, 09:12 AM

Hello,

I have an issue on a project where a report printed from wpf report viewer is never printer for certain users.

My investigations so far :

- The same report is exported to pdf and printed on the same printer without issue (that's the current solution for users)

- The same report is printed without issue on my printer

The report gets sent to the printer queue but nothing comes out of the printer, so I ended up thinking about the document name in the printer queue generated by TelerikReporting. This Document Name is very long and I think this might be the issue for some printers, this document seems to be generated from the typename of the list of ReportParameters (see the attached picture). Is it possible to change this name to something shorter ? I tried using the DocumentName property in the ReportDesigner on my trdp file but it did not change the name in the printer queue.

Otherwise did anybody encountered this kind of issue with printing ?

Thanks

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 25 May 2022, 06:43 AM

Hi Nicolas,

I tested locally with our .NET Framework WPF Report Viewer demo and the generated document was sent to the printer spooler with its DocumentName. If the latter was not provided, the viewer used the Name or the report, i.e. in the case of the TRDP report, the document was sent as 'ReportName.trdp'.

It is not clear to me how the DocumentName ended up being the type name of the list of ReportParameters. This is definitely not expected. Can you share more details about your scenario so that we can investigate further?

Generally, our code sends the document in ImagePrint format to the printer spooler and leaves the rest to the System.Drawing.Printing functionality we use for printing.

Regards,
Todor
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
Report Designer (standalone) Report Viewer - WPF
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or