in reply to Help with WKHTMLTOPDF

At a command prompt, enter
dir /b \wkhtmltopdf.exe /s
(with attention to the right number of forward and backward slashes), and you should see what to tell bin_name.

Replies are listed 'Best First'.
Re^2: Help with WKHTMLTOPDF
by justin423 (Scribe) on Dec 08, 2023 at 21:58 UTC

    C:\temp>dir /b \wkhtmltopdf.exe /s

    C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe

    C:\Strawberry\wkhtmltopdf\bin\wkhtmltopdf.exe

    Just an FYI. I tried the source code on a Ubuntu box with no bin lines at all and it comes back with the same error.

    Couldn't find command '/usr/bin/wkhtmltopdf' at /usr/local/share/perl/ +5.30.0/MooseX/Role/Cmd.pm line 117

    I think the bug is in the MooseX::Role module.