logo
small logo
  • Produkte
  • Shop
  • Support
  • Über uns
  • Customer panel Support
    • en
    • de
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • How to use QR-codes in FastReport .NET
  • How to create a Swiss QR bill in .NET application

    19. Mai 2020

    Recently many countries digitize payments. In other words, they convert existing payments to digital format.

    read more
  • Einen QR-Code mit Logo selbst erstellen

    9. Januar 2019

    Es ist nicht mehr neu, einen Pixel-QR-Barcode auf der Produktverpackung zu sehen. Obwohl es komplizierter

    read more
  • Wir machen und geben ITF-14-Barcodes in .NET-Anwendungen aus

    25. Februar 2021

    ITF-14 (Interleaved Two of Five) ist ein zweispuriger numerischer Code, mit anderen Worten Code

    read more
  • Wie importiert man einen Bericht aus StimulSoft in FastReport .NET

    6. Juli 2022

    Mit dem Update 2022.2.13 wurde das Importieren von Berichten aus StimulSoft hinzugefügt. Um es

    read more
  • Wie LOGMARS Barcode in FastReport .NET implementieren

    6. September 2021

    LOGMARS steht für Logistik Apps im Bereich der Automatisierung vom Zeichnen und Symbolen Lesen zur

    read more

How to use QR-codes in FastReport .NET

15. Februar 2017

Nowadays “QR-codes” are gaining their popularity. Unlike conventional barcodes, “QR-codes” allow you to encode more information in different formats. They are widely spread in trade, logistics and production. To recognize such codes one does not need a special laser reader. A smartphone camera will be enough. Easy recognition is the secret of popularity of “QR-codes”.

As a modern reporting tool, FastReport.Net provides an opportunity to use “QR-codes”.

 Let us view the possibility in detail.

Run the report designer. You will find a QR-code component in a pop-up menu of the control Barcode .

 

Select the item “QR Code” from the list and add the control to the page:

 

Open the barcode editor by double-clicking on the component. This can also be done from the context menu. Select "Edit":

 

Now, let us view the Barcode editor:

It is very similar to the expression editor. There will be a “data tree” on the right. You can "drag and drop" elements from it into a text editor. After there will a drop-down list appear above. You can choose the type of content QR code there:

Let us consider more types with examples of codes and data:

-      “Text” is the text in alphabetical and numerical representation. We use the text "12345678":

 

12345678

 

-      “vCard” ( also known as Versitcard) is a format for electronic business cards. In this format you can send information about a person:

  • Full  name;
  • Name of the organization;
  • The logo of the organization;
  • Address;
  • Phone numbers;
  • URL;
  • Video and audio fragments and etc.

 

 

BEGIN:VCARD

VERSION:2.1

FN:AnneDodsworth

N:Dodsworth;Anne

TITLE:Manager

TEL;WORK;VOICE:(71) 555-4444

ADR:;;7Houndstooth Rd.;;;;

END:VCARD

 

-        “URI” is Uniform Resource Identifier is a line identification of files, documents, images,

 e-mails, web service, etc .:

 https://www.fast-report.com/en/product/fast-report-net/

 -        “EmailAddress”:

 

support@fast-report.com

 -        “EmailMessage” is an e-mail text:

 

MATMSG:TO:support@fast-report.com;SUB:FastReport.Net question;BODY:Hello,

I have a question about FastReport.Net.;;

-        “Geolocation” is  coordinates to determine the actual geographic location:

 

geo:-50.737563,-79.490016,120

-        “SMS” is a short Message:

 

SMSTO:(71) 555-4444:Hello, Dolly! I'm fine!

-        “Call” is a phone number:

 

tel:(71) 555-4444

-        “Event” is an event marked in the calendar. It contains date / time and a text message:

 

BEGIN:VEVENT

SUMMARY:Back to the Future Day!

DTSTART:20151021T121141Z

DTEND:20151021T121141Z

END:VEVENT

-        “Wi-fi” is  information to connect to the wi-fi network:

 

WIFI:T:WPA;S:Honeypot;P:youarewelcome;H:true;

Click the button "Save" to accept the changes.

Now, let us review some properties of Barcode object:

 

Notice the Encoding property. Here you can select the text encoding, for example: UTF8, Windows_1251, CP_866 and others.

To provide redundancy use Error Correction. It can be: L (low), M (medium), Q, H (high). These levels provide a variety code redundancy. Redundancy is necessary for correct reading of data when the image of the code is partly damaged.

Here is the percentage equivalent of error correction levels:

-        L – 7%;

-        M – 15%;

-        Q – 25%;

-        H –30%.

QuietZone property determines by the availability of a white QR-code frame.

To hide the text under the code, change the value of the ShowText = false.

AutoSize property is responsible for automatic adjustment of the size of the code, depending on the size of the object.

Summing up, we have reviewed the use of “QR-codes” in FastReport.Net. This feature expands the use of the reporting tool in modern workflows.

about product buy
avatar
Dmitriy Fedyashov
Technical Writer
Fast Reports Team: Dmitriy Fedyashov - Technical Writer at Fast Reports
.NET FastReport Barcode QR Code

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Shop
  • Download
  • Dokumentation
  • Referenzen
  • Informationen zur Deinstallation unserer Produkte
  • FAQ
  • Tutorial Video
  • Forum
  • Articles
  • Unsere Nachrichten
  • Presse über uns
  • Partner
  • Außergewöhnliche Lizenzierung
  • Kontakte

© 1998-2023 by Fast Reports Inc.

  • Datenschutz