home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt 1995 #6
/
CDD_6_95.ISO
/
cdd
/
winanw
/
bartest
/
readme.txt
< prev
Wrap
Text File
|
1994-11-07
|
7KB
|
221 lines
BARCODES.DLL DEMO PACK
======================
Product Version 3.5
BARCODES.DLL was developed by HEX TECHNOLOGY
417 Manchester Street, Christchurch, New Zealand.
Fax: 64 3 3772255, Compuserve: 100241,3550
From Internet: 100241.3550@COMPUSERVE.COM
DESCRIPTION
===========
BARCODES.DLL is a Microsoft Windows compatible Dynamic
Link Library for drawing barcodes.
FUNCTIONS
=========
It contains two functions that can be called by almost any Windows
programming language. The two functions are:
(1) DrawBarcode(...)
This function returns the barcode as a memory
metafile (HMETAFILE) which you can then display
and scale for a screen or printer device context (HDC).
For example;
HMETAFILE hmf;
HDC hdc = GetDC(hWnd);
hmf = DrawBarcode( hdc, BARCODE_UPC_E, "123456", "Apples", .... );
SetWindowExt( x , y);
SetWindowOrg( ox, oy);
PlayMetaFile( hmf);
DeleteMetaFile( hmf);
ReleaseDC(hdc);
(2) CreatePlaceableBarcode(...)
This function saves the barcode as a placable metafile on disk.
This makes it possible to load the barcode into any Windows software
that can read .wmf graphic files.
For example:
CreatePlacableBarcode( "apples.wmf", hdc, BARCODE_UPC_E,"123456"....);
InsertPicture( "apples.wmf");
NOTE: The demo version of barcodes.dll places a line through the barcode
picture and replaces the first digit of the barcode data with a different
digit. However, you should still be able to scan the barcodes for testing.
SAMPLE CODE
===========
In this archive, you should find two sample applications:
(1) Sample1.zip
This is a Visual C++ application that lets you test all the parameters
to the drawbarcode function. It has a preview function, and settings
can be loaded and saved to disk. You can also print the specified
barcode.
All of the work calling barcodes.dll is done in the file barvw.cpp.
(2) Sample2.zip
This is a Microsoft Word 6.0 template with a macro that will
insert a barcode picture into a document. To use, copy the template
to your Word Template directory and start a new document bases on the
template. Type a number anywhere in the document, select it, then
run the InsertBarcode macro. The macro calls the
CreatePlacableBarcode function to create a .wmf file on disk.
Then the Word Basic function to read and insert the .wmf file
is called. The selected text is replaced by the barcode picture.
The picture is scaled to exact measurements.
If you do not have Word version 6.0 a copy of the macro in text
form is included in macro.txt.
TECHNICAL INFORMATION
=====================
Supported styles
----------------
UPC-A, UPC-E, EAN 8, EAN 13, EAN 128, Code 128-Auto, Code 128-A,
Code 128-B, Code 128-C, Codabar (NW7), Telepen, MSI, Interleaved 2 of 5 (ITF),
Industrial 2 of 5 (Non interleaved), Code 3 of 9 (Code 39), Code 93, Code 11,
Code B. Others added on request.
Extended characters
-------------------
Styles such as Code 128/Ean 128 and Code 39 accept extended
characters. Codes are entered in the form ~Code~ eg: 123~CR~4567
as barcode data would generate a barcode pattern of 123CR4567.
See the help file of BAROLE 2.5 for more information. BAROLE is
available on Compuserve WINSHARE, or on CICA, win3/programmr dir.
Functions
---------
Check digits, Vertical and horizontal bearer bars, extra line of text,
show data on/off, font face, italic, bold, bar color, background color,
show spacer character ">", adjustable ratios from 1.75 to 3.00. Font
size adjustment from default.
Scaling
-------
The dll functions return measurement values that allow the programmer
to determine how to scale the barcode to an exact size. See the
sample code for more information.
Dynamic Link Library
--------------------
Size ~40K, compiled for 286 instruction set.
FILES INCLUDED IN THIS ARCHIVE
==============================
(1) README.TXT - This file
(2) BARCODES.DLL - The barcode library
(3) CTL3D.DLL - Microsoft's library for 3d controls
(4) BARTEST.EXE - A sample application to test barcodes.dll
(5) SAMPLE1.ZIP - Visual C++ source code for BARTEST.EXE
(6) SAMPLE2.ZIP - Microsoft Word 6.0 template and macro
for inserting a barcode into a document.
(7) *.BTS - Files for loading into BARTEST.EXE
BENEFITS OF USING BARCODES.DLL
==============================
Talking directly with the barcodes.dll provides the fastest and most
efficient method to draw barcodes in Windows. The dll is only 40K, and
since it does not use OLE or DDE it requires very little memory.
Barcodes.dll supports all widely used barcode styles.
Barcodes.dll has been used successfully in our barcoding products, sold
around the world, for over a year now.
HEX Technology provides very fast service and technical support. We can
provide a faxed or emailed response to your questions within a few hours.
In the event of bugs being found in the software, we fix and send free updates
of the software to all licensed users within 24 hours.
LICENSING BARCODES.DLL
======================
If you would like to use barcodes.dll in your software, then you must
license it. The fee is USD$810. This is a once only payment, and therefore
no royalties or update fees will be charged. You can then, without restriction,
ship barcodes.dll with your software applications. However a license does not
permit you to sell barcodes.dll on its own.
This is a very cheap way of providing barcode support in your software. If
for example, you expect to sell 200 copies of your software, then it is only
costing you $4 USD per copy of your software.
However, if you plan to sell only one copy of your software, then another
one of our products, BAROLE 2.5 might be a cheaper alternative. This sells
for $160 US, and is a complete OLE/DDE based barcode server. You can find
BAROLE 2.5 on Internets CICA ftp site or GO WINSHARE on Compuserve.
To order a license, please make contact with:
HEX TECHNOLOGY
417 Manchester Street
Christchurch 8001
NEW ZEALAND
Voice: 64 3 3772255, or, 64 25 358588
Fax: 64 3 3772255
Compuserve: 100241,3550
If we receive a faxed order, we can email you a license pack
immediately. Otherwise orders are processed every 24 hours.
Payment can be made by:
VISA, MasterCard, American Express, DinersClub or a Bank Cheque
drawn on a US bank.
Please remember we are about 11 hours ahead of most time zones in the US
and Europe.
WHAT YOU GET IN A LICENSE PACK
==============================
(1) An unprotected version of barcodes.dll
(2) A licensed serial number
(3) Free technical support for any question or problems.
(4) Free updates of barcodes.dll for at least 12 months.
(5) Customisation of barcodes.dll if you require some
extra features. This will not be charged for, if the
customised features can be added to the next version of
barcodes.dll. However, if the charges are major or
not applicable to other users, then we may make a small
charge.
The license does not include source code to barcodes.dll.
If you require further information about barcodes.dll please
drop us an email or fax message.
Best Regards
HEX TECHNOLOGY.
November 1994.