Skip to main content

Print your automations in PDF format.

Project description

PDF Printers for CrossCompute

Installation

# Install packages
sudo dnf -y install chromium npm
# Install latest version of node
sudo npm cache clean -f
sudo npm install -g n
sudo n latest
# Install package
pip install crosscompute-printers-pdf
# Install dependencies
cd $(python -c "import crosscompute_printers_pdf; print(crosscompute_printers_pdf.__path__[0] + '/scripts')")
npm install

Usage

  1. Add prints to your configuration file.
print:
  variables:
    - id: report
      view: pdf
      path: report.pdf
      configuration:
        header-footer:
          font-family: sans-serif
          font-size: 8pt
          color: '#808080'
          padding: 0.1in 0.25in
          skip-first: true
        page-number:
          location: footer
          alignment: right
        name: 'm{mean}-v{variance}-{timestamp}.pdf'
  1. Run batch print.
crosscompute --print

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crosscompute-printers-pdf-0.4.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

crosscompute_printers_pdf-0.4.1-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page