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”);