wkhtmltopdf update

wkhtmltopdf update


1. Check the current version of wkhtmltopdf

1.1 -Navigate to the directory:
  1. _lib/prod/third/wkhtmltopdf/linux-amd64/linux-amd64

1.2 -Then, run the following command to check the installed version:

  1. ./wkhtmltopdf-amd64 --version
 
Quote
The returned version will possibly be 12.04.

2. Download of the new version
Access the library's official website at the link below and download the version corresponding to your operating system:


3. Extract the downloaded file

After the download, extract the file using the following commands:"
  1. mkdir wkhtmltox_extraido sudo dpkg-deb -x wkhtmltox_0.12.6-1.xenial_amd64.deb wkhtmltox_extraido
        
4. Copy and replace the file

4.1 - Navigate to the newly created directory:


  1. wkhtmltox_extraido/usr/local/bin
4.2 -Copy the wkhtmltopdf file to the destination directory:

  1. _lib/prod/third/wkhtmltopdf/linux-amd64
        
5. Rename the files
Modify the filenames as needed:

Rename the wkhtmltopdf file to wkhtmltopdf-amd64.

Alert
The old file, named wkhtmltopdf-amd64, should be renamed to another name that doesn't cause a conflict.
    • Related Articles

    • Manual Update - Linux

      Before performing any procedure we recommend performing a backup of your projects. To back up Scriptcase: Go to Options > Settings, in the side menu go to Services > Backup. A file (.ZIP) will be generated with all your projects, save this file to a ...
    • Manual Update - Windows

      Before performing any procedure, we recommend performing a backup of your projects. To back up Scriptcase: Go to   Settings > Administration, in the side menu go to   Services > Backup.   A file (.ZIP) will be generated with all your projects, save ...
    • Manual Update - Mac OS

      Before performing any procedure we recommend performing a backup of your projects. To back up Scriptcase: Go to Settings> Administration, in the side menu go to Services> Backup. A file (.ZIP) will be generated with all your projects, save this file ...
    • Executing SQL statements (Insert, Update and Delete)

      With the macro macro sc_exec_sql you can execute SQL statements. Note that is useful to insert, update and delete because you dont get the output. If you need te output, use sc_lookup. Sintax: sc_exec_sql("SQL statement", "connection")The parameter ...
    • Update a widget based on another widget.

      1-) Create a Grid (product table), whose configuration is     Grid Modules → Orientation to Slide     Configuration → Columns per pages: 5     Link between Applications → Link to a blank application that will perform the update, where the link will ...