How to enable printing ? (doco problem)

Sylvain Petreolle spetreolle at yahoo.fr
Mon Jan 14 14:43:37 CST 2002


 --- Ilja Kamps <ikarus at ikarus.mine.nu> a écrit : > 
> 
> I guess that you have misread some info, but that
> switch was 
> not needed (anymore ?) last I checked, 
copy from printing.html : 

External printer drivers (non-working as of Jul 8, 01)

 At present only 16 bit drivers will work (note that
these include win9x drivers). To use them, add 

printer=on

 to the [wine] section of wine.conf (or
~/.wine/config). This lets CreateDC proceed if its
driver argument is a 16 bit driver. You will probably
also need to add 

"TTEnable" = "0" "TTOnly" = "0"

 to the [TrueType] section of ~/.wine/config. The code
for the driver interface is in graphics/win16drv. 

> if you use LPRng, LPD or some similair printing
deamon, add a [ppd]
> section to the ~/.wine/config and put "generic" =
"generic.ppd"
Done, now I see the wine printer.
ok, but commdlg reports :
fixme:commdlg:PRINTDLG_SetUpPrinterListCombo Can't
find '(null)' in printer list so trying to find
default

When printing with wine's notepad i have :
err:string:lstrcpyA ((nil), 0x405d69f8): page fault
occurred ! Caused by bug ?
err:string:lstrcpyA ((nil), 0x405d66f8): page fault
occurred ! Caused by bug ?
then the programs goes to debugger reporting a page
fault on reading  0x00000000 :

0x410c3e1a (PSDRV_WriteHeader+0x52 [ps.c:221] in
libwineps.so): repne scasb    %es:(%edi)
221         buf = (char *)HeapAlloc( PSDRV_Heap, 0,
sizeof(psheader) +

or 
(error reading 0x000000f0)

0x410be0c9 (PSDRV_StartDoc+0x8d [escape.c:260] in
libwineps.so): repne scasb   %es:(%edi)
260             physDev->job.output = HeapAlloc(
PSDRV_Heap, 0, strlen(doc->lpszOutput)+1 );



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Courrier : http://courrier.yahoo.fr




More information about the wine-users mailing list