18 Oct
2006
18 Oct
'06
12:53
Alfredo Cole wrote:
El Lunes, 16 de Octubre de 2006 12:11, stephan beal escribió:
On Monday 16 October 2006 16:15, Alfredo Cole wrote:
system ("lpr -Pprinter_name filename")
but Apache will not run the system command. What error does apache give? Have you tried running the command with the absolute path, e.g.:
/usr/bin/lpr -Pprinter_name /path/to/filename
?
I get an EACCES error. I looked into SuExec but I can't figure out how to use it.
Regards.
Could it be that the apache user (usually apache, www or something similar) is not permitted to use CUPS? -- Regards, Aveek Bhattacharya IIT Bombay