Installing pdf printer for wine

Questions about Wine on Linux
Locked
keevitaja
Level 1
Level 1
Posts: 5
Joined: Thu Apr 10, 2014 3:22 am

Installing pdf printer for wine

Post by keevitaja »

Hi,

i have this one businessapplication which i can use only with wine, but i need it to have the ability to print at least into pdf files. is it possible to add pdf printer to my wine installation?

note: using ubunti 12.04 lts
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Installing pdf printer for wine

Post by dimesio »

You don't install printers in Wine, you install them in CUPS. Wine should be able to use any printer you have installed in CUPS, including cups-pdf. If you're not sure which package to install, ask your distro. It's not a Wine question.
keevitaja
Level 1
Level 1
Posts: 5
Joined: Thu Apr 10, 2014 3:22 am

Re: Installing pdf printer for wine

Post by keevitaja »

Hi again, still same problem.

I'm using linux mint 17. cups-pdf is installed and working in mint.

Wine cannot detect this printer. What can i do to fix this problem?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Installing pdf printer for wine

Post by dimesio »

Wine version? If it's not the latest development release, upgrade. If it doesn't work in current Wine, post terminal output from trying to print in notepad.
keevitaja
Level 1
Level 1
Posts: 5
Joined: Thu Apr 10, 2014 3:22 am

Re: Installing pdf printer for wine

Post by keevitaja »

hi,

i've tried both 1.6 and 1.7. same issue

when i try to print from notepad (opened with wine notepad command) i get following message:

fixme:winspool:WINSPOOL_EnumPrintersW We don't handle PRINTER_ENUM_CONNECTIONS

and notepad dialog says i first have to install a printer.

btw printing was working in ubuntu 14.04 + cups + wine
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Installing pdf printer for wine

Post by dimesio »

Is your system 64 bit? If it is, do you have the necessary 32 bit cups libraries installed?
keevitaja
Level 1
Level 1
Posts: 5
Joined: Thu Apr 10, 2014 3:22 am

Re: Installing pdf printer for wine

Post by keevitaja »

yes, my system is 64bit. and i do not know, if i have these 32 bit libs installed. how do i check it? which libs am i looking for?

http://pastebin.com/8idyvyXe
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Installing pdf printer for wine

Post by dimesio »

On my system (openSUSE) the package is cups-libs-32bit, but package naming varies by distro, so it could be something different on Mint. Ask on the Mint forum.
keevitaja
Level 1
Level 1
Posts: 5
Joined: Thu Apr 10, 2014 3:22 am

Re: Installing pdf printer for wine

Post by keevitaja »

dimesio, it worked. you're the ninja.

all you have to do, is to install libcups2:i386 in linux mint

thank you so much!
Locked