Resolves: fdo#77206 CRASH printing with all applications on windows

Change-Id: I5d5066413508a115f6b4c63b8b3dd19268f66574