Powerbuilder 5 App not printing anymore

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fhmanas
Level 2
Level 2
Posts: 12
Joined: Wed Dec 03, 2008 3:14 am

Powerbuilder 5 App not printing anymore

Post by fhmanas »

Hello, I have an app that is working great with wine, have used it since wine 0.9.46 and has been excellent over time, with less dependencies to native dlls, I am now down to the last one msvcrt.dll

I am using the app in several Ubuntu versions, 7.10, 8.04,7.04,8.10 and wine 1.0 to 1.1.9

The app works fine in all respects but I have been informed that now it does not like to print. I have tested wine notepad and it prints fine on the same printer. My app does nothing and outputs the ff:

fixme:psdrv:PSDRV_ExtDeviceMode Mode DM_UPDATE. Just do the same as DM_COPY
fixme:psdrv:PSDRV_ExtEscape QUERYESCSUPPORT(25) - not supported.
lpr: printer-: unknown printer


I know the printer exists and is recognized by wine notepad.

Can anybody help?
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Re: Powerbuilder 5 App not printing anymore

Post by jeffz »

fhmanas wrote:Hello, I have an app that is working great with wine, have used it since wine 0.9.46 and has been excellent over time, with less dependencies to native dlls, I am now down to the last one msvcrt.dll

I am using the app in several Ubuntu versions, 7.10, 8.04,7.04,8.10 and wine 1.0 to 1.1.9

The app works fine in all respects but I have been informed that now it does not like to print. I have tested wine notepad and it prints fine on the same printer. My app does nothing and outputs the ff:

fixme:psdrv:PSDRV_ExtDeviceMode Mode DM_UPDATE. Just do the same as DM_COPY
fixme:psdrv:PSDRV_ExtEscape QUERYESCSUPPORT(25) - not supported.
lpr: printer-: unknown printer


I know the printer exists and is recognized by wine notepad.

Can anybody help?
If it used to work but nolonger does then you should run a regression test to find out where it broke.

http://wiki.winehq.org/RegressionTesting
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Powerbuilder 5 App not printing anymore

Post by vitamin »

fhmanas wrote:lpr: printer-: unknown printer

I know the printer exists and is recognized by wine notepad.
Try installing your application into new WINEPREFIX ex:

Code: Select all

WINEPREFIX=~/.wine-try2 wine d:\\setup.exe
fhmanas
Level 2
Level 2
Posts: 12
Joined: Wed Dec 03, 2008 3:14 am

Re: Powerbuilder 5 App not printing anymore

Post by fhmanas »

vitamin wrote:
fhmanas wrote:lpr: printer-: unknown printer

I know the printer exists and is recognized by wine notepad.
Try installing your application into new WINEPREFIX ex:

Code: Select all

WINEPREFIX=~/.wine-try2 wine d:\\setup.exe
What would WINEPREFIX do? The way I understand it, WINEPREFIX allows simulation of a "2nd" Windows instance. Is this correct? Also, what is the connection with the printer not printing


Will try the regression, but to be honest I have never done any regression before.

I was thinking maybe I just missed a setting, since the 0.9.46 version is part of the official Ubuntu repository and the latest is from WineHQ

Is there a setting I should look for?

Thanks for the replies.
fhmanas
Level 2
Level 2
Posts: 12
Joined: Wed Dec 03, 2008 3:14 am

Post by fhmanas »

I have been seeing a lot of posts that says that Wine should be compiled with CUPS support, isn't this the default? If not how should I go about having CUPS support for Wine in Ubuntu using the winehq repository rather than Ubuntu repository
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

fhmanas wrote:I have been seeing a lot of posts that says that Wine should be compiled with CUPS support, isn't this the default? If not how should I go about having CUPS support for Wine in Ubuntu using the winehq repository rather than Ubuntu repository
If notepad prints for you, then you have CUPS support. If your app printed fine with older versions of Wine, and doesn't with newer ones, you need to run a regression test and file a bug report. However, before you do that, I recommend trying a fresh install of your app to a clean wineprefix to see if that fixes it.
fhmanas
Level 2
Level 2
Posts: 12
Joined: Wed Dec 03, 2008 3:14 am

Post by fhmanas »

ok will try to install in a new wineprefix, and will try a regression test.
Locked