ggsnpdsn's picture
Mar 15, 2014
5851 views
Reputation: 35

How to print the two-dimensional code on ticket

By reading two-dimensional code can know the total amount of orders

4 answers

JohnSCS's picture
JohnSCS
Mar 15, 2014
Reputation: 271

Not too sure what you need, can you please explain with a bit more detail, and maybe an example. 

for Internet banking payment,The restaurant has a network bank account,after Internet banking client installed on smartphones  read through the two-dimensional code,Automatically paid through internet banking

for Internet banking payment,The restaurant has a network bank account,after Internet banking client installed on smartphones  read through the two-dimensional code,Automatically paid through internet banking

JohnSCS's picture
JohnSCS
Mar 16, 2014
Reputation: 271

You can print QR codes. Details are here http://sambapos.org/wiki/doku.php/en/barcode_printing_tags

V3 have not QR tag ? only find BARCODE tag

 

JohnSCS's picture
JohnSCS
Mar 17, 2014
Reputation: 271

The link above also lists QR Tag usage.

You need to use SambaPOS version 3.0.27 minimum. 

V3.0.34,not find QR tag

Printer Template Token Documentation

 

--Format Parts-- 

{ENTITIES} Entity List

{ORDERS} Order List

{ORDER TAGS} Order Tag List

{TAXES} Tax List

{DISCOUNTS} Discount List

{SERVICES} Service List

{PAYMENTS} Payment List

{CHANGES} Change Payment List

 

-- Object Value Tags -- 

{DATE} Date of Day

{TIME} Time of Day

{SETTING:X}} 设置值

{RANDOM} Date based Random Number

{RANDOM:X}} Random Number

{RANDOMC:X}} Random Number with check digit

 

-- Ticket Value Tags -- 

{TICKET DATE} 票据 Date

{TICKET TIME} 时间

{LAST ORDER TIME} 时间

{CREATION MINUTES} Ticket Duration

{LAST ORDER MINUTES} Last Order Duration

{TICKET ID} 唯一的票据ID

{TICKET NO} Ticket Number

{USER NAME} 用户名

{DEPARTMENT} 部门

{NOTE} 票据备注

{PLAIN TOTAL} Ticket Sub Total

{DISCOUNT TOTAL} 折扣总计

{TAX TOTAL} 税收总计

{TICKET TOTAL} 票据总计

{PAYMENT TOTAL} 付款总计

{BALANCE} 结余

{TOTAL TEXT} Text written total value

{TOTALTEXT} Text written total value

{TICKET TAG:X}} 票据标签

{TICKET STATE:X}} Ticket State

{TICKET STATE QUANTITY:X}} Ticket State Quantity

{TICKET STATE MINUTES:X}} Ticket State Duration

{CALCULATION TOTAL:X}} 总数Calculation

{ENTITY NAME:X}} 实体名称

{ENTITY DATA:X}} Entity Custom Data

{ENTITY BALANCE:X}} Entity Account Balance

{ORDER STATE TOTAL:X}} 总数订单状态

{ORDER STATE QUANTITY TOTAL:X}} 总数Order State Quantity

{SERVICE TOTAL} 总数Service

{EXCHANGE RATE:X}} 汇率

{TICKET QUANTITY SUM} Ticket Quantity Sum

{ORDER COUNT} Order Count

 

-- Order Value Tags -- 

{QUANTITY} #Line: Item Quantity

{NAME} #Line: Item Name

{PRICE} #Line: Item Price

{TOTAL} #Line: Item Total

{TOTAL AMOUNT} #Line: Item Total x Quantity

{CENTS} #Line: Item Price On Cents

{LINE AMOUNT} #Line: Item Total (Gifts Excluded)

{ORDER NO} #Line: Order Number

{ORDER DATE} 订单 Date

{ORDER TIME} 订单 Time

{PRICE TAG} #Line: Price Tag

{ORDER TAG:X}} Order Tag Value

{ORDER STATE:X}} 订单状态

{ORDER STATE VALUE:X}} Order State Value

{ORDER STATE MINUTES:X}} Order State Duration

{ORDER TAX RATE:X}} Tax Rate

{ORDER TAX TEMPLATE NAMES} 税收模板列表

{ITEM ID} Item Id

{BARCODE} Barcode

{GROUP CODE} Group Code

{ITEM TAG} Item Tag

 

-- Order Tag Value Value Tags -- 

{ORDER TAG PRICE} 订单标签价格

{ORDER TAG QUANTITY} 订单标签数量

{ORDER TAG NAME} 订单标签名称

 

-- Ticket Entity Value Tags -- 

{ENTITY NAME} 实体名称

{ENTITY BALANCE} 账户结余

 

-- Entity Value Tags -- 

{ENTITY STATE:X}} Entity State:X}

{ENTITY STATE QUANTITY:X}} Entity State Quantity:X}

 

-- Calculation Value Tags -- 

{CALCULATION NAME} Calculation名称

{CALCULATION AMOUNT} Calculation Amount

{CALCULATION TOTAL} 总数Calculation

 

-- Payment Value Tags -- 

{PAYMENT AMOUNT} 付款 Amount

{PAYMENT NAME} 付款名称

 

-- Change Payment Value Tags -- 

{CHANGE PAYMENT AMOUNT} Change Payment Amount

{CHANGE PAYMENT NAME} Change Payment名称

 

-- Tax Value Value Tags -- 

{TAX AMOUNT} Tax Amount

{TAX RATE} Tax Rate

{TAXABLE AMOUNT} Taxable Amount

{TOTAL TAXABLE AMOUNT} Total Taxable Amount

{TAX NAME} 税收模板名称

 

-- Account Transaction Document Value Tags -- 

{DOCUMENT DATE} Document Date

{DOCUMENT TIME} Document Time

{DESCRIPTION} Document Description

{DOCUMENT BALANCE} Document Balance

 

-- Account Transaction Value Tags -- 

{AMOUNT} Transaction Amount

{EXCHANGE RATE} Transaction Exchange Rate

{TRANSACTION TYPE NAME} Transaction Type Name

{SOURCE ACCOUNT TYPE} Source Account Type

{SOURCE ACCOUNT} Source Account

{SOURCE DEBIT} Source Debit

{SOURCE CREDIT} Source Credit

{SOURCE AMOUNT} Source Amount

{SOURCE BALANCE} Source Balance

{TARGET ACCOUNT TYPE} Target Account Type

{TARGET ACCOUNT} Target Account

{TARGET DEBIT} Target Debit

{TARGET CREDIT} Target Credit

{TARGET AMOUNT} Target Amount

{TARGET BALANCE} Target Balance

 

--Order Grouping-- 

[ORDERS GROUP|ORDER STATE:x] Order State

[ORDERS GROUP|ORDER TAG:x] Order Tag

[ORDERS GROUP|PRODUCT GROUP] Group Code

[ORDERS GROUP|PRODUCT TAG] Product Tag

[ORDERS GROUP|BARCODE] Product Tag

[ORDERS FOOTER] Group Footer

{GROUP KEY} Group Key

{GROUP SUM} Group Total

{QUANTITY SUM} Quantity Total

 

JohnSCS's picture
JohnSCS
Mar 18, 2014
Reputation: 271

That is because the barcoding tags are not listed under printer templates. 

The link I provided above describes how to use the barcoding tags. Another example is below

http://forum.sambapos.com/t/printer-template-formatting-tags/328

 

We have already answers to
1030 questions
E-Posta Facebook Twitter RSS Skype
Telefon (212) 252 0634