Program stop running when some printers are installed

Questions about Wine on Linux
Locked
caradag
Newbie
Newbie
Posts: 1
Joined: Wed Feb 12, 2025 3:42 pm

Program stop running when some printers are installed

Post by caradag »

I've been facing this problem for a long time when running Global Mapper on wine.
In my previous computer (Ubuntu 20.04), every time cups found a network printer, the program would refuse to start. I was able to solve it in two ways: 1) disconnect from the network and manually remove the printers from the printer configuration, or 2) stop cups with the following commands: sudo systemctl stop cups-browsed; systemctl stop avahi-daemon, and then manually remove the printers from the printer configuration. This last method did always work, but it did most times.

Now I'm facing the same or a similar problem on Ubuntu 22.04, I haven't tested with network printers, but if I install my EPSON NX127 printer, the program will fail to start (even if the printer is not connected). But if I manually remove that printer from the printer configuration, the program runs without problems.
When it doesn't work, the error is:

Code: Select all

0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0403F7D4, 0403F7E8 0403F7DC
0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x1009 0403F7D4 0403F7E8 0403F7DC) returning a dummy value (current locale)
0024:err:module:loader_init "winspool.drv" failed to initialize, aborting
0024:err:module:loader_init Initializing dlls for L"C:\\Program Files (x86)\\GlobalMapper18\\global_mapper.exe" failed, status c0000005
It may be important to note that there is still another printer installed, but that one doesn't seem to interfere (an HP Laserjet P1005).

Any clues to solve the problem?
Given that I don't need printing. Is there a way to tell wine to do not access the printers?
Thanks
Locked