Tcpdf error

i use this and works in my web server: [path] = ‘/var/www/vhosts/site/httpdocs/scriptcase/tmp’;

i install in computer wamp server for use in local, but obtain error : TCPDF ERROR: Unable to create output file: c:/wamp/tmp/fattura-demo.pdf

obtain error with this script: [path] = ‘c:/wamp/tmp’;

[file_name] = ‘fattura-demo’;

sc_pdf_output([path].’/’.[file_name].’.pdf’,“F”);

check the permits for the folder and the user you have the service configured with.

REgards

As kafecadm sais, this normally is related to permissions. Create inside your deployed project folder a tmp folder and try with:
sc_pdf_output(’…/tmp/’.[file_name].’.pdf’,‘F’);