1 QR Code

A Quick Response (QR) Code is a two-dimensional code. QR scanners, mobile phones with a camera, and smartphones can read this code.

qrcode

Refer to the following article for more information: QR Code.

Available Characters

QR Code can encode numeric, alphanumeric, and binary data. The table below shows the available characters for each mode:

Mode

Available Characters

Numeric

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Alphanumeric

0-9, A-Z (upper-case only), space, $, %, *, +, -, ., /, :

Xem tiếp: GIẤY IN TEM MÃ VẠCH MÀU

Byte/Binary

ISO 8859-1

Use the barcode’s CompactionMode property to specify mode (Numeric, AlphaNumeric, or Byte) that should be used to encode data. Choose mode that corresponds to the characters your data contains.

Add the Bar Code to a Report

  1. Drag the XRBarCode item from the DX.21.2: Report Controls tab and drop it onto the report.
  2. Set the XRBarCode control’s Symbology property to QRCode (an object of the QRCodeGenerator type).
  3. Specify common barcode properties and properties specific to QR Code .

Specific Properties

  • XRBarCode.AutoModule/BarCodeControl.AutoModuleGets or sets whether the Module property value should be calculated automatically based upon the barcode’s size.
  • CompactionModeGets or sets whether numeric, alphanumeric or byte mode should be used to encode the barcode’s data.
  • ErrorCorrectionLevelGets or sets the amount of redundancy built into the bar code’s coding, to compensate for calculation errors.
  • VersionGets or sets the bar code’s size.
  • LogoSpecifies the image that overlays the QR code.
Bạn có biết  Mã vạch 761 của nước nào? mã vạch Thụy Sĩ

Đọc tiếp: 1 Máy in mã vạch NOVEXX XLP 504

Runtime Example

The following code creates the QR Code barcode and specifies its properties.

View Example: How to add a bar code to a report

  • vietnamsino.com
  • vietnamsino.com

The code example below shows how to create a report with the QR Code barcode:

  • C#
  • VB.NET

See Also How to: Display QR Bar Code in BarCodeControl

 

Xem tiếp: RUY BĂNG MỰC IN MÃ VẠCH WAX RESIN 2022