IDAutomation Postnet Function MAC
IDAutomation Postnet Function MAC
' Visual Basic & VBA Functions for IDAutomation Barcode Fonts 8.0
' © Copyright, 2000-2008 IDAutomation.com, Inc. All rights reserved.
' Redistribution and use of this code in source and/or binary
' forms, with or without modification, are permitted provided
' that: (1) all copies of the source code retain the above
' unmodified copyright notice and this entire unmodified
' section of text, (2) You or Your organization owns a valid
' Developer License to this product from IDAutomation.com
' and, (3) when any portion of this code is bundled in any
' form with an application, a valid notice must be provided
' within the user documentation, start-up screen or in the
' help-about section of the application that specifies
' IDAutomation.com as the provider of the Software bundled
' with the application.
'*****************************************************************
Dim I As Integer
Dim J As Integer
Dim F As Integer
Dim DataToPrint As String
Dim OnlyCorrectData As String
Dim PrintableString As String
Dim WeightedTotal As Long
Dim CheckDigitValue As Integer
Dim Factor As Integer
Dim CheckDigit As Integer
Dim HumanReadableText As String
Dim StringLength As Integer
'The DLL referenced below may be downloaded from
www.idautomation.com/fonts/tools/windows_dll/
'and is only required to create USPS Intelligent Mail symbols. It is not required for other
barcode types.
'The file is free to use and distribute with this module, provided You or Your organization
'owns a valid Developer License for the associated IDAutomation product or Barcode
Font.
Public Declare Function IDAutomation_Universal_OneCode _
Lib "IDAutomationNativeFontEncoder.dll" _
(ByVal D2E As String, _
ByVal out As String, _
ByRef iSize As Long) As Long
'END OF DECLARACTIONS
'*****************************************************************
' © Copyright, IDAutomation.com, Inc. All rights reserved.
' Redistribution and use of this code in source and/or binary
' forms, with or without modification, are permitted provided
' that: (1) all copies of the source code retain the above
' unmodified copyright notice and this entire unmodified
' section of text, (2) You or Your organization owns a valid
' Developer License to this product from IDAutomation.com
' and, (3) when any portion of this code is bundled in any
' form with an application, a valid notice must be provided
' within the user documentation, start-up screen or in the
' help-about section of the application that specifies
' IDAutomation.com as the provider of the Software bundled
' with the application.
'*****************************************************************