WINEPS insists on using LPT1:

Lee Allen lee at leadtec.com
Tue Mar 13 09:05:43 CST 2001


The following lines were already present in that module:

    physDev->job.output = output ?
      HEAP_strdupA( PSDRV_Heap, 0, output ) :
      HEAP_strdupA( PSDRV_Heap, 0, "LPT1:" );  /* HACK */

There is a TRACE earlier in that function:
	TRACE("(%s %s %s %p)\n", driver, device, output, initData);
Which produces:
	trace:psdrv:PSDRV_CreateDC (WINEPS Wine PostScript Driver
(null) 0x4038fc7c)

So 'output' is null, so "LPT1:" is used, I guess.

Where do we go from here?

-Lee Allen

On Mon, 12 Mar 2001 22:53:38 GMT, g.patel at wanadoo.fr wrote:

>On Mon, 12 Mar 2001 20:07:00 GMT, lee at leadtec.com (Lee Allen) wrote:
>
>>I'm running Wine 20010305.  I am using the WINEPS driver and trying to
>>direct it to various printers on various ports.  It seems to output to
>>port LPT1 regardless of the port I specify in the registry and
>>win.ini.  
>
>Hum, could you change this 
>
>./dlls/wineps/init.c:
>      HEAP_strdupA( PSDRV_Heap, 0, "LPT1:" );  /* HACK */    
>
>and try again ? Maybe there is some relation.
>
>Gerard




More information about the wine-users mailing list