Page 1 of 1
printer problems
Posted: Mon May 05, 2008 7:48 pm
by jamesx2
I started having a problem printing query reports. I can print everything else from OD as normal. I can even print normal reports from the reports area of the program. When I try to print a report from the query section I get an error that there are no printers. Anyone else have this problem?
Re: printer problems
Posted: Mon May 05, 2008 8:43 pm
by jordansparks
The error is generic. You obviously do have a printer available. It's something else.
Re: printer problems
Posted: Mon May 05, 2008 9:28 pm
by jamesx2
Here is a detail of the error. Does this help you figure out what might be wrong?
System.Drawing.Printing.InvalidPrinterException: No printers are installed.
at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal()
at System.Drawing.Printing.PrinterSettings.GetHdevmode()
at System.Drawing.Printing.PageSettings.GetPaperSize(IntPtr modeHandle)
at System.Drawing.Printing.PageSettings.get_PaperSize()
at OpenDental.FormQuery.butPrintPreview_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at OpenDental.UI.Button.OnClick(EventArgs ea)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
OpenDental
Assembly Version: 5.4.22.0
Win32 Version: 5.4.22.0
CodeBase: file:///c:/program%20files/Open%20Dental/OpenDental.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CodeBase
Assembly Version: 4.7.0.0
Win32 Version: 4.7.0.0
CodeBase: file:///c:/program%20files/Open%20Dental/CodeBase.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
OpenDentBusiness
Assembly Version: 5.0.0.0
Win32 Version: 5.0.0.0
CodeBase: file:///c:/program%20files/Open%20Dental/OpenDentBusiness.DLL
----------------------------------------
SparksToothChart
Assembly Version: 4.7.1.0
Win32 Version: 4.7.1.0
CodeBase: file:///c:/program%20files/Open%20Dental/SparksToothChart.DLL
----------------------------------------
xImageDeviceManager
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/program%20files/Open%20Dental/xImageDeviceManager.DLL
----------------------------------------
SigPlusNET
Assembly Version: 1.0.2057.23757
Win32 Version:
CodeBase: file:///c:/program%20files/Open%20Dental/SigPlusNET.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
CDT
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/program%20files/Open%20Dental/CDT.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
MySql.Data
Assembly Version: 1.0.9.0
Win32 Version: 1.0.9.0
CodeBase: file:///c:/program%20files/Open%20Dental/MySql.Data.DLL
----------------------------------------
Oracle.DataAccess
Assembly Version: 10.2.0.100
Win32 Version: 10.2.0.100
CodeBase: file:///c:/program%20files/Open%20Dental/Oracle.DataAccess.DLL
----------------------------------------
Tao.OpenGl
Assembly Version: 2.1.0.4
Win32 Version: 2.1.0.4
CodeBase: file:///c:/program%20files/Open%20Dental/Tao.OpenGl.DLL
----------------------------------------
Tao.Platform.Windows
Assembly Version: 1.0.0.4
Win32 Version: 1.0.0.4
CodeBase: file:///c:/program%20files/Open%20Dental/Tao.Platform.Windows.DLL
----------------------------------------
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Re: printer problems
Posted: Tue May 06, 2008 5:27 pm
by jordansparks
Well, do you have a printer installed?
Re: printer problems
Posted: Tue May 06, 2008 11:28 pm
by jamesx2
Yes, I can print everything else from OD. Even the premade reports print. It is only the query reports that wont print.
Re: printer problems
Posted: Thu May 08, 2008 11:33 pm
by jamesx2
I am assuming from the lack of response that you do not feel my problem is an OD problem. I am able to print everything else from OD, it is only the query reports I can not print. I notice there is a place to set what printer you would like to use for different areas of the program. I do not see a setting for reports. Which setting is used for report printing? Also, only a couple of us can not print while the others still can print. Could there be a problem in the security settings that is causing this problem?
Re: printer problems
Posted: Sun May 18, 2008 4:22 pm
by jamesx2
see above posting
Re: printer problems
Posted: Sun May 18, 2008 4:51 pm
by jordansparks
Reports print using the default printer. The lack of response is simply due to the fact that diagnosing this problem is beyond the limited capability of this forum. It would require us to see your screen and possibly get a copy of your database.
Re: printer problems
Posted: Sun May 18, 2008 5:02 pm
by Jorgebon
When you go to Start/ Printers and faxes (form your desktop's start menu) is the default printer connected to these computers? If not, select one that is or install the one you want that is connected to the network.
Re: printer problems
Posted: Wed Jul 24, 2013 7:19 pm
by JLM
Jorgebon wrote:When you go to Start/ Printers and faxes (form your desktop's start menu) is the default printer connected to these computers? If not, select one that is or install the one you want that is connected to the network.
I just ran into this error. The solution, which I thing Jorgebon is pointing to here, is to designate one printer as the default printer for the computer in the control panel. You can have 12 printers installed but if none of them (in the control panel, not OD printer setup) are designated the default, .net erroneously states that "no printer is installed" instead of "no windows default printer has been chosen".
Jim Margarit
Re: printer problems
Posted: Wed Jul 24, 2013 10:47 pm
by Manny Ramirez
Is this machine specific? That looks like a .net framework error. If your problem is computer specific then I would suggest removing it and re-installing it. Use the .net framework tool cleanup. It will make your life a lot easier.
Re: printer problems
Posted: Thu Jul 25, 2013 6:04 am
by Hersheydmd
Jim & Manny,
You are answering a post from 2008. I am sure his printer problem has been resolved by now.
Re: printer problems
Posted: Thu Jul 25, 2013 9:33 am
by JLM
Yet it bit me in the butt yesterday. I was updating it with a clearer solution should anyone else be searching for a solution for this unresolved bug.
JM