[Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2011-10-17
Medium Priority
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
  • 4
LVL 10

Expert Comment

ID: 36983530
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

Purple_Tidder earned 2000 total points
ID: 36983575
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

ID: 36983587
I was able to hunt down a 16 bit app to test with. http://www.winvi.de/en/download.html

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

Author Comment

ID: 36988560
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

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

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month20 days, 10 hours left to enroll

868 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