Skip to Content
0
Former Member
Jun 04, 2009 at 02:21 PM

Change Print Job Name

171 Views

I have a VB.NET Windows program that load a Report file with rpt.Load(ReporFile) and after send to printer with rpt.PrintToPrinter(NumberofCopy, False, 0, 0). I want to change the print job title. I see another post: How to set the CR print job name that displayed in Printer job queue? with this solution:

CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions prnOpts;

prnOpts.JobTitle = "hello world";

but I don't know how to get PrintReportOptions from my ReportClientdocument. The only I know it's rdc.PrintOutputController.GetPrintOptions but this retunrn a PrintOptions object that don't have JobTitle property.

Can someone help me ?

thanks Filippo