Browse Source

print labels

main
Nicolas Massé 1 year ago
parent
commit
5d6e9b9b57
  1. 32
      labels/README.md
  2. BIN
      labels/label-dimensions.png
  3. BIN
      labels/labels.odt
  4. BIN
      labels/users.odb
  5. 1
      labels/users/.gitignore

32
labels/README.md

@ -0,0 +1,32 @@
# Generate labels with Libre Office
If not already done, install the "database" component of Libre Office.
```sh
sudo dnf install libreoffice-base
```
* Launch Libre Office Base
* Select **Connect to an existing Database**
* In the dropdown list, select **Text**
* Click **Browse** and select the **users** folder
* Select **Comma-separated value files (CSV)**
* Click **Next >** and **Finish**
* Save the database somewhere
* Launch Libre Office Writer
* Click **File** > **New** > **Labels**
* In the **Database** dropdown list, select your database
* In the **Table** dropdown list, select **users**
* In the **Database field** dropdown list, select **username** and click the left arrow.
* In the **Database field** dropdown list, select **password** and click the left arrow.
* In the **Format** tab, enter the dimensions of a credit card (8.56 cm x 5.40 cm).
![Label Dimensions](label-dimensions.png)
* In the **Options** tab, select **Synchronize contents**
* Click **New Document**
* Format it according to your liking
* Click **Synchronize Labels**
* In the **Mail Merge** toolbar, click **Save Merged Documents**
* Click **Save Documents**

BIN
labels/label-dimensions.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
labels/labels.odt

Binary file not shown.

BIN
labels/users.odb

Binary file not shown.

1
labels/users/.gitignore

@ -0,0 +1 @@
users.csv
Loading…
Cancel
Save