# DYMO LabelWriter 320

[Driver](https://packages.debian.org/trixie/printer-driver-dymo)

#### Ustawienia

<table border="1" id="bkmrk-ustawienie-warto%C5%9B%C4%87-s" style="border-collapse: collapse; width: 100%; height: 238.4px;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><thead><tr style="height: 29.8px;"><td style="height: 29.8px;">Ustawienie

</td><td style="height: 29.8px;">Wartość</td></tr></thead><tbody><tr style="height: 29.8px;"><td style="height: 29.8px;">Szerokość strony</td><td style="height: 29.8px;">55 mm</td></tr><tr style="height: 29.8px;"><td style="height: 29.8px;">Wysokość strony</td><td style="height: 29.8px;">30 mm</td></tr><tr style="height: 29.8px;"><td style="height: 29.8px;">Papier (nośnik)</td><td style="height: 29.8px;">11354 Multi-purpose</td></tr><tr style="height: 29.8px;"><td style="height: 29.8px;">Print quality</td><td style="height: 29.8px;">Barcodes and graphics

</td></tr><tr style="height: 29.8px;"><td style="height: 29.8px;">Orientation</td><td style="height: 29.8px;">Portrait</td></tr><tr style="height: 29.8px;"><td style="height: 29.8px;">  
</td><td style="height: 29.8px;">  
</td></tr><tr style="height: 29.8px;"><td style="height: 29.8px;">  
</td><td style="height: 29.8px;">  
</td></tr></tbody></table>

#### Instrukcja używania

1. Zainstaluj driver
2. Zmień nośnik w preferencjach drukarki na ten z tabelki
3. Otwórz libreoffice writer
4. Tools -&gt; Options (na dole) -&gt; Libreoffice writer -&gt; Measurement unit -&gt; Millimeter
5. Format -&gt; Page style
6. Wszystkie marginesy ustaw na 0
7. Width: 55
8. Height: 30
9. Print -&gt; Properties -&gt; Use only paper size from printer preferences 
    
    [![image.png](https://wiki.knyfyrtel.pl/uploads/images/gallery/2025-10/scaled-1680-/image.png)](https://wiki.knyfyrtel.pl/uploads/images/gallery/2025-10/image.png)
10. Paper size: jak w tabelce
11. Orientation: portrait
12. OK
13. Paper size: 2.14in x 0.88in
14. Orientation: portrait
15. [![image.png](https://wiki.knyfyrtel.pl/uploads/images/gallery/2025-10/scaled-1680-/qnsimage.png)](https://wiki.knyfyrtel.pl/uploads/images/gallery/2025-10/qnsimage.png)
16. Print

### Uwagi

- Jak weźmiemy za duży papier to nam automatycznie obróci wydruk o 90 stopni w złym kierunku. Nie ważne czy za szeroki czy za wysoki.

### Minstrukcja

1. You can print plain text by piping it to &#96;lp -o page-left=14 -o page-right=14&#96;
2. Maybe the same could instead be set using &#96;lpoptions&#96; or &#96;lpadmin&#96;
3. You should find the model url on the &#96;lpinfo -m&#96; list (grep for LabelWriter) and the usb url on the &#96;lpinfo -v&#96;, and use that to add a name for the printer with &#96;lpadmin -p Dymo -E -v (usb url) -m (model url)&#96;
4. You should make the now-named printer the default by &#96;lpadmin -d Dymo&#96;, then.
5. You should find out list of paper sizes from &#96;lpoptions -p Dymo -l&#96;
6. You should pick some &#96;w154h&lt;something&gt;&#96; and &#96;lpoptions -p Dymo -o PageSize=w154hsomething&#96;
7. Poor sources suggest you can also use &#96;-o raw&#96; to send ESC/P codes to it to go around CUPS page handling 
    - ```
        echo -e '\x1B\x40\x1B\x33\x10\x1B\x61\x01Your text here\x0A\x0A\x1BD\x0C' # for 16 point, centered
        ```
8. Or that instead of &#96;PageSize=&#96; you can use &#96;media=&#96;.
9. In cupsd.conf enable PrinterSharing IPPAdvertise, you should be able to echo stuff to &#96;nc &lt;host&gt; 9100&#96;