You are currently viewing documentation for Linnworks Desktop, if you are looking for Linnworks.net documentation, click here.


The EPOS system can be configured to automatically open a till drawer during a transaction.  To do this a file needs to be created and the EPOS system needs to be directed to that file.

Step 1 – Creating the Till Drawer Command

First, find the program ‘Notepad’ on your computer and open a new blank file. The following code needs to be placed in the text editor:

@echo off

@mode com3:1200,n,8,1 > nul

@echo > com3:

@exit

 

Your Notepad file should now look like this 

Notepad.png

 

The Red Section indicated what USB port your till drawer is connected to. In this instance, the Till drawer is plugged into the port called ‘com3’. Each Port on your computer will use the same naming convention as this, it will either be ‘com1’, ‘com2’ etc.

Sometimes the easiest way to find what port your till drawer is connected to is trial and error. You can always save this file using the ‘com1’ configuration, and change it later if the drawer does not open.

This File will need to be saved as a ‘batch’ file. To do this, simple save the file with the file extension ‘.bat’. 

batchFile.png

Ignore the ‘Save as type’ option, Windows will recognise that you have saved the file as a batch file automatically when you use the .bat extension. Linnworks EPOS will need to use your newly created batch file, so save it somewhere you will remember.

 

Step 2 – Configure EPOS to Open your Drawer

Open Linnworks EPOS and open the Buttons panel. Tap the ‘EPOS Settings’ Button to open the EPOS Settings. In the Setting window, go to the ‘Events’ tab. The first option will be where you will state the location of the Executable file you just created to open the cash drawer. 

Settings.png

The Text box hilighted in red is where you will define the location of your batch file.

If you do not know the path to your file, first find the file, right click the file and choose ‘properties.

In this example I have saved my Batch file in my documents, So I can copy and paste this path into the red hilighted text box in EPOS. 

REMEMBER: You must end the path with the name of your file. For example, my Executable path will be C:\Users\Chris\Documents\open.bat

filePath.png