Sleavely / cups-dymo

Docker image 🐳 for running a NodeJS server and CUPS 🖨️ with DYMO 🏷️ drivers installed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cups-dymo

A Docker image for running a Node server and CUPS with DYMO drivers installed. It has been successfully tested on a DYMO LabelWriter 450 Turbo.

Docker Hub | Github

Running

Make sure your DYMO printer is plugged in and launch the servers by running the start-up script in your terminal:

./run.sh

You can verify that the printer is working by running the following against your Docker container:

docker exec -it cups-dymo bash

echo "Hello world!" > test.txt

lp test.txt

Image development

The image is built for multiple architectures using buildx. This is to support running on ARM devices such as Raspberry Pi.

To enable buildx you may need to enable experimental features in your Docker installation. The easiest way to achieve this is probably by setting the DOCKER_CLI_EXPERIMENTAL=enabled environment variable.

Once you have buildx set up, run the following to build the image:

docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t sleavely/cups-dymo:latest --push .

Further reading & similar projects

About

Docker image 🐳 for running a NodeJS server and CUPS 🖨️ with DYMO 🏷️ drivers installed.

License:MIT License


Languages

Language:JavaScript 52.4%Language:Dockerfile 30.2%Language:Shell 17.4%