String[]argss=newString[3]; argss[0]="D:/wkhtmltopdf/bin/wkhtmltopdf.exe"; argss[1]=urlp; argss[2]=filenamepdf; Html2PdfUtilhp=newHtml2PdfUtil(); hp.htmltopdf(argss);