# Przykłady — printout_manager

Poniższe przykłady używają zapisanych tagów i są częściowymi presetami; nie kasują pozostałych ustawień i kolekcji. Nie były renderowane przez silnik Base.com. W szczególności nie rozwiązują niepotwierdzonego escapowania danych.

## CSV: numer zamówienia i waluta

```json
{
  "format": "base-export-template",
  "version": 1,
  "generator": "printout_manager",
  "fields": {
    "name": "Zamówienia — numery i waluty",
    "type": "CSV",
    "force_download": "download",
    "template_lang": "pl",
    "code_root": "numer;waluta\n[ZAMOWIENIA]",
    "code_order": "[numer_zamowienia];[waluta]\n"
  },
  "sections": {"order": true}
}
```

## PDF A4: tabela zamówień

```json
{
  "format": "base-export-template",
  "version": 1,
  "generator": "printout_manager",
  "fields": {
    "name": "Zamówienia — wykaz PDF",
    "type": "PDF",
    "force_download": "web",
    "template_lang": "pl",
    "format_pdf_height": "297",
    "format_pdf_width": "210",
    "format_pdf_margin_top": "10",
    "format_pdf_margin_bottom": "10",
    "format_pdf_margin_left": "10",
    "format_pdf_page_numbers": "1",
    "format_pdf_insert_label": "0",
    "code_root": "<h2>Wykaz zamówień</h2><table border=\"1\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\"><tr><th width=\"70%\">Numer</th><th width=\"30%\">Waluta</th></tr>[ZAMOWIENIA]</table>",
    "code_order": "<tr><td width=\"70%\">[numer_zamowienia]</td><td width=\"30%\">[waluta]</td></tr>"
  },
  "sections": {"order": true}
}
```
