Skip to main content

labeling for the EDC

Project description

pypi travis coverage

edc-label

Print labels from edc modules

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 Distribution

edc-label-0.1.14.macosx-10.7-x86_64.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

edc_label-0.1.14-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

Details for the file edc-label-0.1.14.macosx-10.7-x86_64.tar.gz.

File metadata

  • Download URL: edc-label-0.1.14.macosx-10.7-x86_64.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for edc-label-0.1.14.macosx-10.7-x86_64.tar.gz
Algorithm Hash digest
SHA256 a4d11eaa9c3af5d78e980dc9c05978ade9962543a8ed788b9d77eae4abf853cd
MD5 ec714af932073d4686ef2b1b802aa7d4
BLAKE2b-256 130e3ef4fb252d855062b78e5503f8d952dfa68c1718e940d20e94fab1aed231

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edc_label-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 34.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for edc_label-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 bb661b23f61189986b76a76d66a3d21ef31f3a7abec54baa231b6ae04443db0f
MD5 a90d59e515bef2db4c440534976a428c
BLAKE2b-256 ece902f6b28cd6bed406d0c85b7fe83835a6363d8e1a37ff33e21f1682d029a3

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