Wine - print to file (pdf, ps, jpg... whatever works)

Posted on 2011-10-17
Last Modified: 2012-05-12
Hi everybody,

I have an Ubuntu machine which is running Wine for an old windows program that I need to use. The windows program works fine, but it does not recognize any printers installed on the computer.

I'd like to ideally be able to print to a file from within the windows application. How can I install some sort of "virtual" printer that will work in wine that will let me print to a file?

The output format isn't important - postscript, pdf, image file, as long as it does in fact print and work.
Question by:Frosty555
    LVL 10

    Expert Comment

    I could be totally wrong on this but I think I remember reading that printing from 16-bit programs isn't possible under wine.  Is it old enough to be 16 bit?

    I just tackled some wine printing the other day, I could see how printing to a PDF would be nice.  I'm going to do some testing.  Have you tried installing CutePDF printer in the same wine bottle?  It probably won't work but might be worth a shot.
    LVL 10

    Accepted Solution

    Well under Ubuntu I was able to install the "cups-pdf" package and now I have the ability to choose "PDF" in my printers list within my WINE applications.  My next idea is to hunt down a 16 bit app and test printing with it.
    LVL 10

    Expert Comment

    I was able to hunt down a 16 bit app to test with.

    I was able to print fine to my CUPS PDF printer.  No idea what else to test at this point. :/
    LVL 31

    Author Comment

    It is a 32-bit application.

    Easy as pie! cups-pdf was the magic package I needed.

    Thank you for your help!
    LVL 10

    Expert Comment

    You are extremely welcome.  I know WINE is a pretty frustrating thing to manage.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now