[Bug 59035] New: Wrong default printer with lpoptions set
http://bugs.winehq.org/show_bug.cgi?id=59035 Bug ID: 59035 Summary: Wrong default printer with lpoptions set Product: Wine Version: 9.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)list.winehq.org Reporter: dpat(a)syn-net.org Distribution: --- Created attachment 79791 --> http://bugs.winehq.org/attachment.cgi?id=79791 Wine Log with lpoptions set (wrong default printer) I am running Linux Mint Debian Edition 6 (LMDE6 based on Debian/bookworm) with a Cinnamon DE and have the following printers configured: user(a)LMDE6 ~ % groups user users % lpstat -v device for Brother_MFC_9332CDW: implicitclass://Brother_MFC_9332CDW/ device for HP_OfficeJet_Pro_7740_series_5940AF: implicitclass://HP_OfficeJet_Pro_7740_series_5940AF/ device for Samsung_M332x_382x_402x_Series_SEC30CDA7C6D511: implicitclass://Samsung_M332x_382x_402x_Series_SEC30CDA7C6D511/ A server default printer is set: % lpstat -d system default destination: Samsung_M332x_382x_402x_Series_SEC30CDA7C6D511 And I have the following `~/.cups/lpoptions` file: % cat .cups/lpoptions Dest Samsung_M332x_382x_402x_Series_SEC30CDA7C6D511 When calling notepad with Wine, the wrong default printer is shown (preselected) (in my case the Brother_MFC_9332CDW) in the print options (File: Print...): % WINEDEBUG=+winspool,+tid,+pid,+process,+commdlg wine notepad 2>&1 | tee wine-lpoptions-set.log If I delete the `~/.cups/lpoptions` file, the correct default printer is shown (preselected) (Samsung_M332x_382x_402x_Series_SEC30CDA7C6D511): % WINEDEBUG=+winspool,+tid,+pid,+process,+commdlg wine notepad 2>&1 | tee wine-lpoptions-unset.log I could not figure out who, what or why did create and set the option in `~/.cups/lpoptions`, but I know the Samsung printer was replaced and CUPS automatically detected the new printer and switched the default printer (to the Brother) at some time before. I assume the user did try to change the default printer withing the GUI, but maybe ended up changing the lpoptions file? I later changed the system default printer (from Brother to Samsung) and noticed this problem with Wine. I am not a CUPS expert, but as far I could research ``Dest Samsung_M332x_382x_402x_Series_SEC30CDA7C6D511`` itself looks like an invalid or at least incomplete option. Nevertheless, this should not have an effect on an application in Wine. I am on Wine version wine-9.19 and can not upgrade to a new version as this version is the latest version I was able to run Access Runtime 2010 (where I actually need the correct default printer to be set). P.s. I only can add one attachment (wine-lpoptions-set.log), if you need wine-lpoptions-unset.log for comparison, I can upload it separately as well. The most striking change I could identify is: 0118:011c:trace:winspool:SetDefaultPrinterW (L"Brother_MFC_9332CDW") vs 0118:011c:trace:winspool:SetDefaultPrinterW (L"Samsung_M332x_382x_402x_Series_SEC30CDA7C6D511") I can not see why the other printer was chosen. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59035 --- Comment #1 from dpat(a)syn-net.org --- Created attachment 79792 --> http://bugs.winehq.org/attachment.cgi?id=79792 Wine Log without lpoptions (correct default printer) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla