when printer is offline get a error!

Hello,
When I try print report and printer is offline or not found get error:

exception class : EInvalidOp
exception message : Invalid floating point operation.

main thread ($d48):
005f0700 Rival.exe frxPrinter 746 TfrxPrinter.SetPrintParams
005fd0c3 Rival.exe frxPreviewPages 1222 PrintPage
005fd213 Rival.exe frxPreviewPages 1266 PrintPages
005fd2e5 Rival.exe frxPreviewPages 1288 DoPrint
005fd56f Rival.exe frxPreviewPages 1354 TfrxPreviewPages.Print
005f4390 Rival.exe frxPreview 1095 TfrxPreview.Print
005f5e97 Rival.exe frxPreview 1714 TfrxPreviewForm.PrintBClick
004986a8 Rival.exe Controls TControl.Click
0047d154 Rival.exe ComCtrls TToolButton.Click
00498afe Rival.exe Controls TControl.WMLButtonUp
00498510 Rival.exe Controls TControl.WndProc
00498a26 Rival.exe Controls TControl.WMMouseMove
004982e0 Rival.exe Controls TControl.Perform
0049b2d0 Rival.exe Controls GetControlAtPos
0049b368 Rival.exe Controls TWinControl.ControlAtPos
004982e0 Rival.exe Controls TControl.Perform
0049b406 Rival.exe Controls TWinControl.IsControlMouseMsg
0049b4f2 Rival.exe Controls TWinControl.WndProc
004813e1 Rival.exe ComCtrls TToolBar.WndProc
0049b1ec Rival.exe Controls TWinControl.MainWndProc
0044e658 Rival.exe Classes StdWndProc
77d4436f user32.dll DispatchMessageA
004b7c63 Rival.exe Forms TApplication.ProcessMessage
004b7c9a Rival.exe Forms TApplication.HandleMessage
004b4831 Rival.exe Forms TCustomForm.ShowModal
00623740 Rival.exe frxClass 6896 TfrxReport.ShowPreparedReport
00623786 Rival.exe frxClass 6916 TfrxReport.ShowReport
007194ec Rival.exe Spr0020 118 TForm101.FormShow
004b0ec9 Rival.exe Forms TCustomForm.DoShow
004b3e95 Rival.exe Forms TCustomForm.CMShowingChanged
00498510 Rival.exe Controls TControl.WndProc
0049b56f Rival.exe Controls TWinControl.WndProc
004b1655 Rival.exe Forms TCustomForm.WndProc
004982e0 Rival.exe Controls TControl.Perform
0049b0c3 Rival.exe Controls TWinControl.UpdateShowing
0049b12e Rival.exe Controls TWinControl.UpdateControlState
0049cf42 Rival.exe Controls TWinControl.CMVisibleChanged
00498510 Rival.exe Controls TControl.WndProc
0049b56f Rival.exe Controls TWinControl.WndProc
004b1655 Rival.exe Forms TCustomForm.WndProc
004982e0 Rival.exe Controls TControl.Perform
00496fff Rival.exe Controls TControl.SetVisible
004b114a Rival.exe Forms TCustomForm.SetVisible
004b462b Rival.exe Forms TCustomForm.Show
004b47f7 Rival.exe Forms TCustomForm.ShowModal
0075e7fd Rival.exe Main 1546 TForm3.N77Click
004a97a6 Rival.exe Menus TMenuItem.Click
004aa953 Rival.exe Menus TMenu.DispatchCommand
004b35ef Rival.exe Forms TCustomForm.WMCommand
00498510 Rival.exe Controls TControl.WndProc
0049b56f Rival.exe Controls TWinControl.WndProc
004b1655 Rival.exe Forms TCustomForm.WndProc
0049b1ec Rival.exe Controls TWinControl.MainWndProc
0044e658 Rival.exe Classes StdWndProc
77d4436f user32.dll DispatchMessageA
004b7c63 Rival.exe Forms TApplication.ProcessMessage
004b7c9a Rival.exe Forms TApplication.HandleMessage
004b7eba Rival.exe Forms TApplication.Run
0079e081 Rival.exe Rival 71 initialization

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.