Printer Templates General Features

Manage > Settings > Printer Templates 

[LAYOUTS]  is basic field in printer template which general layout plan is configured. Inside, there are basic ticket information. Check out the screenshot above;

{ENTITIES} is a section in Layouts field. In this row [ENTITIES:Table]  and [ENTITIES:Customer] titles are marked by blue arrows. It shows which data will be written under these titles.



–Table Entity Format
<L00>Table: {ENTITY NAME}

–Customer Entity Format.
<j00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}
<L00>Address: {ENTITY DATA:Address}

In the same way; {ORDERS} field shows the place where orders will be written. In this example Orders show how to write data fields ( from above to below )  [ORDERS][ORDERS:Gift][ORDERS:Void][ORDER TAGS]

–Write the products according to the format which edited under the tag titles.

— Default Template view for Orders.

— Format for gifted orders

— Nothing will print for void lines

— Format for order tags

By using default template like above we get a such output.


-- General layout
<L00>Ticket No:{TICKET NO}
[<J10>Total Gifts:|{ORDER STATE TOTAL:Gifts}]
<J10>Total:|{TICKET TOTAL}
<C10>T H A N K Y O U




-- Default format for orders

-- Format for gifted orders

-- Nothing will print for void lines

-- Format for order tags

-- Table entity format
<L00>Table: {ENTITY NAME}

-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

General Sections that can be found in a sample Template;

  • {ENTITIES}       Entity List
  • {ORDERS}         Order List
  • {ORDER TAGS}Order Tag List
  • {TAXES}             Taxes List
  • {DISCOUNTS}  Discount List
  • {SERVICES}      Service List
  • {PAYMENTS}   Payment List
  • {CHANGES}      Change Payment List

All the values which can be found in each section above, are given on the right column in the template screens.

– Nothing will print for void lines, like this rows are information rows, they start with double ( – ) sign and they will be ignored in the output. When you designing the template it’s used for information that you want to remember later on. Your printers ignore these rows.

In front of values between <> symbols  are used for definiton of format for that row’s sentence. For example  <L00>  means print as Left aligned, font height:0, font width:0 After the symbol first digit indicates height of font and second digit indicates width of font.

Below there are other tags that can be used:

Tag Meaning
<T> Title; Allows you to write title Left and Right with period.
<F> Full ; Allows you to write the character after itself during the whole row . For example when you write <F> * it writes until end of row. Usually it is used for drawing –
<L> Left; Allows you to write that row as Left aligned.
<R> Right; Allows you to write that row as Right aligned.
<C> Center; Allows you to write that row as centric.
<J> Justify; Fits the sentence into the row.
<W> Wait; Allows you to make waiting between sending data especially on HUGIN Fiscal Printer. Each <W> makes wait 10 milliseconds. If you write as <W><W><W> then it gives 30 milliseconds waiting.
<BEEP> Usually added at the end of Ticket Template. If printer has audible alarm feature, when printing finished, it warns with audio.
<BMP> By giving together with path of Bmp extension picture file allows you to add to the printing Example;<BMP>c:\Logo.bmp