Home » Categories » Solutions by Business Process » Utilities

QR Code Image Generator

A qr code on a black backgroundDescription automatically generated

This is a new tool that allows you to create a QR code image based on a data item within a database and to record the image filename within a data item on the same database so that it can be included within SOP/POP Documents or Profiler UDR labels.

 

Whilst this is a tool that can be called from within Datafile to create the QR code images the configuration process uses an INI file for the setup. The INI file can be edited with any text editor (Notepad for example).

 

As part of the installation process a DFQR folder will be created within the main Datafile folder – DF or DFWIN – browse to this folder.

You can have multiple QR code generation options. Clicking the DFQR.EXE will create a blank DFQR.INI – which you can rename as required for each unique configuration before editing via Notepad.

A screenshot of a computerDescription automatically generated 

[Application]

AutoClose= set to ‘1’ to automatically close the process when completed.

[Datafile]

DatafileINIPath – set the full path, including the filename, for the DATAFILE.INI

[DFD]

DFDFullPath – set the full path for the Datafile DFD to be processed for the QR code image creation.

Data – set the data item number to be processed for the content of the QR code. You can include multiple data items or hard coded text – i.e. Code-!001 will replace !001 with the stock code and the QR code will contain Code-CH0167 for example, or !001-!002 to include the code and description.

BarCodeItemNumber – set the data item number to be updated with the QR code image filename.

SelectionCriteria1– set any selection criteria for the QR creation process. Up to six lines of criteria can be defined. You define each criteria by entering the data item number (three digits), whether E-Equal, NE-NotEqual and so on.

PathPrefix = set the image file prefix to be included within the image filename updated.

[BarCode]

FileOutputFullPath – set the full UNC\drive letter path where the images are to be created.

Rotation – set to 0. Can set to 90/180/270 to rotate as required.

Image Extension – set to jpg.

Symbology – set to 23 for QR Codes.

Example completed INI

A screenshot of a computer programDescription automatically generated

To create the QR code labels you can then create a shortcut – create the shortcut to the DFQR.EXE and follow with the INI file name – i.e.

D:\DFWIN\DFQR\DFQR.EXE STOCKCODES.INI

Premier users can also create a batch file with the same content and add this into the menu – adding to the Stock menu for example.

When you run the shortcut or batch file the system will show the progress through the file as a progress bar.


The files will be created in the selected folder – the file will be named with the database followed by the record number, the data item value, the rotation and then symbology setting.


 


Custom Fields
  • Release ID: 7.7
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Confirm Input File and Date - Stock Batch Update
Viewed 1786 times since Thu, Jul 5, 2012
Input File Pathname - Job Costing Batch Update
Viewed 1578 times since Thu, Jul 5, 2012
Accept Forward Period Dates on Automatic Imports
Viewed 1841 times since Fri, Jun 8, 2012
Confirm Update Definition - Sales/Purchase Batch Updates
Viewed 1636 times since Thu, Jul 5, 2012
Installation Details - Job Costing Batch Update
Viewed 1548 times since Thu, Jul 5, 2012
Calling a Batch Update Definition - Profiler
Viewed 1846 times since Thu, Jul 5, 2012
Run Time Prompt - Stock Batch Update
Viewed 1541 times since Thu, Jul 5, 2012
Selection Criteria Range ‘Value’ Input
Viewed 1792 times since Fri, May 27, 2016
Windows 10 1803 Update / Windows Defender
Viewed 2389 times since Wed, May 30, 2018
Input File Structure - Stock Batch Update
Viewed 1540 times since Thu, Jul 5, 2012