Linux Printing Failure

daviddanforth's Avatar

daviddanforth

19 Mar, 2010 08:38 PM

I am using Mandriva 2010 Gnome 64 bit, Moneydance 2010r2 (743), Java 1.6.0_16.

I print over a network to a HP 6310 all-in-one using HPLIP. The HPLIP version installed is 3.9.12.

Moneydance will not print. An attempt to print brings up a print error dialog box. This box, in turn, offers a 'diagnose' button which takes you to a 'printing troubleshooting' dialog, etc. The 'printing troubleshooting' dialog does not really work; it sticks. But it does get far enough to establish the program does see the printer.

I've been saving reports as html pages and printing them from a browser, but I'd sure like to be able to go from Moneydance directly. Any suggestions? Thanks.

  1. 1 Posted by Ben Spencer on 20 Mar, 2010 03:18 PM

    Ben Spencer's Avatar

    I am afraid I ma not familiar with HPLIP. However from what I have read about HPLIP it should be using CUPS. Please run the following command fomr your terminal.

    lpstat -p

    This will list all printers currently configured with CUPS on your system. I am curious to see if you are bypassing CUPS.

    Sincerely

    Ben Spencer

  2. 2 Posted by daviddanforth on 20 Mar, 2010 05:08 PM

    daviddanforth's Avatar

    Here is the result of the lpstat -p query:

    [david@localhost ~]$ lpstat -p
    printer Officejet_6300 is idle.  enabled since Sat 20 Mar 2010 10:26:30 AM MDT
             ready to print
    printer Officejet_6300_fax is idle.  enabled since Sat 13 Mar 2010 06:52:16 AM MST
    [david@localhost ~]$
    

    the 6300 is the one and only printer (actually 6300 refers to a category addressed by a single ppd) on the system. The fax, which is part of the all-in-one, is irrelevant, I suppose.

  3. 3 Posted by Ben Spencer on 20 Mar, 2010 05:45 PM

    Ben Spencer's Avatar

    Hi

    That seems to be correct. is the "Officejet_6300" offered as an option when you try to print from Moneydance?

    Please run the moneydance console when you try to print. Select Help->Console Window and post the output here.

    Also you could try changing "Printing Method" under File->Preferences->Printing.

    Ben

  4. 4 Posted by daviddanforth on 20 Mar, 2010 06:01 PM

    daviddanforth's Avatar

    That seems to be correct. is the "Officejet_6300" offered as an option when you try to print from Moneydance? Yes

    Please run the moneydance console when you try to print. Select Help->Console Window and post the output here.

    Starting Moneydance 2010r2 (743)
    Settings Folder: /home/david/.moneydance
    OS: Linux 2.6.31.12-desktop-1mnb amd64
    Java: 1.6.0_16 (Sun Microsystems Inc.)
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

    at com.moneydance.apps.md.view.gui.txnreg.TxnDecorator.paintBackground(TxnDecorator.java:59)
    at com.moneydance.apps.md.view.gui.txnreg.TxnRegisterType.renderTxn(TxnRegisterType.java:463)
    at com.moneydance.apps.md.view.gui.txnreg.TxnRegisterPrinter.printPage(TxnRegisterPrinter.java:99)
    at com.moneydance.apps.md.view.gui.print.MDPrinter1.print(MDPrinter1.java:91)
    at com.moneydance.apps.md.view.gui.txnreg.TxnRegisterPrinter.doPrintJob(TxnRegisterPrinter.java:52)
    at com.moneydance.apps.md.view.gui.txnreg.TxnRegister.printRegister(TxnRegister.java:1208)
    at com.moneydance.apps.md.view.gui.acctpanels.BankAcctPanel.actionPerformed(BankAcctPanel.java:369)
    at com.moneydance.apps.md.view.gui.MDAction.actionPerformed(MDAction.java:130)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
    at java.awt.Component.processMouseEvent(Component.java:6263)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    

    Also you could try changing "Printing Method" under File->Preferences->Printing.

    I have toggled between 1.1 and 2. Neither work. I get a "print error" dialog (described in my first post) with 1.1. With 2, I get the "print error" as well, but I also get an error which says "java.lang.NullPointerException" which is, of course, the first line of the Moneydance Console print out. The console printout was taken from an attempt to print using 1.1

  5. 5 Posted by ljb on 22 Mar, 2010 02:41 AM

    ljb's Avatar

    (Jumping in here unasked ...)

    You are trying to use File => Print Transactions. Don't do that. It is broken, throws a Java error, error popup, whatever - varies by system.

    Bug report 2676 is here

    Previously discussed here

    Instead, use one of the nice reports and print from there.

  6. Angie Rauscher closed this discussion on 24 Jul, 2011 07:42 PM.

Comments are currently closed for this discussion. You can start a new one.

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