Set1DBarcodeSubtype

 

 

#include “BlackIceDEVMODE.h”

 

BOOL Set1DBarcodeSubtype (BlackIceDEVMODE* pDevMode, DWORD dwType);

Description

Sets the 1D barcode standard used for barcode generation. For this function to make effect, the linear (1D) barcode type must be selected using the SetBarcodeType function.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure

DWORD dwType                                         - the type of the barcode.

Can be one of the values of the Barcode1DSubtype enumeration:

 

 

enum Barcode1DSubtype

{

            BARCODE_1D_CODABAR = 0,                           // 0

            BARCODE_1D_CODE11,                                     // 1

            BARCODE_1D_CODE128,                                   // 2

            BARCODE_1D_CODE39,                                     // 3

            BARCODE_1D_EAN8,                                           // 4

            BARCODE_1D_EAN13,                                        // 5

            BARCODE_1D_INDUSTRIAL2FROM5,             // 6

            BARCODE_1D_INTERLEAVED2FROM5,         // 7

            BARCODE_1D_MATRIX2FROM5,                      // 8

            BARCODE_1D_PLESSEY,                                   // 9

            BARCODE_1D_UPCA,                                          // 10

            BARCODE_1D_UPCE                                           // 11

};

 

Return value

TRUE on success, FALSE otherwise.