Sha256: 12ef08fa0b3688f3f651ed3ce97e1aad92ebd056a8abdc61b2c73432ef53ea04

Contents?: true

Size: 503 Bytes

Versions: 3

Compression:

Stored size: 503 Bytes

Contents

#!/bin/bash

if [[ "$DOCVERTER_API_URL" == "" ]]; then
    export DOCVERTER_API_URL=http://localhost:9595/convert
fi

curl  --form from=html \
      --form to=pdf \
      --form test_mode=true \
      --form pdf_username=test \
      --form pdf_password=some_password \
      --form input_files[]=@input.html \
      --form other_files[]=@stylesheet.css \
      --form other_files[]=@marcellus.ttf \
      --form other_files[]=@imfeldoublepica.ttf \
      $DOCVERTER_API_URL > html_to_encrypted_pdf.pdf

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
docverter-server-1.0.3-java doc/examples/shell/html_to_encrypted_pdf/convert.sh
docverter-server-1.0.2-java doc/examples/shell/html_to_encrypted_pdf/convert.sh
docverter-server-1.0.1-java doc/examples/html_to_encrypted_pdf/convert.sh