Putting it all together

Build 1501 on 14/Nov/2017  This topic last edited on: 24/Oct/2016, at 14:35

To generate barcodes for one or more publication, one (or more) VB.NET function that create the barcode will have to be written, making use of the Barcode class. These functions (which will be called by menus, toolbars, shortcuts) can implement all the complexity required for the customer. This, is its simplest form:

Dim oBC As Barcode = New Barcode("40mm", "30mm")

if oBC.Generate() Then

  oBC.SrvSaveFile("C:\BACK4\IN\Barcodes")

  oBC.Place("200mm", "350mm", False)

End If

This will position a horizontal barcode, 40x30mm of size, at the coordinates indicated in the first two parameters of the Place function, without a title. If you want the barcode with the ISSN number also on top, change the line to read:

oBC.Place("200mm", "350mm", True)

The script may be as complex as required by the specific installation. It is recommended the Miles 33 installer studies the documentation of the Barcode object.