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.15.macosx-10.7-x86_64.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

edc_label-0.1.15-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edc-label-0.1.15.macosx-10.7-x86_64.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for edc-label-0.1.15.macosx-10.7-x86_64.tar.gz
Algorithm Hash digest
SHA256 bedab26f88af09a3451f39f60d632294f14bc8bf24ebc760d9bd5ef484e3c815
MD5 0b6350e405afb7ecc11f9c62db761d7d
BLAKE2b-256 c46a2d77895ad967c19ce601b38a1edc23e04823a3c0fff01b7b46c58dc535ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edc_label-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for edc_label-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 6019efbb948c5ccc33e425883b3548217e900c6cb9f36c945b02564159d27dee
MD5 d9242d7b827bb84d5aa474f3608fc484
BLAKE2b-256 79bdc8d3a2c4fa07302e7bce52475155be855a7f71cd8a4fdd338f929b8ee705

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