CR 2008 Runtime incorrectly using default printer settings
Crystal Reports Runtime 2008 SP3 version 188.8.131.522
Windows Server 2008 R2
Progress OpenEdge 10.2B
I am having an issue printing Crystal based output. The following code is used to print the report. My issue is even though I set the printer to a non-default printer the default printer settings are still used. This seems to happen more often with Zebra printers but other printers as well.
crwReport = NEW CrystalDecisions.CrystalReports.Engine.ReportDocument().
crwPrinterSettings = NEW System.Drawing.Printing.PrinterSettings().
crwPageSettings = NEW System.Drawing.Printing.PageSettings().
crwPrinterSettings:COLLATE = ip-collated.
crwPrinterSettings:Copies = ip-num-copies.
crwPrinterSettings:PrinterName = ip-printer-name.
crwReport:PrintToPrinter(crwPrinterSettings, crwPageSettings, FALSE).
What am I missing?
Thanks for the help.