saveWebViewAsPdf:toFile

I’d like to convert an html file to PDF, for example through BNHtmlPdfKit or see cocoadocs with xojo (desktop, IOS or web), somebody could please help me?

There is also wkhtmltopdf but it has to be installed on the pc/mac…

Thanks for any help Rob