Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save srmds/2507aa3bcdb464085413c650fe42e31d to your computer and use it in GitHub Desktop.
Save srmds/2507aa3bcdb464085413c650fe42e31d to your computer and use it in GitHub Desktop.

Revisions

  1. srmds revised this gist Oct 4, 2023. 1 changed file with 3 additions and 0 deletions.
    Original file line number Diff line number Diff line change
    @@ -83,6 +83,9 @@ $ xdg-open google.pdf

    //MacOS
    $ open google.pdf

    // Clean up
    $ rm google.pdf
    ```

    #### Output
  2. srmds revised this gist Oct 3, 2023. No changes.
  3. srmds revised this gist Oct 3, 2023. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -70,7 +70,7 @@ $ sudo apt -f install
    - [brew](brew.sh)

    ```shell
    $ brew update && brew cask install wkhtmltopdf
    $ brew update && brew install wkhtmltopdf --cask
    ```
    ----------------------------------------------------------------------------------------------------------------------------
    ## Verify that it is working
  4. srmds revised this gist Oct 3, 2023. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -63,7 +63,7 @@ $ sudo apt -f install
    ```


    ## wkhtmltopdf 0.12.5 - macOS Ventura 13.6
    ## wkhtmltopdf 0.12.6 - macOS Ventura 13.6

    ### Prerequisites

  5. srmds revised this gist Oct 3, 2023. 1 changed file with 2 additions and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -3,11 +3,11 @@ Change the wget url to download newer versions.

    | Install instructions |
    |---|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0126---ubuntu-2204-x64)|
    |[wkhtmltopdf 0.12.6 - Ubuntu 22.04 x64](#wkhtmltopdf-0126---ubuntu-2204-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64](#wkhtmltopdf-0124---ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - macOS Ventura 13.6](#wkhtmltopdf-0125---macos-ventura-13.6)|
    |[wkhtmltopdf 0.12.6 - macOS Ventura 13.6](#wkhtmltopdf-0125---macos-ventura-13.6)|
    |[Install verification](#verify-that-it-is-working)|

    ## wkhtmltopdf 0.12.6 - Ubuntu 22.04 x64
  6. srmds renamed this gist Oct 3, 2023. 1 changed file with 0 additions and 0 deletions.
  7. srmds renamed this gist Oct 3, 2023. 1 changed file with 24 additions and 17 deletions.
    Original file line number Diff line number Diff line change
    @@ -3,12 +3,33 @@ Change the wget url to download newer versions.

    | Install instructions |
    |---|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0126---ubuntu-2204-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64](#wkhtmltopdf-0124---ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - macOS Mojave 10.14 & Catalina 10.15](#wkhtmltopdf-0125---macos-mojave-1014--catalina-1015)|
    |[wkhtmltopdf 0.12.5 - macOS Ventura 13.6](#wkhtmltopdf-0125---macos-ventura-13.6)|
    |[Install verification](#verify-that-it-is-working)|

    ## wkhtmltopdf 0.12.6 - Ubuntu 22.04 x64

    ```shell
    $ sudo apt-get update && sudo apt-get -y install wkhtmltopdf
    ```

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    Credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
    sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu bionic-security main" && \
    sudo apt-get -yq update && \
    sudo apt-get install -y libxrender1 libfontconfig1 libx11-dev libjpeg62 libxtst6 \
    fontconfig xfonts-75dpi xfonts-base libpng12-0 && \
    wget "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb" && \
    sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb && \
    sudo apt-get -f install
    ```

    ## wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64

    @@ -41,22 +62,8 @@ $ sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb
    $ sudo apt -f install
    ```

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    Credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
    sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu bionic-security main" && \
    sudo apt-get -yq update && \
    sudo apt-get install -y libxrender1 libfontconfig1 libx11-dev libjpeg62 libxtst6 \
    fontconfig xfonts-75dpi xfonts-base libpng12-0 && \
    wget "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb" && \
    sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb && \
    sudo apt-get -f install
    ```

    ## wkhtmltopdf 0.12.5 - macOS Mojave 10.14 / Catalina 10.15
    ## wkhtmltopdf 0.12.5 - macOS Ventura 13.6

    ### Prerequisites

  8. Steve revised this gist Oct 23, 2019. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Change the wget url to download newer versions.
    |[wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64](#wkhtmltopdf-0124---ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - macOS Mojave 10.14 & Catalina 10.15](#wkhtmltopdf-0125---mojave-1014-/-catalina1015)|
    |[wkhtmltopdf 0.12.5 - macOS Mojave 10.14 & Catalina 10.15](#wkhtmltopdf-0125---macos-mojave-1014--catalina-1015)|
    |[Install verification](#verify-that-it-is-working)|


  9. Steve revised this gist Oct 23, 2019. 1 changed file with 2 additions and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Change the wget url to download newer versions.
    |[wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64](#wkhtmltopdf-0124---ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 & Mojave 10.14](#wkhtmltopdf-0125---macos-high-sierra-10136--mojave-1014)|
    |[wkhtmltopdf 0.12.5 - macOS Mojave 10.14 & Catalina 10.15](#wkhtmltopdf-0125---mojave-1014-/-catalina1015)|
    |[Install verification](#verify-that-it-is-working)|


    @@ -56,7 +56,7 @@ sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb && \
    sudo apt-get -f install
    ```

    ## wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 / Mojave 10.14
    ## wkhtmltopdf 0.12.5 - macOS Mojave 10.14 / Catalina 10.15

    ### Prerequisites

  10. Steve revised this gist Jun 20, 2019. 1 changed file with 2 additions and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -33,7 +33,7 @@ $ sudo chmod a+x /usr/bin/wkhtmltoimage

    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64

    [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131) and [@TurkerTunali](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2949332)
    Credits to [@vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131) and [@TurkerTunali](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2949332)

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb
    @@ -43,7 +43,7 @@ $ sudo apt -f install

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)
    Credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
  11. Steve revised this gist Jun 20, 2019. 1 changed file with 1 addition and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -33,8 +33,7 @@ $ sudo chmod a+x /usr/bin/wkhtmltoimage

    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64

    [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131)
    [credits to @TurkerTunali](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2949332)
    [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131) and [@TurkerTunali](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2949332)

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb
  12. Steve revised this gist Jun 20, 2019. 1 changed file with 3 additions and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -34,10 +34,11 @@ $ sudo chmod a+x /usr/bin/wkhtmltoimage
    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64

    [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131)
    [credits to @TurkerTunali](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2949332)

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.trusty_amd64.deb
    $ sudo dpkg -i wkhtmltox_0.12.5-1.trusty_amd64.deb
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb
    $ sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb
    $ sudo apt -f install
    ```

  13. Steve revised this gist Apr 8, 2019. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -43,7 +43,7 @@ $ sudo apt -f install

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)
    credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
  14. Steve revised this gist Apr 8, 2019. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -43,7 +43,7 @@ $ sudo apt -f install

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    [credits to @J5Dev & @bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984)
    credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
  15. Steve revised this gist Apr 8, 2019. 1 changed file with 4 additions and 4 deletions.
    Original file line number Diff line number Diff line change
    @@ -43,16 +43,16 @@ $ sudo apt -f install

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    [credits to @J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984)
    [credits to @J5Dev & @bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
    sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu xenial-security main" && \
    sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu bionic-security main" && \
    sudo apt-get -yq update && \
    sudo apt-get install -y libxrender1 libfontconfig1 libx11-dev libjpeg62 libxtst6 \
    fontconfig xfonts-75dpi xfonts-base libpng12-0 && \
    wget "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb" && \
    sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    wget "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb" && \
    sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb && \
    sudo apt-get -f install
    ```

  16. Steve revised this gist Oct 28, 2018. 1 changed file with 4 additions and 4 deletions.
    Original file line number Diff line number Diff line change
    @@ -4,10 +4,10 @@ Change the wget url to download newer versions.
    | Install instructions |
    |---|
    |[wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64](#wkhtmltopdf-0124---ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 & Mojave 10.14](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125---macos-high-sierra-10136--mojave-1014)|
    |[Install verification](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#verify-that-it-is-working)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 & Mojave 10.14](#wkhtmltopdf-0125---macos-high-sierra-10136--mojave-1014)|
    |[Install verification](#verify-that-it-is-working)|


    ## wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64
  17. Steve revised this gist Oct 28, 2018. 1 changed file with 9 additions and 0 deletions.
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,15 @@
    You can check [here](https://github.com/wkhtmltopdf/wkhtmltopdf/releases/) for getting the latest version.
    Change the wget url to download newer versions.

    | Install instructions |
    |---|
    |[wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64](#wkhtmltopdf-0124---ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 & Mojave 10.14](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125---macos-high-sierra-10136--mojave-1014)|
    |[Install verification](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#verify-that-it-is-working)|


    ## wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64

    ### Prerequisites
  18. Steve revised this gist Oct 4, 2018. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -47,7 +47,7 @@ sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    sudo apt-get -f install
    ```

    ## wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6
    ## wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 / Mojave 10.14

    ### Prerequisites

  19. Steve revised this gist Sep 4, 2018. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ Change the wget url to download newer versions.

    - libxrender1

    Credits to @danielghitoiu
    Credits to [danielghitoiu](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2594195)
    ```
    $ sudo apt-get install libxrender1
    ```
  20. Steve revised this gist Sep 4, 2018. 1 changed file with 9 additions and 0 deletions.
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,15 @@ Change the wget url to download newer versions.

    ## wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64

    ### Prerequisites

    - libxrender1

    Credits to @danielghitoiu
    ```
    $ sudo apt-get install libxrender1
    ```

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
    $ tar -xvf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
  21. Steve revised this gist Aug 18, 2018. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -45,7 +45,7 @@ sudo apt-get -f install
    - [brew](brew.sh)

    ```shell
    $ brew cask install wkhtmltopdf
    $ brew update && brew cask install wkhtmltopdf
    ```
    ----------------------------------------------------------------------------------------------------------------------------
    ## Verify that it is working
  22. Steve revised this gist Aug 17, 2018. 1 changed file with 5 additions and 0 deletions.
    Original file line number Diff line number Diff line change
    @@ -52,7 +52,12 @@ $ brew cask install wkhtmltopdf

    ```shell
    $ wkhtmltopdf https://google.com google.pdf

    //Linux
    $ xdg-open google.pdf

    //MacOS
    $ open google.pdf
    ```

    #### Output
  23. Steve revised this gist Aug 17, 2018. 1 changed file with 2 additions and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -47,8 +47,8 @@ sudo apt-get -f install
    ```shell
    $ brew cask install wkhtmltopdf
    ```

    ### Verify that it is working
    ----------------------------------------------------------------------------------------------------------------------------
    ## Verify that it is working

    ```shell
    $ wkhtmltopdf https://google.com google.pdf
  24. Steve revised this gist Aug 17, 2018. 1 changed file with 2 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -51,7 +51,8 @@ $ brew cask install wkhtmltopdf
    ### Verify that it is working

    ```shell
    $ wkhtmltopdf https://google.com google.pdf && xdg-open google.pdf
    $ wkhtmltopdf https://google.com google.pdf
    $ xdg-open google.pdf
    ```

    #### Output
  25. Steve revised this gist Aug 17, 2018. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -51,7 +51,7 @@ $ brew cask install wkhtmltopdf
    ### Verify that it is working

    ```shell
    $ wkhtmltopdf https://google.com google.pdf && open google.pdf
    $ wkhtmltopdf https://google.com google.pdf && xdg-open google.pdf
    ```

    #### Output
  26. Steve revised this gist Aug 16, 2018. 1 changed file with 2 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,8 @@ sudo apt-get -f install

    ```shell
    $ brew cask install wkhtmltopdf
    ``
    ```

    ### Verify that it is working

    ```shell
  27. Steve renamed this gist Aug 16, 2018. 1 changed file with 0 additions and 0 deletions.
  28. Steve revised this gist Aug 16, 2018. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -38,7 +38,7 @@ sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    sudo apt-get -f install
    ```

    ## wkhtmltopdf 0.12.5 - MacOS High Sierra
    ## wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6

    ### Prerequisites

  29. Steve revised this gist Aug 16, 2018. 1 changed file with 11 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -37,10 +37,20 @@ wget "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.xenial_am
    sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    sudo apt-get -f install
    ```

    ## wkhtmltopdf 0.12.5 - MacOS High Sierra

    ### Prerequisites

    - [brew](brew.sh)

    ```shell
    $ brew cask install wkhtmltopdf
    ``
    ### Verify that it is working

    ```shell
    $ wkhtmltopdf https://google.com google.pdf
    $ wkhtmltopdf https://google.com google.pdf && open google.pdf
    ```

    #### Output
  30. Steve revised this gist Aug 9, 2018. 1 changed file with 17 additions and 0 deletions.
    Original file line number Diff line number Diff line change
    @@ -37,3 +37,20 @@ wget "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.xenial_am
    sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    sudo apt-get -f install
    ```
    ### Verify that it is working

    ```shell
    $ wkhtmltopdf https://google.com google.pdf
    ```

    #### Output

    ```shell
    Loading pages (1/6)
    Counting pages (2/6)
    Resolving links (4/6)
    Loading headers and footers (5/6)
    Printing pages (6/6)
    Done
    ```