Slow printing buffer.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Slow printing buffer.

Post by isaac »

Abbreviated question:
Is there a way to manipulate how Wine handles printing?

Abbreviated problem description:
Microsoft Word 2007 takes roughly 3 minutes per page to print.

-----------------------------------------
Longer version:

I'm using a registered and licensed copy, I purchased, of Microsoft Office 2007. I installed it perfectly! All the applications work and I've gotten a lot of work done! Right now I'm running the latest version of Wine 1.3+ with wine tricks and everything else the ppa offers that all MS Office applications require to run with out crashing.

Also I'm running Ubuntu 10.10 and it's completely up to date.
My default printer settings are on the lowest resolution, draft mode, with black ink. When I print using Word, it's clearly using these settings, but the buffer time is enormous! It feels like an easy problem to fix, but I can't find anyone else posting about this.

Here's what happens:
1. I initiate the print.
2. Microsoft word takes roughly 3 minutes per page to print.
3. Nothing is printed until Word says that all pages have been printed (Might be a clue)

There seems to be no printing options in Wine. Is there a way to manipulate how Wine handles printing jobs?

Thank you very much!!!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Slow printing buffer.

Post by dimesio »

isaac wrote:Right now I'm running the latest version of Wine 1.3+ with wine tricks and everything else the ppa offers that all MS Office applications require to run with out crashing.
Office 2007 doesn't require any winetricks to install or run. If you've installed any, that could well be the cause of your problem. Reinstall to a clean wineprefix (no winetricks, nothing else installed). After installing, set riched20 to native and usp10 to native, builtin; there is no need to install either with winetricks, as Office installs its own version of these dlls.
Here's what happens:
1. I initiate the print.
2. Microsoft word takes roughly 3 minutes per page to print.
3. Nothing is printed until Word says that all pages have been printed (Might be a clue)
I have Word 2007 installed, and it does not take 3 minutes per page to print.
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Re: Slow printing buffer.

Post by isaac »

dimesio wrote:Office 2007 doesn't require any winetricks to install or run. If you've installed any, that could well be the cause of your problem.
I try it again with out, but I'm sure I'll need vcrun2005 at some point.
dimesio wrote:usp10 to native
Excellent! There was one menu, the equations menu found under Insert, that used to not load and now it does, after enabling this override!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Slow printing buffer.

Post by dimesio »

isaac wrote: I try it again with out, but I'm sure I'll need vcrun2005 at some point.
Office installs its own vcrun, and installing other versions causes problems. If you need it for some other app, use a separate wineprefix.
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Post by isaac »

Ah!!! Ok.
By a separate wine prefix, you mean making a new .wine file? Like renaming .wine to .wineB?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

isaac wrote:Ah!!! Ok.
By a separate wine prefix, you mean making a new .wine file? Like renaming .wine to .wineB?
Yes. http://wiki.winehq.org/FAQ#head-faf9617 ... 522d490faf
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Post by isaac »

I installed office in it's new prefix and didn't use winetricks. Everything works perfectly, however it still takes roughly 3 minutes per page.

New idea...
I think it might have something to do with me using images with shadow effects... I'll post an update on this later.

summary: problem still exists.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

isaac wrote:New idea...
I think it might have something to do with me using images with shadow effects... I'll post an update on this later.

summary: problem still exists.
Do you have a file you can upload that demonstrates this problem?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Note: isaac pm'd me with a link and I downloaded the file.

On my system, in Wine, it takes about 80 seconds before the first page starts to print. In Windows, on the same hardware with the same file, the delay is only about 10 seconds. In both cases, nothing starts to print until after Word says printing is finished.

You should file a bug, and attach the file that demonstrates the problem. Severity should be set to minor, and add "performance" as a keyword. http://bugs.winehq.org/
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

You're right about it being related to the shadow effects. Removing them makes the file spool much faster.
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Post by isaac »

You have been more than helpful!

And I can happily live without shadow effects. I'll also do my best to file the bug.
grovesteyn
Newbie
Newbie
Posts: 1
Joined: Tue Mar 27, 2012 11:45 am

Any progress

Post by grovesteyn »

Has anybody learnt more about this problem? I have Office 2007 installed and also have the slow printing problem. For larger documents it becomes completely debilitating.

I installed office into a completely new .wine with Wine 1.4

Grové
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Hi isaac and grovestyn,

at least one of you should file a bug and provide sample documents, maybe one of you could file the bug, the other upload some sample documents.

kind regards,
Locked