> 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).

# Bsp. Etiketten auf A4

![](/files/-MhneUxHNE5EUifbuU5u)

{% 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
