[Wine] Can only print to the default printer

Fitzcarraldo wineforum-user at winehq.org
Sun Nov 7 17:01:20 CST 2010


I am not sure if I am experiencing a WINE bug (I have looked through the bug reports but can't see this particular problem mentioned) or if this is a current limitation of WINE...

I am using 64-bit Sabayon Linux (multilib) 2.6.36-sabayon kernel with CUPS 1.4.4-r2 and 32-bit WINE 1.3.4.

I have several printers configured in CUPS. With native Linux applications I can select from each application's Print window whichever of these printers I want to use, and can print to any of them. However, when running Windows applications under WINE, although each Windows application's Print window allows me to select any of the printers that I have configured in CUPS, the only printer that it actually prints on is the printer that is the default CUPS printer. Below is my win.ini file:


Code:
[intl]
sLanguage=ENG
sCountry=United Kingdom
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=44
iPaperSize=9
[devices]
Canon_MP510_Printer=WINEPS.DRV,LPR:Canon_MP510_Printer
EPSON_Stylus_Photo_950=WINEPS.DRV,LPR:EPSON_Stylus_Photo_950
HP_color_LaserJet_5500dn=WINEPS.DRV,LPR:HP_color_LaserJet_5500dn
HP_Color_LaserJet_CM1312nfi_MFP=WINEPS.DRV,LPR:HP_Color_LaserJet_CM1312nfi_MFP
Virtual_PDF_Printer=WINEPS.DRV,LPR:Virtual_PDF_Printer
[PrinterPorts]
Canon_MP510_Printer=WINEPS.DRV,LPR:Canon_MP510_Printer,15,45
EPSON_Stylus_Photo_950=WINEPS.DRV,LPR:EPSON_Stylus_Photo_950,15,45
HP_color_LaserJet_5500dn=WINEPS.DRV,LPR:HP_color_LaserJet_5500dn,15,45
HP_Color_LaserJet_CM1312nfi_MFP=WINEPS.DRV,LPR:HP_Color_LaserJet_CM1312nfi_MFP,15,45
Virtual_PDF_Printer=WINEPS.DRV,LPR:Virtual_PDF_Printer,15,45
[windows]
device=HP_color_LaserJet_5500dn,WINEPS.DRV,LPR:HP_color_LaserJet_5500dn



The printer in the [windows] section of win.ini is the default CUPS printer (HP_color_LaserJet_5500dn), and I cannot print a document on any of the other printers (Canon_MP510_Printer, EPSON_Stylus_Photo_950, HP_Color_LaserJet_CM1312nfi_MFP, Virtual_PDF_Printer) even if I select them in the Windows application's Print window. The document is always printed on the default CUPS printer.

If I exit the Windows application, then launch the CUPS browser interface and change the default CUPS printer, then launch the Windows application under WINE again, the default printer in the win.ini file is changed to the new default CUPS printer. So at least there is a work-around. But it's still a major hassle to have to do all that just to print to a different printer on the network, when one is able to select and print to any printer in the list of printers in the Print window of a Linux application, or in the Print window of a Windows application running in Windows.

If your PC can access more than one printer, can you select and print on any of your CUPS printers in the Print menu of Windows applications under WINE? Or is the functionality I describe above a current known limitation of WINE? Or is what I'm experiencing a bug?

Hoping someone can enlighten me. Thanks in advance.







More information about the wine-users mailing list