Linux permissions issue when executing wkhtmltopdf-amd64

前端 未结 5 1012
庸人自扰
庸人自扰 2021-01-17 21:39

When I run the executable \"wkhtmltopdf-amd64\" (from Linux), I get the following output:

QPainter::begin(): Returned false============================] 100%         


        
5条回答
  •  情歌与酒
    2021-01-17 22:41

    Please use proper destination path with PDF file name. Here is an example:

    [xyz]$ wkhtmltopdf "https://www.google.co.in/?gfe_rd=cr\&ei=7n1LVeKNOMPCuAGDjoGACw\&gws_rd=ssl" /tmp/test/web/jj.pdf
    Loading pages (1/6)
    Counting pages (2/6)                                               
    Resolving links (4/6)                                                       
    Loading headers and footers (5/6)                                           
    Printing pages (6/6)
    Done                                                                      
    [xyz]$ 
    

提交回复
热议问题