[Wine] printer doesn't work under wine

Martin Gregorie martin at gregorie.org
Thu Oct 13 18:03:00 CDT 2011


On Thu, 2011-10-13 at 14:13 -0500, Kepu wrote:
> Just installed wine to my mepis11, and few programs under it, ... irfaview, justbasic,...
> everything works fine except printing, 
> under wine, non of those  programs show any printers not a virtual .pdf or my  HP1200.
> any suggestion? I am total novice, please.
> 
The following should be in the FAQ. If it already is, it needs more
visibility. If not, it should be added. Either way id need to be easy to
find since this is a common question that has been asked many times.

Wine prints through CUPS. It expects CUPS to be available as an internet
printer, rather than using the 'lpr' interface. However, most distros
only enable the lpr interface by default and block internet printing.
So, to make CUPS available to Wine, you have to enable Internet
printing. Do the following by using your distro's  Print Server
configuration tool:
- enable 'Publish shared printers connected to this system' 
- enable 'Allow printing from the internet'

This lets CUPS accept Internet printing jobs from the local machine
regardless of which machine the printer is attached to or whether it is
a network printer: Wine sends the print job to the local CUPS service
which spools the document and then sends it to the default printer
regardless of whether that printer is locally attached, is attached to
another computer on your network, or is a network printer.

You'll need to know the root password to do this. It also goes without
saying that you have previously set up CUPS correctly, which means
that: 
- you have set up CUPS to use your printer(s)
- you have set your preferred printer as the default printer
- you have tested that CUPS can successfully print the test page on
  this printer

Martin





More information about the wine-users mailing list