no printing under wine

Questions about printers and scanners, hardware-related and/or software-related can be asked here, as well as posting of tutorials.
Message
Author
User avatar
Kepu
Forum Novice
Forum  Novice
Posts: 16
Joined: Fri Feb 29, 2008 12:13 am

no printing under wine

#1 Postby Kepu » Thu Oct 13, 2011 4:39 pm

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.
All programs direct from mepis11 prints fine, only from wine ...no printers

User avatar
joany
Forum Veteran
Forum Veteran
Posts: 6109
Joined: Mon Feb 12, 2007 1:45 pm

Re: no printing under wine

#2 Postby joany » Thu Oct 13, 2011 5:45 pm

This came from the Wine User Guide. I highlighted the relevant statement:
4.3.4. Printers

Wine can interact directly with the local CUPS printing system to find the printers available on your system. Configuring printers with Wine is as simple as making sure your CUPS configuration works. Wine still needs the command lpr(from CUPS), when printing a Document.

If you do not use CUPS, the old BSD-Printing system is used:
All Printers from /etc/printcap are installed automatically in Wine.
Wine needs a PPD-File for every Printer (generic.ppd comes with Wine)
The command lpr is called when printing a Document


I guess the first question is whether your printer is properly set up in CUPS. Go to this link: http://localhost:631/printers/

Make sure your printer is listed there and is properly installed. Make sure the printer is running and it is set as the default printer.

EDIT:

Forgot to ask which version of MEPIS you are using: 32-bit or 64-bit? IIRC, if you use 64-bit, there are additional packages you need to install in order for Wine to work correctly.
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.

User avatar
Kepu
Forum Novice
Forum  Novice
Posts: 16
Joined: Fri Feb 29, 2008 12:13 am

Re: no printing under wine

#3 Postby Kepu » Thu Oct 13, 2011 6:34 pm

I looked from: http://localhost:631/printers/

it shows my printer in cups:
Hewlett-Packard psc 1200 series mepis1 HP PSC 1200 Series hpijs, 3.10.6.15 Idle

My mepis version is is 32-bit

User avatar
joany
Forum Veteran
Forum Veteran
Posts: 6109
Joined: Mon Feb 12, 2007 1:45 pm

Re: no printing under wine

#4 Postby joany » Thu Oct 13, 2011 7:15 pm

Kepu wrote:I looked from: http://localhost:631/printers/

it shows my printer in cups:
Hewlett-Packard psc 1200 series mepis1 HP PSC 1200 Series hpijs, 3.10.6.15 Idle

My mepis version is is 32-bit

Most HP printers work with MEPIS OOTB, and it seems that your printer is set up properly in CUPS. Wine is fully functional with 32-bit MEPIS without installing any additional packages, so your printer should "just work" according to the Wine documentation.

There used to be a Wine configuration file, but that file has been deprecated for several years and has been replaced by winecfg. As far as I can tell, there are no specific winecfg settings for printers, but you could run winecfg > Applications and make sure that each of your Windows applications are running under the proper Windows versions, or that the default version isn't set to something that your applications won't run under.

Beyond that, I'm afraid I've run out of ideas.
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.

User avatar
DBeckett
Forum Veteran
Forum Veteran
Posts: 3064
Joined: Sat May 16, 2009 3:59 pm

Re: no printing under wine

#5 Postby DBeckett » Thu Oct 13, 2011 8:20 pm

Kepu wrote:Just installed wine to my mepis11, and few programs under it, ... irfaview, justbasic,...
everything works fine except printing

What version of wine did you install? Was it the very old one from Debian, or the newest one (1.3.29) from the Community Repo?

Joanie is correct, printing from a wine app should "just work" with no intervention on your part. It does for me.
Gigabyte 990FXA-UD3, AMD FX-6100 hex-core, 3.3GHz, 8G, Radeon HD6570

User avatar
Kepu
Forum Novice
Forum  Novice
Posts: 16
Joined: Fri Feb 29, 2008 12:13 am

Re: no printing under wine

#6 Postby Kepu » Thu Oct 13, 2011 9:31 pm

I don't know what happened, but now after several bootings, in wine irfanview is printing and my technical
drawing is printing ( made with justbasic),
The biggest problem is now how to get printer orientation to landscape in mepis
and also if I try to print justbasic program listings they are are just thick black lines instead of characters? wierd?

User avatar
lucky9
Forum Veteran
Forum Veteran
Posts: 12272
Age: 70
Joined: Wed Jul 12, 2006 5:54 am

Re: no printing under wine

#7 Postby lucky9 » Thu Oct 13, 2011 10:33 pm

Kepu wrote:The biggest problem is now how to get printer orientation to landscape in mepis


Try System Settings/Printer Configuration/Local Printers/(your printer name here)/Job Options and set the orientation correctly.....or you can do this for an individual printing job
using the print properties instead of just clicking on Print. You might take a look at the User Manual or our Wiki for hints on how the system works.
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

User avatar
Kepu
Forum Novice
Forum  Novice
Posts: 16
Joined: Fri Feb 29, 2008 12:13 am

Re: no printing under wine

#8 Postby Kepu » Thu Oct 13, 2011 11:54 pm

Yes , I change orientation from there now it print landscape , but only half is seen other half is outside of paper
Bottom of drawing is on middle of paper
The paper size is right
I feel stupid
Huh? :bagoverhead:

User avatar
joany
Forum Veteran
Forum Veteran
Posts: 6109
Joined: Mon Feb 12, 2007 1:45 pm

Re: no printing under wine

#9 Postby joany » Fri Oct 14, 2011 8:15 am

Kepu wrote:Yes , I change orientation from there now it print landscape , but only half is seen other half is outside of paper
Bottom of drawing is on middle of paper
The paper size is right
I feel stupid
Huh? :bagoverhead:

I think this problem can be fixed within the application you're running in Wine. I run Autosketch from Wine and I have to change the Print Preview settings in Autosketch to "Extent View" and "Fitted to Printer Page" before printing; otherwise, the entire drawing won't fit on the printed page.

Does IrfanView have a Print Preview with page setup settings? If so, then your answer probably lies in those settings.
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.

User avatar
Kepu
Forum Novice
Forum  Novice
Posts: 16
Joined: Fri Feb 29, 2008 12:13 am

Re: no printing under wine

#10 Postby Kepu » Fri Oct 14, 2011 11:16 am

Irfanview is working fine
My technical drawing program just dump whole screen to printer and
there is no preview feature, and that seems not to work in wine on landscape orientation. (in windows vista it works )

Is there any direct command to use from terminal to change the place (coordinates) of a landscape drawing on paper


Return to “Print/Scan”

Who is online

Users browsing this forum: No registered users and 1 guest