printer problems

For users or potential users.
Post Reply
jamesx2
Posts: 115
Joined: Wed Jun 20, 2007 6:52 pm

printer problems

Post by jamesx2 » Mon May 05, 2008 7:48 pm

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?

User avatar
jordansparks
Site Admin
Posts: 5742
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: printer problems

Post by jordansparks » Mon May 05, 2008 8:43 pm

The error is generic. You obviously do have a printer available. It's something else.
Jordan Sparks, DMD
http://www.opendental.com

jamesx2
Posts: 115
Joined: Wed Jun 20, 2007 6:52 pm

Re: printer problems

Post by jamesx2 » Mon May 05, 2008 9:28 pm

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.

User avatar
jordansparks
Site Admin
Posts: 5742
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: printer problems

Post by jordansparks » Tue May 06, 2008 5:27 pm

Well, do you have a printer installed?
Jordan Sparks, DMD
http://www.opendental.com

jamesx2
Posts: 115
Joined: Wed Jun 20, 2007 6:52 pm

Re: printer problems

Post by jamesx2 » Tue May 06, 2008 11:28 pm

Yes, I can print everything else from OD. Even the premade reports print. It is only the query reports that wont print.

jamesx2
Posts: 115
Joined: Wed Jun 20, 2007 6:52 pm

Re: printer problems

Post by jamesx2 » Thu May 08, 2008 11:33 pm

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?

jamesx2
Posts: 115
Joined: Wed Jun 20, 2007 6:52 pm

Re: printer problems

Post by jamesx2 » Sun May 18, 2008 4:22 pm

see above posting

User avatar
jordansparks
Site Admin
Posts: 5742
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: printer problems

Post by jordansparks » Sun May 18, 2008 4:51 pm

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.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
Jorgebon
Posts: 502
Joined: Mon Jun 18, 2007 2:25 pm
Location: Mayaguez, PR
Contact:

Re: printer problems

Post by Jorgebon » Sun May 18, 2008 5:02 pm

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.
Jorge Bonilla DMD
Open Dental user since May 2005

JLM
Posts: 128
Joined: Wed Dec 05, 2012 12:52 pm

Re: printer problems

Post by JLM » Wed Jul 24, 2013 7:19 pm

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

User avatar
Manny Ramirez
Posts: 129
Joined: Tue Mar 06, 2012 3:07 pm
Location: Miami/Puerto Rico
Contact:

Re: printer problems

Post by Manny Ramirez » Wed Jul 24, 2013 10:47 pm

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.
Manny Ramirez
Senior Network Engineer
E-ssential Networks LLC

User avatar
Hersheydmd
Posts: 700
Joined: Sun May 03, 2009 9:12 pm

Re: printer problems

Post by Hersheydmd » Thu Jul 25, 2013 6:04 am

Jim & Manny,
You are answering a post from 2008. I am sure his printer problem has been resolved by now.
Robert M Hersh DMD, FAGD
Univ. of Penn 1982
Brooklyn, NY 11234
https://www.facebook.com/pages/Robert-M ... 1471599429

JLM
Posts: 128
Joined: Wed Dec 05, 2012 12:52 pm

Re: printer problems

Post by JLM » Thu Jul 25, 2013 9:33 am

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

Post Reply