Skip to main content

labeling for the EDC

Project description

pypi travis codecov downloads

edc-label

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 127.0.0.1:631           # 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:

lpadmin -p LOCAL_PRINTER_NAME -E -v ipp://REMOTE_IP_ADDRESS/printers/PRINTER_NAME

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

edc_label-0.1.26-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file edc_label-0.1.26-py3-none-any.whl.

File metadata

  • Download URL: edc_label-0.1.26-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for edc_label-0.1.26-py3-none-any.whl
Algorithm Hash digest
SHA256 5631b8b1811b436414c059d946be166caf3c3b50b4a6109bcd32fbe8b8bf7ff6
MD5 5ae218d55d99fa1e0bb6a2dbc5175fe5
BLAKE2b-256 e7b5a12640aa617f05f9ce87ad3dd7a08c8954466f8c699400a4e2ac56c26ebd

See more details on using hashes here.

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