> For the complete documentation index, see [llms.txt](https://helpcenter.etron.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.etron.info/onretail-wiki/handbuch/drucker-and-hardware/etikettendruck-onretail/bsp-etiketten-auf-a4.md). Agents can also search and read this documentation through its [MCP server](https://helpcenter.etron.info/~gitbook/mcp).

# Bsp. Etiketten auf A4

![](https://2354692687-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MSZ7ac6RT4RTvH1fVzP%2F-Mhnd3GWEWwtyy4L9mUw%2F-MhneUxHNE5EUifbuU5u%2FScreen%20Shot%202021-08-23%20at%2017.38.39.png?alt=media\&token=56c648e5-096c-4dda-8813-510bae9a889d)

{% file src="/files/-MhndXmb4p6DrKeeuC34" %}
Demoausdruck PDF
{% endfile %}

Etikette auf A4

```
{#- ====================   DEFINITIONEN   ===================== #} 
{%- set PRINTER_NAME = json.dumps(template.printer_name) %}
{%- set LABEL_TYPE = json.dumps("Varianten A4") %}
{%- set GROUP_NAME -%}
  "ID: {{ model.id }}"
{%- endset %}
{%- set LABEL_QUANTITY = 1 %}
{%- set TAX_INFO = json.dumps(model.taxes_id.name|replace("Mehrwertsteuer ", "MwSt: ")) %}
{%- set PRODUCT_PRICE = model.list_price %}
{%- set LABEL_REF_NAME = json.dumps(model.name) %}
{%- set PRODUCT_NAME = json.dumps(model.name[0:30]) %}
{%- set PRODUCT_NAME2 = '""' %}{#- json.dumps(model.name[30:62]) #}
{%- set CROSSED_PRICE = json.dumps(model.regular_price or 0) %}
{%- set PRODUCT_EAN = json.dumps(model.product_code) %}
{%- set PRODUCT_PLU = json.dumps("%d"%model.id) %}
{%- set FDS -%}
ID;ETT01;3;Benutzerdefiniertes Etikett
         ; ID ; OPT ; TEXT               ; FORM ; FORM SIZE
FormAsgn ; Z  ; 0   ; Benutzerdefiniert  ; 99   ; Benutzerdefiniert

; Seite
Head ; FORM99 ; 57x24 Preis Rechts
   ; EAN
   Font   ; 36.EAN-13B Half Height
   Field ; 4 ; 6 ; 0 ; EANFCD ; FONTBOX{128,85}

   ; Artikeltext
   Font  ; 11.Arial
   Field ; 12 ; 1 ; 0 ; TEXT1
   Field ; 12 ; 1 ; 0 ; TEXT2
   
   ; Trennlinie Preis
   Line ; 19 ; 1 ; 19 ; 51 ; 2
   
   ; Box fuer Preis
   Line ; 19 ; 26 ; 23 ; 26 ; 3 
   Line ; 23 ; 51 ;19.2 ; 51 ; 6
   Line ; 23 ; 26 ; 23 ; 51 ; 6

   ; Preis
   Font ; 10.Arial Bold
   Field ; 18 ; 27 ; 0 ; LDWSYM
   Font ; 10.Arial Black
   Field ; 18.2 ; 47 ; 0 ; vkp ; SAYRIGHT
   Font ; 6.Arial
   Text  ; 14 ; 41 ; 8 ; inkl.MWSt

   ; Info Ohne Mwst / Warengruppe / BeNr / Stattpreis
   Font ; 9.Arial Bold  
   If ; IsStp
      Field ; 16 ; 0 ; 0 ; stpw
      Field ; 16 ; 24 ; 0 ; ; SAYRIGHT
      Line ; 21 ; 15 ; 17 ; 24 ; 3
      Line ; 21 ; 24 ; 17 ; 15 ; 2
   Else
      Field ; 16 ; 0 ; 0 ; INFO1
      Font ; 7.Arial  
      Field ; 16 ; 25 ; 0 ; Info1 ; SAYRIGHT
   End
{%- endset %}
{%- set FDSDATA = json.dumps(FDS) -%}
{#- =======================   LABEL DRUCKER DATEN   ======================= #}
{
  "Quantity": {{ LABEL_QUANTITY }},
  "FormName": {{ LABEL_REF_NAME }},
  "FormDesc": {{ PRODUCT_EAN }},
  "GroupName": {{ GROUP_NAME }},
  "LabelType": {{ LABEL_TYPE }},
  "UseGridLayout": true,
  "LabelPrinterData": {
    "CmdVer": 1,
    "Cmd": "PrintLabel",
    "PrinterSettings": {
       "PrinterName": {{ PRINTER_NAME }}
    },
    "Layout": {
      "Style": 99,
      "RowCount": 9,
      "ColCount": 3,
      "StartRow": 100,
      "StartCol": 80,
      "Width": 630,
      "Height": 320
    },
    "PrintData": [{
      "Ean": {{ PRODUCT_EAN }},
      "Plu": {{ PRODUCT_PLU }},
      "Text": {{ PRODUCT_NAME }},
      "Text2": {{ PRODUCT_NAME2 }},
      "Price": {{ PRODUCT_PRICE }},
      "CrossedPrice": {{ CROSSED_PRICE }},
      "ShowPrice": true,
      "VatPrice": true,
      "VatRate": {{ TAX_INFO }},
      "GpiTmg": 200,
      "GpiMeh": "ML",
      "GpiBas": 1000
    }],"FdsData":{{FDSDATA}}  
  }
}

{#- =======================   LABEL DRUCKER DATEN ENDE   ======================= #}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpcenter.etron.info/onretail-wiki/handbuch/drucker-and-hardware/etikettendruck-onretail/bsp-etiketten-auf-a4.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
