Print driver? version10.04
?I just upgraded to 10.04 and have a user that gets a floating point
error returned from print driver after the print preview sends the
report to the printer. The delphi app is the only one giving the
error. If I print the report to a PDF and print the PDF it works fine.
The printer is a network printer and multiple machines give the same
error. I have the same printer that the other user has and mine works
fine.....
Was there any change that could cause this?
John Jensen
--- posted by geoForum on http://delphi.newswhat.com
error returned from print driver after the print preview sends the
report to the printer. The delphi app is the only one giving the
error. If I print the report to a PDF and print the PDF it works fine.
The printer is a network printer and multiple machines give the same
error. I have the same printer that the other user has and mine works
fine.....
Was there any change that could cause this?
John Jensen
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
Which version of ReportBuilder did you upgrade from? Do you receive this
error when you print directly to the printer (no preview)? Is your printer
connected over a network like your users'.?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
As a test, in the main Form OnCreate add the line of code shown below. This
will cause the Delphi runtime error checking to ignore floating point
overflow errors that occur in the printer driver.
uses
SysUtils;
Set8087CW($133F); // turn off floating point exception checking
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
ethernet cable, it is an HP 2600n Color Laser. We have several of these
printers and all of them print fine except one, and it only has a
problem from my program. It is not a problem with the report because
preview works fine. It is just when the report is spooled to the
printer from preview or directly. All other applications print to that
printer ok.
The error is "Floating Point Overflow". I get it with all reports, even
simple list reports that do not contain number, just text. All my
reports do contain a graphic of the company header though!
John
this
printer
fine.
John Jensen
--- posted by geoForum on http://delphi.newswhat.com
This
John Jensen
--- posted by geoForum on http://delphi.newswhat.com