I am the developer of a program written in Borland C++ Builder 5 and I use the Crystal Reports 8.5 VCL component to view/print reports from the program. I have a new customer that is getting the error "EOverflow" when he tries to print to a networked printer. When the printer is connected directly to his computer it works fine. He can also print correctly to the networked printer from other programs.
The error occurs when printing directly from the program (Crpe->Output = toPrinter) and also when he opens the report in the preview window (Crpe->Output = toWindow) and tries to print from there. Either way, when he clicks the OK button on the error window the entire program crashes and terminates.
The customer is running Windows XP. We have many customers (including XP users) and have never run into this problem before. Does anyone know what could be causing this and how to fix it?
My guess is that the problem is with the print driver. I have seen this before and it seems that updating the print driver has solved the problem for me.
How is it possible that the print driver is the problem since the customer can print correctly with other programs? Could there be a problem with it that only affects the Crystal VCL printing?
I don't know about Crystal, but I have seen this happen with QuickReports and Image printing. In both cases the printer seemed to work ok with MS Office and other apps. In my case the print jobs where large. The clue lies in the fact that your application works in other places and only fails for them and only on their network printer.
If nothing else at least it will keep the customer off your back for a few hours while they re-install their print driver /:-)