Bug 393169 - Cannot Print, printer wakes up but gives error message
Summary: Cannot Print, printer wakes up but gives error message
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.8.1
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-15 16:43 UTC by Reggie Coles
Modified: 2022-12-21 05:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Printer Error Message (235.02 KB, image/png)
2018-04-15 16:43 UTC, Reggie Coles
Details
Popup Message (519.14 KB, image/png)
2018-04-24 16:28 UTC, Reggie Coles
Details
Dbgview Log File (9.02 KB, text/plain)
2018-04-24 23:36 UTC, Reggie Coles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reggie Coles 2018-04-15 16:43:04 UTC
Created attachment 112048 [details]
Printer Error Message

I am unable to print anything in kmymoney KDE Platform Version:  4.14.60.  I am using a PC Windows 10 Home Version 64 bit with an HP Officejet Pro 8740 printer.  Anywhere in the program when I click the print button, the print box appears and says my printer is ready.  When I click the print button in the printer dialog, my printer wakes up but does not print anything.  I then get a message from windows saying the printer could not print. (See attached screenshot) I am not having any printing issues with any other applications on my computer.  This only occurs in kmymoney.  Any help would be appreciated.
Comment 1 Jack 2018-04-15 19:10:36 UTC
Have you tried printing from any other KDE applications?
Comment 2 Reggie Coles 2018-04-16 00:15:27 UTC
No, kmymoney is the only KDE application I have.  Also as a test, I installed kmymoney on my laptop, tried to print from it and got the same result.
Comment 3 Ralf Habacker 2018-04-16 06:15:16 UTC
You may try umbrello from https://download.kde.org/stable/umbrello/latest/.
Comment 4 Ralf Habacker 2018-04-16 06:30:51 UTC
Another option is to use a pdf printer and to print the generated file with a pdf reader. I just checked that this works on a Windows 10 Professional system with latest 64 bit version of KMymoney.
Comment 5 Reggie Coles 2018-04-16 15:07:26 UTC
I downloaded umbrello as you suggested and tried printing from it.  It works perfectly, so the problem seems to be with kmymoney.

I also tried the print to pdf option as you suggested and it works so that does give me a workaround.
Comment 6 Reggie Coles 2018-04-24 16:28:28 UTC
Created attachment 112217 [details]
Popup Message

I've noticed that after I close the kmymoney application, a message pops up at random times on my screen for a couple of seconds. After I reboot the computer the message stops appearing until I launch and then close kmymoney again.  I finally managed to get a screenshot of it.  I didn't know if it might be associated with the printing issue or not.  Thought I would pass it along.
Comment 7 Ralf Habacker 2018-04-24 21:48:22 UTC
(In reply to Reggie Coles from comment #6)
> Created attachment 112217 [details]
> Popup Message
> 
> I've noticed that after I close the kmymoney application, a message pops up
> at random times on my screen for a couple of seconds. After I reboot the
> computer the message stops appearing until I launch and then close kmymoney
> again.  I finally managed to get a screenshot of it.  I didn't know if it
> might be associated with the printing issue or not.  Thought I would pass it
> along. 

Thanks for reporting this, which is unrelated to the initial reported problem. 

KMyMoney depends on some background processes which provide io services, which are started automatically along with kmymoney, but will stay in memory after kmymoney shutdown. To avoid that, an additional background app is automatically started by default, watching kmymoney shutdown and if detected, after a few seconds shut down all running background processes and itself. The command box you are seeing indicates that. 

If someone is interested to see, how this is implemented, take a look at https://build.opensuse.org/package/view_file/windows:mingw:win32/mingw32-umbrello/kwinshutdown.desktop?expand=1

To get some more informations about this issue you may start Dbgview https://docs.microsoft.com/en-us/sysinternals/downloads/debugview in front of KMymoney. If this does report any useful informations,
please run kdebugdialog fron the bin sub folder of the kmymoney installation folder and enable all categories. Then start kmymoney from a command prompt, on which internal messages should be displayed. Pleas try to print as pdf and the problematic printer and see if some useful informations are available.

kdebugdialog --fullmode can also be used to specify different output device for debug messages.
Comment 8 Reggie Coles 2018-04-24 23:36:20 UTC
Created attachment 112224 [details]
Dbgview Log File

Okay, please bear with me as I am not a programmer.  I downloaded the debugview and launched it, then launched kmymoney.  I then attempted to print with my printer and got the same error message.  I then tried printing to a pdf driver.  The only one that would work was the microsoft print to pdf.  I have Adobe and Nitro PDF Creator as well and neither of them would work either.  I saved the file from the debugview.  It's attached.  I've also noticed that after I get the error to my actual printer, I have to restart the printer before I can print from any other programs as well.
Comment 9 Ralf Habacker 2018-04-25 06:18:49 UTC
Thanks for sharing this informations, which includes the following lines: 

00000067	304.54016113	[10940]  JobId= 4; Event = OnPrintProcessor: EndDoc - fail access to spool file; Process = nitropdfdrivercreator.exe; err = 183	

-> There is an issue with the printer configuration. Windows printing system save prints into a temporary spool file, which is then transfered to the printer. This seems to fail
 
00000069	304.68994141	[10940]  JobId= -1; Event = Error open spool file; 00000071	420.05178833	[10424] InitSideBySide failed create an activation context. Error: 1814	

-> here also is an issue with the printer spool file. You may consult the printer doc to see how to fix. 

Below are some more errors, but I cannot see if this relates to the issue.
00000074	456.25625610	[11200] E00000000: Unable to get used cloud size: Error 0x1900002: No Internet connection.	
00000082	456.25640869	[11200] E00000000: Unable to update cloud storage sybscription notifications for AccountStatusCheckIconOperation	
00000085	456.47683716	[11200] E00000000: Unable to get used cloud size: Error 0x1900002: No Internet connection.	
00000093	456.47695923	[11200] E00000000: Unable to update cloud storage size notifications for OnlineStorageSizeCheckIconOperation	
00000096	464.73934937	[11200] E00000000: Unable to get used cloud size: Error 0x1900002: No Internet connection.	
00000104	464.73947144	[11200] E00000000: Unable to update license notifications for LicenseCheckOperation	

> I've also noticed that after I get the error to my actual printer, I have to restart the printer before I can print from any other programs as well.

Along with the missing spool file this indicates that there is something wrong with the printer driver configuration.
Comment 10 Ralf Habacker 2018-04-25 06:24:24 UTC
(In reply to Ralf Habacker from comment #7)
> Thanks for reporting this, which is unrelated to the initial reported
> problem. 
> 
> KMyMoney depends on some background processes which provide io services,
> which are started automatically along with kmymoney, but will stay in memory
> after kmymoney shutdown. To avoid that, an additional background app is
> automatically started by default, watching kmymoney shutdown and if
> detected, after a few seconds shut down all running background processes and
> itself. The command box you are seeing indicates that. 
> 
This command box will be hided in version 4.8.2. A binary snapshot containing already this fix could be downloaded from https://build.opensuse.org/package/binaries/windows:mingw:win64/mingw64-kmymoney-installer/openSUSE_Leap_42.3 (choose *installer* or *package*, use 7zip to unpack rpm)
Comment 11 Justin Zobel 2022-11-21 08:21:46 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 12 Bug Janitor Service 2022-12-06 05:17:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Bug Janitor Service 2022-12-21 05:19:29 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!