if i want to use option 1 , it should be done the same way as HTML2PDF? But still cannot. Not sure which part i go wrong