Example: How to Display QR Code in ReportWorkshop

A new example is posted on the support forum: https://www.trichview.com/forums/viewtopic.php?t=12065

It contains a unit that implements a new field type: “qrcode”

This unit uses Zint Barcode Generator for Delphi, free open source barcode generator.

This is the first version of barcode field object for ReportWorkshop. It supports only QR Codes, and generates results as TMetafile (so it is VCL-only)

This unit implements “qrcode” field type to display text values as QR Codes.

The simplest syntax:

{FIELDNAME qrcode}

This field type has an optional format string, in form of space-delimited list >, with supported properties:

  • size – image size in pixels (default – 100)
  • color – foreground color (default – black)
  • backcolor – background color (default – white)
{VALUE qrcode "color=darkred size=200"}

I plan to extend this unit:

  • to allow generation of all types of barcodes supported by Zint
  • to support more output image formats
  • Lazarus compatibility
  • more parameters in format string
Sergey Tkachenko

Recent Posts

ANN: IDEInstaller 2.5

IDEInstaller 2.5 includes support for 64-bit Delphi IDE.

1 week ago

ANN: TRichView 23.2 – Markdown in Clipboard

We have released TRichView 23.2 and updates of related components The main new feature in…

2 weeks ago

ANN: RVMedia 11.1 – error handling and UDP streaming

RVMedia 11.1 has been released Main new features: UDP streaming with FFmpeg improved error handling…

3 weeks ago

TRichView 23.1 – RichViewActions for Lazarus for Linux

We have released TRichView 23.1 and updates of related components The main new feature in…

3 months ago

IDEInstaller v2.4

We've released our installer program as freeware with source code:http://www.trichview.com/ideinstall/ It was updated to version…

4 months ago

TRichView 23 – Lazarus for Linux, equations in files

We have released TRichView 23 and updates of related components This update is free for…

4 months ago