Install dymo labelwriter on debian / linux & print from shell

apt-get install cups

scarico driver da dymo
cerchi so google dymo linux e esce la pagina, copi il link e…
wget http://download.dymo.com/Software/Linux/dymo-cups-drivers-1.4.0.tar.gz

Uncompress:
tar -zxvf dymo-cups-drivers-1.4.0.tar.gz

install dependencies
sudo apt-get install libcups2-dev
sudo apt-get install libcupsimage2-dev

Complile:
./configure
make
sudo make install

Configuring cups from web interface

for access to web interface from others machine in the lan:

edit /etc/cups/cupsd.conf  and replace:

Listen localhost:631

with

port 631

Add allow machine from lan in cupsd.conf (Allow From 192.168.1.0/255.255.255.0) :

# Limita l'accesso al server....
# Il default permette solo a locahost di accedre
<Location />
   Order allow,deny
   Allow From localhost
   Allow From 192.168.1.0/255.255.255.0
</Location>

# Limita l'accesso alla pagina di amministrazione...
<Location /admin>
   # La cifratura è disbilitata di default
   #Encryption Required
   Order allow,deny
   Allow From localhost
   Allow From 192.168.1.0/255.255.255.0

# Limita l'accesso alla pagina di configurazione...
<Location /admin/conf>
   AuthType Basic
   Require user @SYSTEM
   Order allow,deny
   Allow From localhost
   Allow From 192.168.1.0/255.255.255.0
</Location>

access to web interface with http://<ipmachine>:631

2015-03-26 19_16_25-Amministrazione - CUPS 1.5.3

2015-03-26 19_17_18-Aggiungi stampante - CUPS 1.5.3

2015-03-26 19_18_03-Aggiungi stampante - CUPS 1.5.3

2015-03-26 19_18_57-Aggiungi stampante - CUPS 1.5.3

2015-03-26 19_19_46-Imposta opzioni stampante - CUPS 1.5.3

For print image from shell:
lpr -P DYMO -o ppi=300 targa.bmp

For see the options of printer:
lpoptions -p PRINTER_NAME -l

Leave a Reply

Your email address will not be published. Required fields are marked *