IMPORTANT: Bar codes can easily be printed using a Report or DataWindow, designed in PowerBuilder's Report Painter or DataWindow Painter. It is very easy to modify existing Reports or DataWindows to print bar codes, or to create new ones. 

See: Printing bar codes in a Report or DataWindow

Only resort to PowerScript code if a Report or DataWindow is not sufficient.

Most people will use a Report or DataWindow to print bar codes.

Examples using bar code functions in scripts

Although we recommended that you print bar codes using a Report or DataWindow, if you cannot achieve the results you want, you can use PowerScript code to generate and print bar codes.

Examples

Example: Printing data from a DataWindow as bar codes using PowerScript code

Example: Using bar code functions to generating bar codes in a dialog box

 


Copyright 2000 CIA (BAR CODES) UK. All rights reserved. Reproduction prohibited.