Skip to content

Ircama/qr-code-generator

Repository files navigation

QR-Code Generator (Bar generator)

QR-Code Generator 1.2

(formerly named Bar Generator)

This Windows/MacOS/Linux desktop software generates formatted matrix barcodes, like standard texts, browser URLs, phone call numbers, contacts, emails, SMS, MMS, calendar notes, youtube URLs, geographic locations, wifi configuration, Google Play links, etc.

Specifically, QR-Code Generator is able to generate QR codes, Aztec codes and Data Matrix codes.

Download the Windows version from this link.

A typical usage of this tool is to easily transfer preformatted text data from a desktop computer to a smartphone via QR Code, without usage of any wireless or wired link.

Sending a message to a smartphone (e.g., to write an email, an SMS text, or a long string) can be done without the need to digit the text through the touchscreen (or similar smartphone input device): simply open QR-Code Generator on a desktop computer, write there the message (or paste it from a desktop application, including integration with Microsoft Word), then open your preferred Scan Code App on your smartphone and get the formatted text from the desktop computer by reading its QR code, ready to be subsequently copied and pasted to any other smartphone App.

The source code of QR-Code Generator is in Object Pascal language, developed through the cross-platform Lazarus IDE. It can be freely compiled to your favorite OS including Windows, MacOS, Linux.

See Installing Lazarus for setting up this IDE.

Features:

  • Selection of QR Message types:
    • Memo (standard),
    • SMS (supports SMS and SMSTO formats),
    • MMS,
    • Email (supports mail and mailto formats),
    • URI (18 different types),
    • Telephone,
    • Geo-positioning,
    • Contact (both vCard and meCard formats),
    • Event (with automatic local time),
    • Wifi Configuration (WEP, WPA/2 and no encryption). Wifi is only supported by Android.
  • Integration with Microsoft Word (options to send and receive from Microsoft Word)
  • Setting for QR Code, Aztec, Data Matrix Code generator and Textual (debug).
  • Selection of message type formats: Standard, UTF8, UNICODE
  • CR+LN toggle (carriage return + line feed for Windows scan processing or line feed for UNIX/smartphones scan processing)
  • Setting for automatic or manual ECC level/Error Correction (codewords which can be restored: L=7%, M=15%, Q=25%, H=30%)
  • Buttons to generate SMS or Email from the clipboard
  • Button to load mesage from text
  • Keyboard shortcuts:
    • Alt M to change the message format
    • Alt T: input text
    • Alt E: ECC Level
    • Alt Q: bar format
    • Alt C: CR-NL toggle
    • Esc: quit
    • Alt L: load text file

QR-Code Generator can also be linked to a keyboard shortcut (e.g., Alt-Grp S) via AutoHotkey or similar software. Example of AutoHotkey script Alt Gr+S in case the QR Code Generator software is installed to C:\Program Files\Qr\bar_generator.exe:

SetCapslockState AlwaysOff
SetTitleMatchMode, 2

;Open QR-Code Generator with AltGr S
<^>!s::
IfWinExist QR code generator
WinActivate QR code generator
else
Run, "C:\Program Files\Qr\bar_generator.exe", , max, OutputVarPID
WinWait, ahk_pid %OutputVarPID%
WinActivate, ahk_pid %OutputVarPID%
return
; note: set "SetTitleMatchMode, 2" at the beginning of the file

Some screenshots of QR-Code Generator:

Memo

qr-code-memo

SMS

qr-code-sms

Email

qr-code-email

URI

qr-code-uri

Telephone

qr-code-tel

Geo-positioning

qr-code-geo

Contact

qr-code-contact

Event

qr-code-event

WiFi Configuration (only Android)

qr-code-wifi

Credits

Original code (version 1.0) by by Dariusz Rorat (dariuszrorat).

Original sources imported from sourceforge.