POS control codes

POS control codes are the settings that determine which POS printer and cash drawer will be compatible with the POS application. 

 

Commands can be sent to the receipt printer in a number of ways, the most common of which is DecimalNumeral. The below examples use DecimalNumeral, however HEX can be used if desired. All of these commands can be found in the receipt printer manual.

 

The set of control codes defined here is attached to a workstation (or a default may be selected in POS configuration).

Location

Administration > POS Settings > POS control codes

Adding and Modifying

To add

From the Product Control Code List page, clicking the Add New button will open the Change POS Control Codes page, allowing you to create the details for a new record.

 

To modify

From the Product Control Code List page, clicking an underlined Description displays the Change POS Control Codes page, allowing you to make any necessary changes.

 

The Change POS Control Codes page contains the following fields, with the option to Save or Delete the record at the bottom of the page:

Name of Field Type Description
Description Text

The title of the POS control code set.

Required.

Pop Cash Drawer * Text The opening code sequence sent to the cash drawer to trigger it to pop open.
 
For example: 27,120,1 will send [ESC] x 1 to pop the cash drawer. 
 
Each receipt printer and cash drawer combination may have a different opening sequence.
Small Font * Text The control sequence used to set the pitch size of the small font text used on POS receipts. 
 
This text represents all of the details of the receipt.
 
For example: 27,91,80,17 will send [ESC] [P 17] to the printer. The 17 represents the pitch size.
Small Font Characters per Line Numeric The number of small font characters that will print per line. 
 
This is used to ensure lines are centered and do not get truncated.
Medium Font * Text The control sequence used to set the pitch size of the medium font text used on POS receipts. 
 
This text represents the sub headings (for example: Payer) of the receipt.
 
For example: 27,91,80,12 will send [ESC] [P 12] to the printer. The 12 represents the pitch size.
Medium Font Characters per Line Numeric The number of medium font characters that will print per line. 
 
This is used to ensure lines are centered and do not get truncated.
Large Font * Text The control sequence used to set the pitch size of the large font text used on POS receipts.  
 
This text represents the heading (for example: Receipt) of the receipt.
 
For example: 27,91,80,8 will send [ESC] [P 8] to the printer. The 8 represents the pitch size.  
 
For the case of the heading typically the width is adjusted as well as the pitch.
Large Font Characters per Line Numeric The number of large font characters that will print per line. 
 
This is used to ensure lines are centered and do not get truncated.
Auto Cut * Text The control sequence required to auto cut the receipt tape.
Eject Line Count Numeric The number of line feeds to advance after the receipt has printed.  
  
The standard is 15.
Code Page Text POS printer code page to support correct printing of French/Spanish accented characters.
   
For Epson TM-T88IV and Star TSP100 POS printers this must be set to 27,116,16.

Pole Display Control Codes

Enter the control codes for the following functions (refer to the user manual for your pole display):
  • Set Cursor first Line: set the cursor on the first display line.

  • Set Cursor second Line: set the cursor on the second display line.

  • Clear Display: clear the displayed contents.

  • End of String: indicate the end of the message.

  • Max Character Length: to indicate the maximum number of characters allowed for each line.

  • Scroll Text: make the text scrolling on the screen.

  • Display Clock: show the current time on the screen.

 

*Individual bytes of a control sequence are separated by commas.

Each byte of the string is represented as follows: