Hello all, I offer to donate $50 to wine if somebody can give me the golden tip to get printing going from astro. I have astro (astrology software) running under wine 1.1.22 and it works fine, except for printing -which I really need-. Printing under wine works fine with other apps. I can select the printer (WINEPS using CUPS) without problems, but if I click print, nothing happens. There is also no output in my terminal window indicating an error. Unfortunately the developer of astro has passed away and I cannot ask him how he has setup printing in astro. I know from trying with ResHack that astro is not a win32 app. I otherwise runs fine. I have the program + instructions available for anyone who wants to give it a try. From previous experiences (thank you Rein) I know that you do need 1.1.22, or otherwise the app will not run at all. Please help. Running Fedora 10 x86_64 with wine 1.1.22 Printer Epson Aculaser C2600 Rembert
rja wrote:> There is also no output in my terminal window indicating an error.Do you mean there is no output at all, or just nothing labeled "err"?
I mean I do see the log of the jobs that went wel, but no job appears if I print from astro..
th following is repeated over and over again, except if i print from a working program other than astro and a print is produced.. D [08/Jun/2009:10:57:15 +0200] CUPS-Get-Printers D [08/Jun/2009:10:57:15 +0200] cupsdProcessIPPRequest: 23 status_code=0 (successful-ok) D [08/Jun/2009:10:57:15 +0200] cupsdCloseClient: 23 D [08/Jun/2009:10:57:17 +0200] cupsdAcceptClient: skipping getpeercon() D [08/Jun/2009:10:57:17 +0200] cupsdAcceptClient: 23 from localhost (Domain) D [08/Jun/2009:10:57:17 +0200] cupsdAcceptClient: skipping getpeercon() D [08/Jun/2009:10:57:17 +0200] cupsdAcceptClient: 25 from localhost (Domain) D [08/Jun/2009:10:57:17 +0200] cupsdCloseClient: 23 D [08/Jun/2009:10:57:17 +0200] cupsdReadClient: 25 POST / HTTP/1.1 D [08/Jun/2009:10:57:17 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:18 +0200] CUPS-Get-Printers D [08/Jun/2009:10:57:18 +0200] cupsdProcessIPPRequest: 25 status_code=0 (successful-ok) D [08/Jun/2009:10:57:18 +0200] cupsdCloseClient: 25 D [08/Jun/2009:10:57:20 +0200] cupsdAcceptClient: skipping getpeercon() D [08/Jun/2009:10:57:20 +0200] cupsdAcceptClient: 23 from localhost (Domain) D [08/Jun/2009:10:57:20 +0200] cupsdAcceptClient: skipping getpeercon() D [08/Jun/2009:10:57:20 +0200] cupsdAcceptClient: 25 from localhost (Domain) D [08/Jun/2009:10:57:20 +0200] cupsdCloseClient: 23 D [08/Jun/2009:10:57:20 +0200] cupsdReadClient: 25 POST / HTTP/1.1 D [08/Jun/2009:10:57:20 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] CUPS-Get-Printers D [08/Jun/2009:10:57:21 +0200] cupsdProcessIPPRequest: 25 status_code=0 (successful-ok) D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: skipping getpeercon() D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: 23 from localhost (Domain) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 POST / HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] Get-Printer-Attributes ipp://localhost/printers/printer D [08/Jun/2009:10:57:21 +0200] cupsdProcessIPPRequest: 23 status_code=0 (successful-ok) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 GET /printers/printer.ppd HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] cupsdCloseClient: 23 D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: skipping getpeercon() D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: 23 from localhost (Domain) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 POST / HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] Get-Printer-Attributes ipp://localhost/printers/printer D [08/Jun/2009:10:57:21 +0200] cupsdProcessIPPRequest: 23 status_code=0 (successful-ok) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 GET /printers/printer.ppd HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] cupsdCloseClient: 23 D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: skipping getpeercon() D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: 23 from localhost (Domain) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 POST / HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] Get-Printer-Attributes ipp://localhost/printers/printer D [08/Jun/2009:10:57:21 +0200] cupsdProcessIPPRequest: 23 status_code=0 (successful-ok) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 GET /printers/printer.ppd HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] cupsdCloseClient: 23 D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: skipping getpeercon() D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: 23 from localhost (Domain) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 POST / HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] Get-Printer-Attributes ipp://localhost/printers/printer D [08/Jun/2009:10:57:21 +0200] cupsdProcessIPPRequest: 23 status_code=0 (successful-ok) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 GET /printers/printer.ppd HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] cupsdCloseClient: 23 D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: skipping getpeercon() D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: 23 from localhost (Domain) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 POST / HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] Get-Printer-Attributes ipp://localhost/printers/printer D [08/Jun/2009:10:57:21 +0200] cupsdProcessIPPRequest: 23 status_code=0 (successful-ok) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 GET /printers/printer.ppd HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided. D [08/Jun/2009:10:57:21 +0200] cupsdCloseClient: 23 D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: skipping getpeercon() D [08/Jun/2009:10:57:21 +0200] cupsdAcceptClient: 23 from localhost (Domain) D [08/Jun/2009:10:57:21 +0200] cupsdReadClient: 23 POST / HTTP/1.1 D [08/Jun/2009:10:57:21 +0200] cupsdAuthorize: No authentication data provided.
rja wrote:> Hello all, > > I offer to donate $50 to wine if somebody can give me the golden tip to get printing going from astro. I have astro (astrology software) running under wine 1.1.22 and it works fine, except for printing -which I really need-. Printing under wine works fine with other apps. I can select the printer (WINEPS using CUPS) without problems, but if I click print, nothing happens. There is also no output in my terminal window indicating an error. > > Rembert
ok, so now printdlg16.c looks like if (lppd->hDevNames != 0) { WORD locks; if((locks = (GlobalFlags16(lppd->hDevNames)&GMEM_LOCKCOUNT))) { WARN("hDevNames has %d locks on it. Unlocking it now\n", locks); while(locks--) GlobalUnlock16(lppd->hDevNames); } } strcpy( di->pDriverPath, "wineps16"); PRINTDLG_CreateDevNames16(&(lppd->hDevNames), di->pDriverPath, pi->pPrinterName, pi->pPortName Right?
On Mon, Jun 8, 2009 at 3:13 PM, rja<wineforum-user at winehq.org> wrote:> ok, so now printdlg16.c looks like > > if (lppd->hDevNames != 0) { > ? ? ? ? ? ? ? ?WORD locks; > ? ? ? ? ? ? ? ?if((locks = (GlobalFlags16(lppd->hDevNames)&GMEM_LOCKCOUNT))) { > ? ? ? ? ? ? ? ? ? ?WARN("hDevNames has %d locks on it. Unlocking it now\n", locks); > ? ? ? ? ? ? ? ? ? ?while(locks--) > ? ? ? ? ? ? ? ? ? ? ? ?GlobalUnlock16(lppd->hDevNames); > ? ? ? ? ? ? ? ?} > ? ? ? ? ? ?} > ? ? ? ? ? ? ? ?strcpy( di->pDriverPath, "wineps16"); > ? ? ? ? ? ?PRINTDLG_CreateDevNames16(&(lppd->hDevNames), > ? ? ? ? ? ? ? ? ? ?di->pDriverPath, > ? ? ? ? ? ? ? ? ? ?pi->pPrinterName, > ? ? ? ? ? ? ? ? ? ?pi->pPortName > > Right? > > > > > >Yes. -- -Austin
WINE JUST EARNED $50!!!!!!!!!!!!!!!!!!!!!! It works...How did you do it Rein, what is there to understand? R:)mbert
just a minor thing... I could not print consecutively (without restarting the program) In the wine registry I changed the printer port to lpt1 and now I can print multiple jobs without restarting astro. It just needs a longer time to spool. jeee, now I wished I could understand why this works... I just paypalled my $50 as promised. keep up the good work guys...