Now it seems that some of them doesn't have that set, but in those cases changing that would cause problems with our clients. I try to manipulate it through the PrintOutputController, like:ī("Send to OneNote 2010") Ībout our reports (.rpt files): we should have the "No Printer" checked in all of them (we have like 300 reports in our apps). I see that the PrinterName is empty there too. NET API just wraps around the RAS objects. I can query the RAS object (which has the type of ) from the. This is even true if I try to manipulate the object in the debugger or in the Immediate Window.Ģ. NET API: the Crystal ReportDocument object's PrintOptions object's PrinterName property is an empty string, and when I try to assign the desired printer name (like "Send to OneNote 2010"), it simply ignores my try. When I debug our code with Visual Studio 2012, I can clearly see that:ġ. When I try to print to my local "Send to OneNote 2010" printer or other printer however, the report is printed to our default network printer for sure. There are strange exceptions, for example mostly I can print to my local "Microsoft XPS Document Writer", so somehow that can override the stubborn behavior (but not always!). After upgrade we experience a problem: no matter how I we to set the printer name (to the selected printer by user) before printing Crystal prints to the default printer. NET/C# application and we upgraded from Crystal v10.2 to v13 recently.
0 Comments
Leave a Reply. |