some programs do not print

Questions about Wine on Linux
Locked
schau
Newbie
Newbie
Posts: 3
Joined: Sun Jun 04, 2023 11:25 am

some programs do not print

Post by schau »

Hello,

I'm using Ubuntu 22.04.2 and Wine 8.0.1. With Wine I'm using Irfanview64 and
Microsoft Word2000 (32 bit) for which I have a license. Both programs run well.
Irfanview printing works well. Word printing (with a Brother printer or PDF printing)
failes. The print job appears in the CUPS scheduler with state "pausing" in both
cases. When pressing the continue button, the job is discarded instead of continued.
The CUPS error log then tells me "Aborting job because it has no files."

Of course, pressing the discard button, the job also will be discarded.

With Ubuntu 20.04.5 this problem doesn't exist and all Word dokuments are
printed without problems both on the Brother and into PDF.

Printing with Linux programs work well. The printer is connected via USB.
PDF printing is done with cups-pdf.

I tried to use a special win32 prefix for Word but this doesn't help.

What can be the reason for the state "pausing" of Wine 32bit print jobs?

How can I print with Word as I've done in Ubuntu 20.04?

Best regards
Schau
schau
Newbie
Newbie
Posts: 3
Joined: Sun Jun 04, 2023 11:25 am

Re: some programs do not print

Post by schau »

Hello,

I tried to switch back to Wine 6.0.3 I used before upgrading
Ubuntu to 22.04. Now printing is done well again.
Both CUPS-PDF and laser printer do.

So something has changed in Wine 8.0.1 which prevents printing.

With this older Wine version, the favourites bar of Ubuntu doesn't
work anymore with Windows programs. Doubleclicking on Word
files with Nautilus start Word, same as Irfanview with images.

Best regards
Schau
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: some programs do not print

Post by jkfloris »

There have been some recent changes to the Wine printer driver.
Could you please test if printing works properly with Wine 8.10?
schau
Newbie
Newbie
Posts: 3
Joined: Sun Jun 04, 2023 11:25 am

Re: some programs do not print

Post by schau »

I needed to compile 8.10 because there is no ready-to-run package.
With this I succeeded to run a 64 bit application but no 32 bit application.
This is a Wow64 thing I'm currently not able to fix. Need to read manuals.

Anyway, with a 64 bit application the printers are not detected. So I can't test the printing
capabilities of 8.10.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: some programs do not print

Post by jkfloris »

I'm using Ubuntu 22.04.2
...
because there is no ready-to-run package.
WineHQ builds packages for Ubuntu Jammy. If you don't want to remove your current Wine installation, it is possible to install the WineHQ packages side by side.

Code: Select all

# Install the latest version of Wine (currently version 8.14)
# Note that "hq" is missing after "wine"
sudo apt install --install-recommends wine-devel

# Run wine devel with something like:
WINEPREFIX=~/special-32bit-word-prefix /opt/wine-devel/bin/wine WORD.EXE
Need to read manuals.

Anyway, with a 64 bit application the printers are not detected. So I can't test the printing
capabilities of 8.10.
A list of which packages are needed (and why) is available on the wiki. You need the libcups2-dev packages for printer support.
Locked