BarcodeTools.com
Professional BarCode Software
Home
Barcode ActiveX
DataMatrix ActiveX
PDF417 ActiveX
MaxiCode ActiveX
QRCode ActiveX
Barcode .NET
DataMatrix .NET
PDF417 .NET
Barcode ASP.NET
DataMatrix ASP.NET
PDF417 ASP.NET
ISAPI
CGI
LabelBar(Pro)
Console Apps
Barcode Recognition
Order
FAQs
Flash Tutorials
Support
Barcode Types
OnLine Barcode
Our barcode software compatible with Windows XP, 7, 8, 10

Home arrow CGI arrow DataMatrix
DataMatrix CGI Application Print E-mail

Click one of the links to get information about our barcode CGI applications:

DataMatrix CGI parameters
Our barcode CGI generators understand both GET and POST requests.

Parameter Name Description Corresponding property of DataMatrix-ActiveX Default value
w DataMatrix picture width. 100
h DataMatrix picture height. 100
xdim DataMatrix X-Dimension. This parameter makes sense only if the w and h parameters are not used. 5
data Sets the data that is to be encoded in the DataMatrix. DataToEncode 1234567
fmt DataMatrix format.
Possible values: 0...30
PreferredFormat 0
mode DataMatrix encoding mode.
Possible values: 0...6
EncodingMode 0
angle Orientation of the DataMatrix bar code.
Possible values: 0, 90, 180, 270
Orientation 0
quiet Show quiet zones.
Possible values: 0(hide) or 1(show)
QuietZone 1
alignh Horizontal barcode alignment.
Possible values: 0...3
AlignH 1
alignv Vertical barcode alignment.
Possible values: 0...3
AlignV 1
bcolor Background color.
Possible values: 000000...ffffff
The color must be presented as RGB, i.e. you should specify the value ff0000 for the red color.
BackColor ffffff (white)
fcolor Foreground color.
Possible values: 000000...ffffff
ForeColor 000000 (black)
qsize Quiet zone size.
Possible values: 0...
QuietZoneSize 1
help Displays information about our DataMatrix CGI generator. See below.
debug Displays information about the error. See below.


Examples
If you specify the following parameters:

http://localhost/test/dmtxcgi.exe?data=HelloWorld&w=100&h=100&bcolor=ffff00&fcolor=0000ff

"HelloWorld" will be encoded in the DataMatrix barcode, the image size is 100x100 pixels, the background color is yellow, the foreground color is blue. See the picture below.

Using DataMatrix CGI barcode generator


To get information about the DataMatrix CGI application (and also the license information), just specify the parameter help:

http://localhost/test/dmtxcgi.exe?help=1


If the web server returns an error for some reason (for example, a CGI Error for a Windows server or an Internal Server Error for Linux), you may have specified some parameters incorrectly. Try specifying the parameters as shown below and you will get such an error.

http://localhost/test/dmtxcgi.exe?data=HelloWorld&w=100&h=1

As you can see, the height of the DataMatrix image is set to1 pixel. Of course, a barcode image cannot have this size. To get debugging information, add the parameter debug and you will see an error message:

http://localhost/test/dmtxcgi.exe?data=HelloWorld&w=100&h=1&debug=1

Using DataMatrix CGI barcode generator with debug information.



 

  Home   Order   FAQs   Support   Reader

Copyright © 1999-2016, RKD Software & RKD System Inc., All rights reserved.
All trademarks mentioned are the property of their respective owners.