We recommend the Epson receipt printer TM 88 V in conjunction with a USB interface for use with the POS module.
Figure: Epson TM 88V
The devices are also available with other interfaces (serial, parallel), but these have not been tested in conjunction with EULANDA®.
Standard Report Template
The standard report templates from the cash register area are specially adapted to this printer. This means that this printer is already assigned to this printer in the Report Designer under the"Page Setup" menu item, but also that all fonts refer to the built-in printer fonts. These have the special feature that the fonts can be printed extremely quickly, but are difficult to handle in the layout. This is because the screen fonts supplied with the printer have different spacing from that of the printer. However, in order for these fonts to output correctly, you need the correct printer driver.
Printer drivers and fonts
A special printer driver is required to install the printer under Windows. The driver is supplied with the EPSON printer on CD and can be installed in a few minutes.
For current printer models, we recommend automatic detection of the paper length by the printer driver. The integration of a special control code for triggering the paper cutter is then not required. The following settings are therefore only required for older printers or, if there are special reasons.
The letters "PEe" trigger the paper cutter.
In the report designer, simply place a text (label) at the end of the printout and enter a large"PEe" in the input field of the toolbar.
Illustration: Entry of the command for the paper cutter
Open cash drawer
Starting with EULANDA Version 7, the command to open the cash drawer is automatically sent to the printer at the end of the cashier process. It is no longer necessary to include a control code in the print form and is only listed below for a better understanding of older print forms.
The Epson TM 88 V can control two different cash drawers simultaneously. Depending on which output your cash drawer is connected to, there is another letter from the font "Control" for font size 10, which must be used to open the drawer.
Illustration: Cash drawer
|A||Output 1 with 50ms pulse duration|
|B||Output 1 with 100ms pulse duration|
|C||Output 1 with 150ms pulse duration|
|D||Output 1 with 200ms pulse duration|
|E||Output 1 with 250ms pulse duration|
|a||Output 2 with 50ms pulse duration|
|b||Output 2 with 100ms pulse duration|
|c||Output 2 with 150ms pulse duration|
|d||Output 2 with 200ms pulse duration|
|e||Output 2 with 250ms pulse duration|
The cash drawer is connected to the Epson printer via a Western plug. The table shows the assignment for this connector for the two outputs. The information is however without guarantee!
|3||Input Signal Charge open/closed|
We recommend opening the cash drawer at the start of printing and displaying the sign near the head.
For DOS control
If you want to open the cash drawer under DOS, this is done with ESC sequences, not with the font "Control" as under Windows. Here, the sequence for opening would be"ESC p m t1 t2" where ESC has the decimal value 27 and the small"p" has the value 112. Output 1 or 2 is controlled with the letter"m". The value can be 0 or 1. The pulse ON time is indicated by t1 and the pulse OFF time by t2 The pulse values can assume the values decimal 0-255.
Example for 100ms pulse duration on output 1 in pure decimal values:
27 112 0 100 100
ditto for output 2
27 112 1 100 100
For general information on Epson POS printers and their Windows printer drivers, see:
If the information is outdated, please let us know briefly.
In English, the cash drawer is called "Cash Drawer", which makes searching the English website a little easier. Unfortunately, information on cash register printers is very difficult to obtain, as are the necessary drivers and documentation.
ESC sequence for cash drawer
Starting with EULANDA Version 7, a command to open the cash drawer is automatically sent to the printer at the end of the cashier process. This is the ESCPOS® standard developed by Epson.
Note: The typical printer drivers do not usually support this procedure when printing from a terminal server or RDP (Remote Desktop) session. Automatic opening of the cash drawer is then not possible in this way.
For details on the structure of the escape sequences, please refer to the corresponding Epson documentation ("FAQ about ESC/POS®").
EULANDA® passes the following sequence as standard:
The sequence can be changed for each POS system if required. The corresponding setting is made in the SQL registry. You can access the SQL Registry via the"System Administration" quick start bar. Open the following registry folder (also called key):
\MODULES\Kasse\Kassen\<Name der Kasse>
There you create a new value via the menu "Edit" / "New" / "String" and name it "OpenDrawer.EscPos". You can now define the required escape sequence by double-clicking.
No automatic opening of the cash drawer
If you want to completely suppress the transfer of escape codes, leave the entry empty.
Structure of the codes
Multiple codes are separated by commas - Alternatively, spaces, tabs or line breaks are possible,
the codes can be specified as decimal numbers or with one of the following common letters representations:
Codes can also be specified in hexadecimal format. To do this, the hex code must be preceded by"0x","#" or"$" (each without quotation marks). The number of the following digits must be even.
Finally, codes can also be entered as readable ASCII characters. To do this, the characters must be enclosed in single or double quotation marks.
Separate program function for opening drawers
It is also possible to store a separate treatment of the cash register opening. To do this, knowledge of VBScript and knowledge of the adaptation of EULANDA are required.
Your own program code must be stored as VBScript procedure in the "userlib" scripting library. The name of the procedure (preceded by "userlib.") must then be stored in the registry under "\MODULES\Kasse" as the value "OpenDrawer.libcall".
The following example is already stored in the registry in the folder "\SYSTEM\LIBS\cnsoft.userlib.examples".
Pos" is passed as the only parameter. This is an object that allows access to the current document and the printer name used.
|Item CashDeskName||Name of the fund from Settings|
|Item CashDeskID||ID of the fund as stored in table dbo.Fund|
|Pos.print name||The name of the printer used|
|Item ReceiptID||ID of the cash document from table dbo.cash document|
|Item CashierId||Cashier ID|
Note: Own cashier procedures may not be stored in the folder "cnsoft.userlib.examples", because this folder is overwritten with every program update.
Instead, create a separate folder - for example"user.userlib.cash".