Kbase P88951: Error 5890 when printing with Crystal Reports Runtime Engine
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/6/2009 |
|
Status: Verified
SYMPTOM(s):
SelectPrinter method is used in the code to choose a printer to be used by the Crystal ActiveX
Crystal printer dialog screen appears as normal
Print job appears to be sent to the printer
Error occurred while accessing component property/method: PrintOut.
Error starting print job. Please check your printer or network connection.
Error code: 0x80020009 (5890)
FACT(s) (Environment):
Progress 9.1x
OpenEdge 10.x
Windows
Crystal Reports 9
Crystal Reports 10
CAUSE:
This is a known bug found in Crystal Reports 9 and Crystal Reports 10. The Crystal Track ID is ADAPT00119763.
FIX:
Set the PaperOrientation property after calling the SelectPrinter method but before calling PrintOut:
chReport:SelectPrinter("<DriverName>", "<PrinterName>", "<PortName>").
chReport:PaperOrientation() = 1.
chReport:PrintOut(FALSE).