News | Download | Order/Buy | Barcode encyclopedia | Contact |
PSOFT barcode homepage
Barcode solutions for Delphi™, C++Builder™
Applications for Windows™, DLL
ActiveX for Microsoft Office™
Apr 22 2017

Barcode studio
... updated latest trial versions for Delphi7 - Delphi Berlin 32/64bit.

Our second homepage

Are you developer? Can be inform about news, updates? Can you try new versions before official presentation? Not a member yet? Please join us.

Are you developer? Can be inform about news, updates? Can you try new versions before official presentation? Not a member yet? Please join us.


 Barcode studio 2016 - <b>A set of Borland Delphi™ and C++Builder™ components for design and print barcode.


All products(3) Barcode studio(2) Eval library.
(4) Barcode library.

Barcode studio

1. How I can use Code128 A,B, or C ?
BarcodeSymbology := bcCode128 only. TpsBarcodeComponent analyze TpsBarcodeComponent.Barcode property value and automatic optimize for best veraion A,B or C, or when mixed data switch versions dynamically in position where is this needed.
For more information please look to psBarcodeComp.pas, method TpsBarcodeComponent.Code128 ...

Examples :
Input dataEncoded as :
1234567890StartC, and encode as data pairs 12, 23, 56, 78, 90
12345StartC, encode as pairs 12, 34 , than switch to CodeA or CodeB and encode as simple character digit 5
1234ABCabc567890StartC, pairs 12, 34, thans automatic switch to CodeB, encode ABCabc and again switch to CodeC and encode 56, 78, 90 ....
http://psoft.skStartB and encoded
A#9b#9CStartB , encoded B,
2. How can draw barcode on any canvas, form, printer ?
Use function (located in psBarcodeComp unit)
// paint barcode on the TCanvas
procedure PaintBarCode(C:TCanvas; R:TRect; E:TpsBarcodeComponent);

// paint barcode using device context
procedure PaintBarCodeDC(dc:HDC; R:TRect; E:TpsBarcodeComponent);

// paint barcode using window handle
procedure PaintBarCodeHandle(HWnd:THandle; R:TRect; E:TpsBarcodeComponent);

or (from psBarcode unit)

procedure PaintBarCode(C:TCanvas; R:TRect; E:TpsBarcodeComponent); overload;

procedure PaintBarCode(C:TCanvas; R:TRect; E:TpsBarcode); overload;

procedure PaintBarCodeControl(WinControl:TWinControl; R:TRect; E:TpsBarcodeComponent); overload;

procedure PaintBarCodeControl(WinControl:TWinControl; R:TRect; E:TpsBarcode); overload;

procedure PaintBarCodeHandle(HWnd:THandle; R:TRect; E:TpsBarcodeComponent); overload;

procedure PaintBarCodeHandle(HWnd:THandle; R:TRect; E:TpsBarcode); overload;

3. How export barcode image
Set psBarcodeComponent.Params.ExportBarcode property, set FileName, Height, Width ...

and then use one from TpsBarcodeComponent methods : function SaveToFile:Boolean;
function SaveAsBmp:Boolean;
function SaveAsWmf:Boolean; function SaveAsJpeg:Boolean;
{$ifdef PSOFT_GIF}
    function SaveAsGIF:Boolean;
    function SaveAsPNG:Boolean;

Note : jpeg, gif, png is depended on your Delphi version ...

If you have TpsBarcode, TpsBarcodeWinControl, TpsDBBarcode (XXX) is same, use TpsXXX.BarcodeComponent : TpsBarcodeComponent;