labeling for the EDC
Project description
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
Release history Release notifications | RSS feed
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
File details
Details for the file edc_label-0.1.16-py3-none-any.whl
.
File metadata
- Download URL: edc_label-0.1.16-py3-none-any.whl
- Upload date:
- Size: 34.1 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/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e759b2189bf5400061a5e3efd1b4a2ffdf095353cc556e1fd3c19e36ac3dde59 |
|
MD5 | b91f3cc47cb4cf90a32d94064ff28e0a |
|
BLAKE2b-256 | 635f435142c6c9183d83cc013d7db995c01573f1b0a6aab3e0095ffc659efda6 |