Re: [PHP] Crystal Reports in PHP via COM - SelectPrinter problem

2003-03-31 Thread Andrew Powell
Crystal Decisions provided a resolution to the problem. If the SelectPrinter method is called, the PaperOrientation method must also be set. So, to access Crystal Reports from PHP, the following code is used: $crapp = new COM("CrystalDesignRunTime.Application"); $creport = $crapp->OpenReport("

[PHP] Crystal Reports in PHP via COM - SelectPrinter problem

2003-03-27 Thread Andrew Powell
I am receiving an error when attempting to use the SelectPrinter method in the CrystalDesignRunTime.Application COM object. The following code: - $crapp = new COM("CrystalDesignRunTime.Application"); $creport = $crapp->OpenReport("d:\\athermal\\reports\\backlog.rpt", 1); $creport->SelectPrint