TCPDF work?

I tried to use TCPDF but in scriptcase it didn’t work. I copied the code of one of the examples on the TCPDF website and inserted it into a pdfreport application (in the code) but prints a blank page. The example contains text according to TCPDF
Do I have to do something before entering the code?
Thanks