Can not print after update

Robert MacDonald's Avatar

Robert MacDonald

12 Jan, 2019 07:06 PM

I updated today to the new version of MoneyDance (2019) and can no long print. Even after rebooting, I receive the error shown in the attached, whether trying to print checks or reports. I have no problems printing from other programs. I have Windows 10 and an HP OfficeJet 4630.

  1. Support Staff 1 Posted by Sean Reilly on 12 Jan, 2019 11:11 PM

    Sean Reilly's Avatar

    Hi Robert,

    I'm sorry to hear that the new version seems to have broken your printing! Would it be possible to do the following to help us get a bit more information about the problem?

    1. Start Moneydance and select the Help->Console Window menu
    2. Attempt to print something
    3. Switch to the Console window and copy+paste the contents of it into a response to this message?

    Thanks!

    Sean Reilly
    Developer, The Infinite Kind
    http://infinitekind.com

  2. 2 Posted by Bob and Peggy M... on 12 Jan, 2019 11:47 PM

    Bob and Peggy MacDonald's Avatar

    <html>Error: <b>An unexpected error occurred
    null</b><pre>java.lang.NullPointerException
        at java.desktop/sun.print.RasterPrinterJob.setAttributes(Unknown Source)
        at java.desktop/sun.awt.windows.WPrinterJob.setAttributes(Unknown
    Source)
        at java.desktop/sun.print.RasterPrinterJob.print(Unknown Source)
        at java.desktop/sun.print.RasterPrinterJob.print(Unknown Source)
        at
    com.moneydance.apps.md.view.gui.print.MDPrinter2.print(MDPrinter2.java:116)
        at
    com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:304)
        at
    com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:287)
        at
    com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:275)
        at
    com.moneydance.apps.md.view.gui.graphtool.GraphReportDetailPanel.actionPerformed(GraphReportDetailPanel.java:208)
        at
    com.moneydance.apps.md.view.gui.MDAction.actionPerformed(MDAction.java:156)
        at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown
    Source)
        at
    java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown
    Source)
        at
    java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
    Source)
        at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown
    Source)
        at
    com.moneydance.apps.md.view.gui.FlatButtonUI$ButtonListener.mouseReleased(FlatButtonUI.java:516)
        at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
        at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.desktop/java.awt.Component.processEvent(Unknown Source)
        at java.desktop/java.awt.Container.processEvent(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at
    java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
    Source)
        at
    java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown
    Source)
        at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown
    Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at
    java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
    Source)
        at
    java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
    Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at
    java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
    Source)
        at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
        at
    java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
    Source)
        at
    java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
    Source)
        at
    java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
    Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

    </html>

  3. Support Staff 3 Posted by Sean Reilly on 16 Jan, 2019 04:12 PM

    Sean Reilly's Avatar

    Hi Robert,
    I'm sorry that I've still not figured out what could be the cause of this. I'll continue to investigate, but wanted to check and see if the File -> Page Setup menu displayed the printing page settings window? If you select that menu and update the settings, does printing then begin to work?

    Does printing a transaction register work, or have the same problem?

    Thanks,

    Sean Reilly
    Developer, The Infinite Kind
    http://infinitekind.com

  4. 4 Posted by Bob and Peggy M... on 16 Jan, 2019 05:17 PM

    Bob and Peggy MacDonald's Avatar

    Thanks for continuing to look into this. Yes, I can see the page setup
    window and so changed the left margin from 1 to 1.1. I got the same error
    trying to print a report. I also got the same error trying to print
    transactions from a register.

    Bob

  5. 5 Posted by mhoggie on 16 Jan, 2019 08:43 PM

    mhoggie's Avatar

    Just a user

    How about selecting a different printer and see if the error persists

  6. 6 Posted by Bob and Peggy M... on 16 Jan, 2019 09:42 PM

    Bob and Peggy MacDonald's Avatar

    I don't have another printer. This printer works fine otherwise and worked
    with MoneyDance until the upgrade.

  7. 7 Posted by mhoggie on 16 Jan, 2019 10:06 PM

    mhoggie's Avatar

    Just a user,

    Just wanted to see if you could associate MD with a different printer for 2 reasons. 1st . Just to see if MD would have a problem with any printer. 2nd. Changing printers causes the PC to reassociate print spooler settings which could make your regular printer work again if it was reassociated after changing printers. If you don’t have another printer device I would recommend downloading a PDF printer driver. You can find the at no cost or very inexpensive on the Internet. It allows you to create a virtual printer which will create a PDF file for anything you print to it. Very handy

  8. 8 Posted by Bob and Peggy M... on 16 Jan, 2019 11:24 PM

    Bob and Peggy MacDonald's Avatar

    Of course. PDF is a printer. Yes, I can print to PDF. Went back to the
    OfficeJet, no luck.

  9. 9 Posted by Bob and Peggy M... on 01 Feb, 2019 04:22 PM

    Bob and Peggy MacDonald's Avatar

    Just updated to 2019.1 and am still having this problem.

    Bob

  10. 10 Posted by gerard on 01 Feb, 2019 07:59 PM

    gerard's Avatar

    Me too. I didn't see this thread and opened a new one yesterday but Moneydance are yet to reply. Like you I can create pdf files. You, me and Andrew Paxton (posted today at 4:56pm) are all using HP printers. Interestingly I have two old HP printers installed and it seems that they work. Unforuntately one is dead and the other is at a different location so I cant check for sure but they both allow Moneydance to create a print file and the printing box comes up with the Moneydance document sitting there but with the message that the printer is offline. With my current printer the error message comes up immediately I press the OK print button.

    I know some years ago I had problems with Paperport and HP printers and Paperport help desk said HP drivers were a pain in the a***. Perhaps they still are!

    I think I might revert back to the 216 version I was using before if this can't be fixed.

    Cheers
    Gerard

  11. 11 Posted by Steve on 20 Feb, 2019 08:57 PM

    Steve's Avatar

    I too am getting am error when trying to print since I upgraded to Moneydance 2019. It occurs if I try to print to a physical printer or PDF. The console window shows:

    <html>Error: <b>An unexpected error occurred java.awt.print.PrinterIOException</b><pre>java.awt.print.PrinterIOException
        at java.desktop/sun.print.PSPrinterJob$PrinterSpooler.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.desktop/sun.print.PSPrinterJob.endDoc(Unknown Source)
        at java.desktop/sun.print.RasterPrinterJob.print(Unknown Source)
        at java.desktop/sun.print.RasterPrinterJob.print(Unknown Source)
        at com.moneydance.apps.md.view.gui.print.MDPrinter2.print(MDPrinter2.java:116)
        at com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:304)
        at com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:287)
        at com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:275)
        at com.moneydance.apps.md.view.gui.graphtool.GraphReportDetailPanel.actionPerformed(GraphReportDetailPanel.java:208)
        at com.moneydance.apps.md.view.gui.MDAction.actionPerformed(MDAction.java:156)
        at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at com.moneydance.apps.md.view.gui.FlatButtonUI$ButtonListener.mouseReleased(FlatButtonUI.java:516)
        at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
        at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.desktop/java.awt.Component.processEvent(Unknown Source)
        at java.desktop/java.awt.Container.processEvent(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: Cannot run program &quot;/usr/bin/lpr&quot;: error=2, No such file or directory
        at java.base/java.lang.ProcessBuilder.start(Unknown Source)
        at java.base/java.lang.ProcessBuilder.start(Unknown Source)
        at java.base/java.lang.Runtime.exec(Unknown Source)
        at java.base/java.lang.Runtime.exec(Unknown Source)
        ... 46 more
    Caused by: java.io.IOException: error=2, No such file or directory
        at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
        at java.base/java.lang.ProcessImpl.&lt;init&gt;(Unknown Source)
        at java.base/java.lang.ProcessImpl.start(Unknown Source)
        ... 50 more

    </pre>

    </html>

  12. 12 Posted by janskrit on 23 Feb, 2019 03:55 AM

    janskrit's Avatar

    Ditto.

  13. Support Staff 13 Posted by Sean Reilly on 27 Feb, 2019 10:23 PM

    Sean Reilly's Avatar

    Just checking in with a minor update. I've come across others having this same issue with other software that uses the same version of java that ships with moneydance. There's an update to that software that I'll be bundling with a new version of moneydance in the next day or two that might fix the problem. The error is specific to certain printers and their drivers, but I couldn't tell you which specific printers are affected.

    Thanks,

    Sean Reilly
    Developer, The Infinite Kind
    http://infinitekind.com

  14. 14 Posted by Bob and Peggy M... on 27 Feb, 2019 10:26 PM

    Bob and Peggy MacDonald's Avatar

    Ok, thanks! Let me know and I will try it and let you know.

  15. 15 Posted by janskrit on 28 Feb, 2019 01:22 AM

    janskrit's Avatar

    Hi Sean,

    I’m working with Windows 10 with auto updates, HP Officejet 2620 Printer and nothing from Java. I’ve been using Money dance for over a year and ok’ed an update sent from the company about 3-4 weeks ago. The printing problem showed up the next time I tried to use it after that update. Considering taxes being due soon and the reports I need to have done for them, having the printing go out now couldn’t be at a worse time. In the community listings similar printing problem showed up at the same time, including someone who had just purchased the program. I’d be content to uninstall the current version and go back to what I had 4 weeks ago. How can I download that?

    Thanks,

    Jan

  16. 16 Posted by TonyRI on 28 Feb, 2019 02:06 AM

    TonyRI's Avatar
  17. 17 Posted by janskrit on 28 Feb, 2019 02:37 AM

    janskrit's Avatar

    I asked about previous versions (back when it was working for me 3 or 4 weeks back). This is what I got. Good luck.

    https://infinitekind.com/previous-versions-of-moneydance

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Moneydance_printing_error.docx 45.4 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac