Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-04-2015, 01:04 PM   #1
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Printer management under Wine

I am running Wine on CentOS 6 (and also a couple of versions of Ubuntu but the CentOS machine is where the printing concern resides.) I have all of 4 applications which I use under Wine. I only print from one, Visual Foxpro (xBase database files going back 30 years). The issue seems to be that over the several years the CentOS installation has been in use and as CUPS was upgraded etc. I needed to remove and recreate the entries for my Brother HL5170DN network attached laser printer. It is working fine from CentOS, from the Ubuntu machines and from a Windoze 7 test machine which I occasionally use. However, under Wine...

Each time a new printer is created on the CentOS machine it is added to the Wine printer list. When the printer is deleted on the CentOS machine it stays in the Wine printer list as viewed from an application running under Wine. Is there a way to manage the printer list which Wine maintains? I tried deleting the entries for the Brother printer from ~/.wine/drive_c/windows/win.ini but that did not do the trick. I can of course remove them from the Wine registry with regedit but that is tedious and I have not done Windoze registry tweaking in quite a while.

So the bottom line is... Is there a Wine configuration tool to manage printers?


Old 10-04-2015, 04:11 PM   #2
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,673

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Although I use wine apps occasionally, I haven't needed to print. A quick search turned up printui CLI which might do the job for you, although probably just as tedious as your regedit approach
Old 10-04-2015, 05:43 PM   #3
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Thanks ferrari,

I am not quite sure what that "utility" is supposed to do. I could not get it to return anything other than errors. I have ripped out ALL printers with regedit. The 3 printers actually available to the Linux system have reappeared as if by magic. I have one FoxPro label which no longer prints. I have used for more than 20 years - might have been created in DOS for all I remember.

Earlier this year Red Hat and thus CentOS upgraded CUPS to catch up with the rest of the Linux world. Cups-PDF was totally hosed - at least when printing from Firefox. There is a print to file in Firefox and I have become accustom to using that. As to the FoxPro reports and labels... I have the reports working now. I can print the labels to pdf and then print the pdf.

I may move to Ubuntu Mate 16.04 next year for the CentOS machine. I had moved from Ubuntu to CentOS back when Ubuntu 10.04 would not handle the dual monitor configuration which I wanted to setup. I have done some testing with later Ubuntu versions and they seem to handle it. I am running a little on the ragged edge with CentOS. My ancient video card is no longer supported so I can never upgrade the video driver (which I do not need to do UNLESS CentOS decides to force the issue - had that happen once.)

Thanks again,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer Management - Perl & Web Interface boyd98 Red Hat 1 09-12-2013 12:15 PM
Problem Printing from Wine to a Network Printer fmcelhannon Linux - Software 2 06-01-2007 12:47 PM
Wine and Printer Driver? jymmi Ubuntu 8 02-27-2007 10:42 AM
How can I use win printer through wine? hellblade Linux - Software 3 03-07-2005 08:01 AM
printer jefftrwmy Linux - Hardware 1 05-09-2002 08:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration