Discussion:
Floating Point Error when printing to HP 2600n
(too old to reply)
Anthony Nasca
2007-10-25 23:00:44 UTC
Permalink
I see in borland.public.cppbuilder there is a piece of code to tell the
system to igonor Floating Point Overflow when printing.

Is there an equivelent for dephi 5 and how and where would I write it?

Here is the reported problem:
http://forums.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1028403
--
Tony Nasca
Dove Net Technologies, LLC
9126 Travener Circle, Suite 100
Frederick, MD 21704
301-874-9777 x 100 Fax 301-874-9767
www.dovenet.com
***@dovenet.com
d***@gmail.com
2014-04-07 11:22:32 UTC
Permalink
Post by Anthony Nasca
I see in borland.public.cppbuilder there is a piece of code to tell the
system to igonor Floating Point Overflow when printing.
Is there an equivelent for dephi 5 and how and where would I write it?
http://forums.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1028403
--
Tony Nasca
Dove Net Technologies, LLC
9126 Travener Circle, Suite 100
Frederick, MD 21704
301-874-9777 x 100 Fax 301-874-9767
www.dovenet.com
Ken Flanagan
Occasional Visitor
Ken Flanagan
Posts: 1
Registered: 05-07-2009
Message 12 of 12 (1,336 Views)
Re: HP LaserJet 2600N Floating Point Overflow
Post options

05-07-2009 10:51 AM
Delphi fix:

procedure SecureFpu;
begin
Set8087CW(Default8087CW or $3F);
end;

Works on all my Delphi applications...


Source:
http://h30499.www3.hp.com/t5/Printers-LaserJet/HP-LaserJet-2600N-Floating-Point-Overflow/td-p/663351#.U0KJc6L5IQI
Loading...