# PDF Printers for CrossCompute
## Installation
```bash
# 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.
```yaml
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'
```
2. Run batch print.
```bash
crosscompute --print
```
Raw data
{
"_id": null,
"home_page": "https://crosscompute.com",
"name": "crosscompute-printers-pdf",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "",
"author": "CrossCompute Inc.",
"author_email": "support@crosscompute.com",
"download_url": "https://files.pythonhosted.org/packages/06/79/6eab294c48d7a8155ec11f469d92d19f5e14119886915400cabdf13c999e/crosscompute-printers-pdf-0.4.0.tar.gz",
"platform": "any",
"description": "# PDF Printers for CrossCompute\n\n## Installation\n\n```bash\n# Install packages\nsudo dnf -y install chromium npm\n# Install latest version of node\nsudo npm cache clean -f\nsudo npm install -g n\nsudo n latest\n# Install package\npip install crosscompute-printers-pdf\n# Install dependencies\ncd $(python -c \"import crosscompute_printers_pdf; print(crosscompute_printers_pdf.__path__[0] + '/scripts')\")\nnpm install\n```\n\n## Usage\n\n1. Add prints to your configuration file.\n\n```yaml\nprint:\n variables:\n - id: report\n view: pdf\n path: report.pdf\n configuration:\n header-footer:\n font-family: sans-serif\n font-size: 8pt\n color: '#808080'\n padding: 0.1in 0.25in\n skip-first: true\n page-number:\n location: footer\n alignment: right\n name: 'm{mean}-v{variance}-{timestamp}.pdf'\n```\n\n2. Run batch print.\n\n```bash\ncrosscompute --print\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Print your automations in PDF format.",
"version": "0.4.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5a6fa6e09d5a2ebbf31e70e4bb74a976443070882c85e3701b7be987a1ce7e83",
"md5": "016786c483724aa22575c7739c2db280",
"sha256": "764b101dc9d114ac442717232c4682176d4e0ef1422f34c9f58c8c20184a9c50"
},
"downloads": -1,
"filename": "crosscompute_printers_pdf-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "016786c483724aa22575c7739c2db280",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 5564,
"upload_time": "2023-04-25T23:01:34",
"upload_time_iso_8601": "2023-04-25T23:01:34.908323Z",
"url": "https://files.pythonhosted.org/packages/5a/6f/a6e09d5a2ebbf31e70e4bb74a976443070882c85e3701b7be987a1ce7e83/crosscompute_printers_pdf-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "06796eab294c48d7a8155ec11f469d92d19f5e14119886915400cabdf13c999e",
"md5": "82e1d94a5e571a7a0a301ef3875c4994",
"sha256": "24e68904272c638f6e0403f04d608e1638e3d163c8a06f2b37d37f1b5f9bd6a3"
},
"downloads": -1,
"filename": "crosscompute-printers-pdf-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "82e1d94a5e571a7a0a301ef3875c4994",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 4713,
"upload_time": "2023-04-25T23:01:36",
"upload_time_iso_8601": "2023-04-25T23:01:36.674079Z",
"url": "https://files.pythonhosted.org/packages/06/79/6eab294c48d7a8155ec11f469d92d19f5e14119886915400cabdf13c999e/crosscompute-printers-pdf-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-25 23:01:36",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "crosscompute-printers-pdf"
}