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 Distribution
Built Distribution
edc_label-0.1.15-py3-none-any.whl
(21.8 kB
view hashes)
Close
Hashes for edc-label-0.1.15.macosx-10.7-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bedab26f88af09a3451f39f60d632294f14bc8bf24ebc760d9bd5ef484e3c815 |
|
MD5 | 0b6350e405afb7ecc11f9c62db761d7d |
|
BLAKE2b-256 | c46a2d77895ad967c19ce601b38a1edc23e04823a3c0fff01b7b46c58dc535ce |
Close
Hashes for edc_label-0.1.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6019efbb948c5ccc33e425883b3548217e900c6cb9f36c945b02564159d27dee |
|
MD5 | d9242d7b827bb84d5aa474f3608fc484 |
|
BLAKE2b-256 | 79bdc8d3a2c4fa07302e7bce52475155be855a7f71cd8a4fdd338f929b8ee705 |