General directives
The following directives are replaced with appropriate data.
Replaced receipt parts
Directive
Description
</RCPTTOP>
The Receipt Header specified in a workstation group
</RCPTBOTT>
The Receipt Footer specified in a workstation group
</PRICE_LEVELS>
todo
Static content
Directive
Description
</LINE>
Prints a full width line of single dashes (-)
</LINEDBL>
Prints a full width line of double dashes (=)
Date and time information
Directive
Description
</DATE>
Prints the current date according to the current locale's short date format
</TIME>
Prints the current time according to the current locale's short time format
</TRANSDATETIME>
Prints the transaction's date and time according to the current locale's format
</BUSINESSDATE>
Prints the transaction's business date according to the current locale's short date format. The business date may be different from the current date, if the business day rollover is set to a different hour than midnight.
</STARTTRANSSTARTDATE>
Prints the date when the transaction started
</CURRTRANSSTARTDATE>
(same as STARTTRANSSTARTDATE)
</STARTTRANSSTARTTIME>
Prints the time when the transaction started
</CURRTRANSSTARTTIME>
(same as STARTTRANSSTARTTIME)
Operator information
Directive
Description
</OPERNUM>
Transaction operator id
</OPERNAME>
Transaction operator name
</OPERNICKNAME>
Transaction operator's nick name
Store and POS
Directive
Description
</STORE_ID>
Store number
</STORE_DESCR>
Store description
</WRKSTID>
POS number
</WRKSTZ>
POS transaction Z-number
Transaction information
Directive
Description
</STORE_WKST_TRANID>
Prints the POS specific transaction number. This is of the form S.P.Z.N, where S is the store id, P is the POS id, Z is the current Z-number, and N is the transaction id.
Optionally the values can be formatted by appending a format string of the form S.W.Z.T, e.g. </STORE_WKST_TRANID,SSSWWZZZZZTTTTTT>
This also means that any of the values can be skipped, however, their order cannot be changed.
</TRANSNUM>
Prints the POS specific transaction number. This is of the form P.N, where P is the POS id, and N is the transaction id
</TRAN_ID>
Prints the POS specific transaction id (N from above)
</TRNO>
Prints the POS specific unique transaction identifier. Note that this is a GUID and generally not printed on receipts.
</REPEATPRNCOUNT>
The number of times the receipt has been printed
</QTY_SOLD>
The total quantity sold in the transaction
</QTY_RETURNED>
The total quantity returned in the transaction
</TRANSTOTAL>
The total value of the transaction
</SUSPEND_NUMBER>
Suspend number (for suspend and retrieve)<
</TRANSACTION_INFOCODES>
Transaction level infocodes. The list of infocodes can be limited to show only certain infocodes by appending a comma-separated list of infocodes to the directive. E.g. </TRANSACTION_INFOCODES,RC[ic1,ic2]>
Customer information
The following directives only return data if a customer is on the sale, otherwise an empty string
Directive
Description
</CUSTOMER>
The id of the customer, formatted as Customer: id
</CUST_ID>
The id of the customer
</CUST_NAME>
The name of the customer. Note: this directive appends the prefix "Name:" in front of the value itself.
</CUST_EXT_ID>
The external id of the customer (typically the id from an ERP system)
</CUST_ADDR>
The full address of the customer
</CUST_ADDR1>
The first line of the customer's address
</CUST_ADDR2>
The second line of the customer's address
</CUST_ADDR3>
The third line of the customer's address
</CUST_ACC_ID>
The customer account id (only if charged to an account)
</CUST_ACC_NAME>
The customer account name (only if charged to an account)
</LOYALTY_ID>
The loyalty id of the customer
Receipt lines
Centara offers a few different types of receipt lines to print the item and tax information
Directive
Description
</BODY> or </BODYDETAIL>
todo
</BODY1> or </BODY2>
todo
</BODY3>
todo
</BODYSUM>
todo
Credit or debit card slip
If the payment processor supports it, Centara can embed the credit or debit card slip onto the receipt, reducing the number of slips printed
Directive
Description
</EMBEDDED_SLIP>
The embedded slip content
Prompt for data
Centara can prompt for data to print, e.g. for asking for a customer name or customer id.
The following directives can optionally include a prompt and a question of the form </directive|prompt> or </directive|prompt|question>
Directive
Description
</PROMPT_FOR_STR_ENTRY>
Prompt for a string
</PROMPT_FOR_INT_ENTRY>
Prompt for a number
Last updated
Was this helpful?