Skip to main content

labeling for the EDC

Project description

pypi travis codecov downloads


Print labels from for clinic/edc projects

CUPS and printer Installation

Install CUPS Print Server:

sudo apt-get install cups

sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original

sudo chmod a-w /etc/cups/cupsd.conf.original

Edit /etc/cups/cupsd.conf to listen on the public IP:

sudo  nano /etc/cups/cupsd.conf

Add the last line with your public IP:

    Listen           # existing loopback Listen
    Listen /var/run/cups/cups.sock # existing socket Listen
--> Listen PUBLIC_IP:631      # Listen on the LAN interface, Port 631 (IPP)

Restart CUPS:

sudo systemctl restart cups.service

Add a remote printer to a remote CUPS server

LOCAL_PRINTER_NAME: printer as named on the EDC, your server

REMOTE_IP_ADDRESS: IP of remote CUPS server

PRINTER_NAME: printer name installed on remote CUPS server

For example:


Add an IP addressable remote printer

PRINTER_NAME: printer as named on the EDC, your server

REMOTE_IP_ADDRESS: IP of remote printer

lpadmin -p PRINTER_NAME -E -v ipp://REMOTE_IP_ADDRESS/ipp/print -m everywhere

Project details

Download files

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

Files for edc-label, version 0.1.26
Filename, size & hash File type Python version Upload date
edc_label-0.1.26-py3-none-any.whl (33.6 kB) View hashes Wheel py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page