Skip to content

Could not run command wkhtmltopdf on centos 7 #361

@myasir00

Description

@myasir00

On ubuntu its working fine but on centos 7 its not working. My Settings are

        'no-outline',         // Make Chrome not complain
        'orientation' => 'Landscape',
        //'binary' => '/usr/bin/wkhtmltopdf', AND //'binary' => '/usr/local/bin/wkhtmltopdf',
        //'zoom'=>1.5,
        'title'=>$title,
        'page-size' => 'A4',
        'margin-top' => '5',
        'margin-left' => '10',
        'margin-right' => '10',
        'margin-bottom' => '10',
        'footer-html'=>$footer_html,
        //'dpi'=>500,
        // Default page options
        'disable-smart-shrinking',
        'user-style-sheet' => 'css/table-report.css',
        'commandOptions' => array(
          'useExec' => true or false //no luck
        ),
      ));

Version info: wkhtmltopdf 0.12.6 (with patched qt)
Please help me to resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions