Go to file
Guillermo Bonet e1c6e32860 first commit 2022-11-04 14:41:36 +01:00
sql first commit 2022-11-04 14:41:36 +01:00
.dockerignore first commit 2022-11-04 14:41:36 +01:00
.gitignore first commit 2022-11-04 14:41:36 +01:00
Dockerfile first commit 2022-11-04 14:41:36 +01:00
GoDEXdriver-1.1.6.tar.gz first commit 2022-11-04 14:41:36 +01:00
README.md first commit 2022-11-04 14:41:36 +01:00
config.yml first commit 2022-11-04 14:41:36 +01:00
cupsd.conf first commit 2022-11-04 14:41:36 +01:00
dockerCommands.sh first commit 2022-11-04 14:41:36 +01:00
entrypoint.sh first commit 2022-11-04 14:41:36 +01:00
main.js first commit 2022-11-04 14:41:36 +01:00
package-lock.json first commit 2022-11-04 14:41:36 +01:00
package.json first commit 2022-11-04 14:41:36 +01:00
print-server.js first commit 2022-11-04 14:41:36 +01:00

README.md

Comandos a tener en cuenta

Instalar el servicio CUPS

apt update
apt install cups

Iniciar el servicio CUPS

service cups start

Instalar una impresora en red

lpadmin -p {nombre-impresora} -E -v socket://{ip-address} -m {driver}

Imprimir un documento en una impresora

lp /app/labelCollection.pdf

-d (param) ➜ Indica la impresora, por defecto la predeterminada.
-n (param) ➜ Indica el número de copias.
-o (param) ➜ Indica el media.

Buscar un driver los repositorios

lpinfo --make-and-model '{modelo-impresora}' -m

Ver impresoras instaladas

lpstat -p

Eliminar una impresora instalada

lpadmin -x {impresora}

Lista de drivers:

ZEBRA

- Generic:

drv:///sample.drv/zebra.ppd (poner *-o landscape* al imprimir)

RICOH

- MP C2011

gutenprint.5.3://ricoh-mp_c2011/expert

GODEX

Installation

apt install build-essential
apt install libcups2-dev
./configure
make
make install
make clean

- ZX420i

lsb/local/godex/godex-zx420i.ppd