68 lines
1.0 KiB
Markdown
68 lines
1.0 KiB
Markdown
# 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
|
|
``` |