Message displayed after clicking on File/Print... in Notepad
Before you can perform printer-related tasks such as page setup or printing a document, you need to install a printer. Please install one and retry.
List of printers when printing from gedit
Print to File
HP_LaserJet_Professional_M1212nf_MFP
HP_LaserJet_Professional_M1212nf_MFP_fax
The laserjet is a network attached printer.
Versions and config info follows
cups 2.1.4
wine 1.9.16
fedora 24
content of win.ini
[intl]
sLanguage=ENC
sCountry=Canada
sList=,
sCurrency=£
iCurrency=0
iNegCurr=1
iCurrDigits=2
iLZero=1
sMonDecimalSep=.
sMonGrouping=3;0
sMonThousandSep=,
sDecimal=.
sThousand=,
iDigits=2
Numshape=1
sNativeDigits=0123456789
iNegNumber=1
sNegativeSign=-
sPositiveSign=
sGrouping=3;0
s1159=AM
s2359=PM
sTime=:
iTime=1
iTLZero=1
sShortDate=dd/MM/yyyy
iDate=1
sLongDate=dd MMMM yyyy
iLDate=1
sDate=/
iTimePrefix=0
iCalendarType=1
iFirstDayOfWeek=0
iFirstWeekOfYear=0
sTimeFormat=HH:mm:ss
sYearMonth=MMMM yyyy
iMeasure=0
iCountry=2
iPaperSize=9
[devices]
[PrinterPorts]
[windows]
end of win.ini
wine registry entries
HKEY_CURRENT_USER\Software\Wine\Printing is missing
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Environments\Windows 4.0\Drivers\Version-0\HP_LaserJet_Professional_M1212nf_MFP
data file = HP_LaserJet_Professional_M1212nf_MFP.ppd
driver = wineps16.drv
Wine doesn't see cups printers
Re: Wine doesn't see cups printers
@rag,
Not really a subject I'm too familiar with (full disclaimer)...
But I guess the obvious things to check for are a multi-lib cups install. Here, in Gentoo land, the app-emulation/wine ebuild scripts checks for that kind of a thing... Needless to say I can see my networked Canon printer from a Wine Notepad on my laptop...
That part of the Gentoo ebuild will, when cups printing support is enabled, recursively ensure that cups dependencies are also all multi-lib (as required). I'm not sure how that would be handled on Fedora (although I do have Fedora 24 installed on my laptop as well - so I can check if you get really stuck!!)
Otherwise get some more information by enabling some debug channels. A quick look at the Wine source code suggests:
before running your Wine (test) application.
Bob
Not really a subject I'm too familiar with (full disclaimer)...
But I guess the obvious things to check for are a multi-lib cups install. Here, in Gentoo land, the app-emulation/wine ebuild scripts checks for that kind of a thing... Needless to say I can see my networked Canon printer from a Wine Notepad on my laptop...
Code: Select all
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
Otherwise get some more information by enabling some debug channels. A quick look at the Wine source code suggests:
Code: Select all
export WINEDEBUG=+psdrv,+winspool
Bob
Re: Wine doesn't see cups printers
Thank you Bob.
Wine needs the 32-bit cups library in order to see the printers. In Fedora 24 the command is "sudo dnf install cups-libs.i686".
Perhaps this dependency should be added to the wine package for Fedora. Does anyone know who I should suggest this to?
The requirement should also be declared in the wine documentation for any other 64-bit distro user whose cups package does not automatically include the 32-bit library.
Again thanks,
rag
Wine needs the 32-bit cups library in order to see the printers. In Fedora 24 the command is "sudo dnf install cups-libs.i686".
Perhaps this dependency should be added to the wine package for Fedora. Does anyone know who I should suggest this to?
The requirement should also be declared in the wine documentation for any other 64-bit distro user whose cups package does not automatically include the 32-bit library.
Again thanks,
rag
Re: Wine doesn't see cups printers
Since you posted this before there were any WineHQ packages for Fedora 24, I assume you must be using the distro package. File a bug with your distro.
FYI, there are now WineHQ packages for Fedora 24. AFAIK, they already pull in all the 32 bit dependencies. https://wiki.winehq.org/Fedora
FYI, there are now WineHQ packages for Fedora 24. AFAIK, they already pull in all the 32 bit dependencies. https://wiki.winehq.org/Fedora