How to generate a QR code in bartender dynamically? 追蹤


Hi I'm developing a .NET desktop program in which using bartender to print the  receipt for customer. I want to print a qr code dynamically which value contains the customer's id. For example, convert string "id=$UserId" to a qr code and print it. The $UserId is different for each customer. How can I do it? Can I generate a qr code dynamically instead of print a qr code with static value? Thanks!

1 意見

Mike Wright
評論操作 永久連結

First you create a Bartender Template with a QR code.  You set the data source for the QR code to a Named Embedded data source.

From the .net side, use the substring property on the LabelFormat object to set the value for the Named data source.