[chora] enscript highlighting under windows

Jan Schneider jan at horde.org
Mon Dec 10 11:11:52 UTC 2007


Zitat von Valery Derongs <valery_derongs at qvc.com>:

> For instance with
> $mime_drivers['horde']['enscript']['location'] = 'C:/gnuwin32/bin/enscript';
>
> When I try to access the code, I get a line in the browser which says:
> The program used to view this data type (C:/gnuwin32/bin/enscript)  
> was not found
> on the system.
>
> However when I add the .exe as follows:
> $mime_drivers['horde']['enscript']['location'] =  
> 'C:/gnuwin32/bin/enscript.exe';

This is the correct one. You could even try (double) backward slashes,  
but that shouldn't make a difference.

> Then I get an empty framed numbered line in the browser (with nothing else)

You probably have to dig in the enscript mime driver code (render()  
method) to see where exactly it fails.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the chora mailing list