Please enable JavaScript to view this site.

Updated  January 2013; see History

xcall USPSBS, trackstr, routestr, barstr, status

USPSBS creates an encoded bar string for the US Post Office intelligent bar codes.

Parameters

trackstr (String, 21)  [in]

tracking string

routestr (String, 12)  [in]

route string

barstr (String, 66)  [out]

returned encoded bar string. It is a character format equivalent of the graphic bar code, designed to be easy to convert to the graphic format. See the documentation on the USPS web page for specifications.

status (F)  [out]

returned status code per the following table:

Value

Description

0

Sucess

-1

Parameter error

-2

Unable to load usps4cb.dll

-3

Unable to locate the USPS4CB() function

-99

Not supported on current platform

>0

invalid trackstr and/or routestr

 

Comments

The file usps4cb.dll is available from the US Postal Service's Intelligent Mail Barcode Resource Download Site and must be saved somewhere in the path or in the A-Shell bin directory.

See the publications on the above web site for details on creating the trackstr and routestr values.

See EXLIB:[908,52] for sample and test programs.

History

2013 January, A-Shell 6.1.1331:  support added for Unix (routine previously was for Windows only)

2011 January, A-Shell 5.1.1201:  added to A-Shell

 

Created with Help+Manual 9 and styled with Premium Pack Version 5 © by EC Software