colony_print
Small web app for printing of colony based documents.
500K+
Small web app for printing Colony-based documents.
This project includes two main components:
colony_print.controllerscolony_print.printingFor a detailed understanding of the Binie file format used in this project, refer to the Binie File Format Specification. This document outlines the structure and organization of the Binie file format, which is essential for developing compatible applications and tools.
The XML Markup Language for Printing (XMPL) is integral to our document processing pipeline. For an in-depth understanding of the XMPL structure and its seamless convertibility to Binie, see the XMPL File Format Specification.
apt-get install gcc python-dev
pip install --upgrade appier netius pillow reportlab
pip install colony_print
python -m colony_print.main
pip install colony_print
BASE_URL=$BASE_URL \
SECRET_KEY=$SECRET_KEY \
NODE_ID=$NODE_ID \
NODE_NAME=$NODE_NAME \
NODE_LOCATION=$NODE_LOCATION \
python -m colony_print.node
To be able to use new fonts (other than the ones provided by the system), one must install them
into the /usr/share/fonts/truetype directory so they are exposed and ready to
be used by the PDF generation infra-structure. For example, Calibri is one type of font that should
be exported to a UNIX machine as many colony-generated documents use it.
There are currently three engines available for printing in Colony Print:
npcolony - The Colony NPAPI engine, which is used for GDI printing on Windows and CUPS printing on Linux.gravo - Which allows engraving of text and signatures using Gravo Pilot.text - A simple virtual printer text engine that prints text to a simple plain text file and returns the file.A React-based admin interface is available under frontends/admin/ for monitoring nodes, jobs and printers.
cd frontends/admin
npm install
npm run build
The built assets are output to src/colony_print/static/admin-ui/ and served at /admin-ui when the server is running.
To run a localhost development server, use the following commands:
PORT=8686 \
PYTHONPATH=$BASE_PATH/colony_print/src python \
$BASE_PATH/colony_print/src/colony_print/main.py
Colony Print Infra-structure is currently licensed under the Apache License, Version 2.0.
Content type
Image
Digest
sha256:d4752d582…
Size
180.2 MB
Last updated
29 days ago
docker pull hivesolutions/colony_print:0.20.0