You are on page 1of 3

Customizing RMS Receipt

Introduction:
Microsoft RMS receipts can be customized easily according to the end users need. The receipt templates are saved as XML files in C !"rogram #iles!Microsoft Retail Management System!Store $perations!ReceiptTemplates% location. The content and design of receipts can be modified as per the need& by either modifying the e'isting XML file or creating ne( XML templates.

Receipt Templates:
Receipt templates provide multiple receipt formats grouped by transaction type. Such as sales transaction& canceled transaction& payment transaction etc. )ach register can have * receipt templates for * receipt printers. Receipt templates provide previe( option and are easily customizable. The receipt templates are saved in the database as XML string. The templates are processed in a * step manner. +. Compile pass Store operations manager ta,es the receipt template and processes the conditional clause& variables and loops and generates a receipt string in XML to be rendered. *. Rendering pass -t ta,es the output of compile pass and prints it to $"$S or (indo(s printer by processing the design ! layout nodes of receipt template.

Receipt Template Language:


Receipt template consists of receipt template legend& receipt template XML elements and receipt template variables. +. Receipt template legend This includes numeric e'pression& string e'pression& .oolean e'pression& color and alignment string. *. Receipt template XML elements These elements define the structure of receipt template and are of the follo(ing types. I. Conditional elements / determines (hich element in the receipt template are rendered. 01-#23 --. 4raphical elements / determines the design format of receipt. 01T5.L)2& 1R$62&1C$L7M89)5:)R2 & 1L-8)2 etc3 ---. 9eader elements / determines the information used in the entire receipt 01:$C7M)8T2&1#$8T2&1$"$S2 etc3 -;. "rocedural elements < determines programmatic functionality such as procedures& loops 01C5LL2& 1#$R23 =. Receipt template variables These are pre defined set of variables. They can be manager variable or "$S variable. Some e'amples of "$S variables are )ntry.:escription%&

Configuration.Store8ame% and Cashier.8ame% etc. These variables (ill provide information according to the current transaction in "$S.

#ig Sho(s a sample receipt template previe(.

Configure Receipt Printer:


-n the store operations manager under database menu& (e have registers<2register list menu. The receipt format can be set to * available receipt printers. The receipts can be printed in $"$S or (indo(s printer. 6e can set the printer type& printing options& device name in the register properties.

6e can use the e'isting templates as a base for customizing receipt template as per user need. $r else (e can create ne( XML file. 5nother option is to generate the receipt string using $"$S commands and sending to the $"$S printer to be printed.

You might also like